:root {
    --bg: #070707;
    --bg-elevated: #0d0d0f;
    --surface: rgba(19, 19, 22, 0.78);
    --surface-strong: #151518;
    --surface-soft: rgba(255, 255, 255, 0.045);
    --line: rgba(255, 255, 255, 0.11);
    --line-strong: rgba(255, 255, 255, 0.2);
    --text: #f2f0eb;
    --muted: #aaa7a0;
    --muted-2: #72706b;
    --accent: #d6d0c3;
    --accent-strong: #ffffff;
    --danger: #ff6b6b;
    --success: #7bd88f;
    --radius-lg: 30px;
    --radius-md: 20px;
    --radius-sm: 12px;
    --shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
    --font-display: 'Sora', sans-serif;
    --font-body: 'Manrope', sans-serif;
}

html {
    min-height: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

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

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.12), transparent 24rem),
        radial-gradient(circle at 15% 25%, rgba(150, 150, 150, 0.11), transparent 18rem),
        linear-gradient(135deg, #050505 0%, #0d0d0e 45%, #050505 100%);
    font-family: var(--font-body);
    letter-spacing: -0.015em;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.33;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
}

.ambient-grid {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 76px 76px;
    mask-image: radial-gradient(circle at center, black, transparent 72%);
}

a {
    color: var(--text);
}

a:hover {
    color: var(--accent-strong);
}

::selection {
    color: #050505;
    background: var(--accent);
}

.container {
    position: relative;
    z-index: 1;
}

.site-navbar {
    background: rgba(7, 7, 7, 0.76);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.navbar-toggler {
    border-color: var(--line);
    border-radius: 999px;
    padding: 0.65rem 0.8rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.18rem rgba(255, 255, 255, 0.12);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28242, 240, 235, 0.86%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text) !important;
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.05em;
}

.brand-glyph {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: #0a0a0a;
    background: linear-gradient(135deg, #f7f3ea, #8c897f);
    font-size: 0.82rem;
    letter-spacing: -0.05em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 16px 40px rgba(255, 255, 255, 0.08);
}

.brand-copy {
    font-size: 1rem;
}

.navbar-nav .nav-link {
    color: var(--muted);
    margin-left: 0.5rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--text);
    border-color: var(--line);
    background: var(--surface-soft);
}

.navbar-nav .nav-link-cta {
    color: #080808;
    background: var(--text);
    border-color: var(--text);
}

.navbar-nav .nav-link-cta:hover,
.navbar-nav .nav-link-cta:focus {
    color: #080808;
    background: var(--accent);
}

.hero-section,
.page-hero,
.section-shell,
.contact-shell,
.project-detail-shell {
    position: relative;
    padding: clamp(5rem, 9vw, 9rem) 0;
}

.hero-section {
    min-height: 86vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    right: clamp(-10rem, -8vw, -4rem);
    top: 12%;
    width: clamp(18rem, 32vw, 34rem);
    aspect-ratio: 1;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.26), rgba(255,255,255,0.045) 38%, transparent 70%);
    filter: blur(0.2px);
    opacity: 0.65;
    animation: quietFloat 9s ease-in-out infinite;
}

.hero-orb::after {
    content: '';
    position: absolute;
    inset: 13%;
    border: 1px solid var(--line);
    border-radius: inherit;
}

@keyframes quietFloat {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-16px, 12px, 0); }
}

.eyebrow {
    color: var(--muted);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.display-title,
.page-title,
.section-title,
.footer-title {
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.075em;
    line-height: 0.96;
}

.display-title {
    max-width: 920px;
    margin: 1.3rem 0 1.6rem;
    font-size: clamp(3.3rem, 9vw, 8.7rem);
}

.page-title {
    max-width: 860px;
    font-size: clamp(3rem, 7vw, 6.8rem);
}

.section-title {
    margin-bottom: 1rem;
    font-size: clamp(2.25rem, 4.6vw, 4.8rem);
}

.lead-copy {
    max-width: 680px;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.7vw, 1.35rem);
    line-height: 1.75;
}

.section-copy {
    max-width: 660px;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.8;
}

.lead-copy,
.section-copy,
.card-text,
.project-tech,
.detail-row strong,
.case-list li,
.footer-title {
    overflow-wrap: anywhere;
}

.hero-actions,
.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.btn {
    border-radius: 999px;
    padding: 0.85rem 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary,
.btn-light {
    color: #090909;
    background: linear-gradient(135deg, #ffffff, #b8b4aa);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 18px 46px rgba(255, 255, 255, 0.09);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-light:hover,
.btn-light:focus {
    color: #050505;
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 22px 55px rgba(255, 255, 255, 0.14);
}

.btn-outline-primary,
.btn-outline-secondary,
.btn-secondary,
.btn-quiet {
    color: var(--text);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--line);
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover,
.btn-secondary:hover,
.btn-quiet:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--line-strong);
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    max-width: 840px;
    margin-top: clamp(3rem, 7vw, 6rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--line);
}

.metric-card {
    padding: clamp(1.2rem, 3vw, 2rem);
    background: rgba(11, 11, 12, 0.72);
    backdrop-filter: blur(18px);
}

.metric-value {
    display: block;
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.07em;
}

.metric-label {
    color: var(--muted);
    font-size: 0.86rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 2rem;
    margin-bottom: clamp(2rem, 5vw, 4rem);
}

.glass-panel,
.dark-card,
.project-tile,
.testimonial-card,
.contact-card,
.detail-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
}

.glass-panel {
    padding: clamp(1.5rem, 4vw, 3rem);
}

.dark-card {
    height: 100%;
    padding: 1.45rem;
    transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.dark-card:hover,
.project-tile:hover,
.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.24);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035));
}

.solution-card,
.service-card {
    min-height: 220px;
}

.solution-card .card-icon,
.service-card .card-icon {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.035));
}

.card-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    margin-bottom: 1rem;
}

.card-heading .card-icon {
    flex: 0 0 auto;
    margin-bottom: 0;
}

.card-heading .card-title {
    min-width: 0;
    overflow-wrap: anywhere;
}

.dark-card,
.solution-card,
.service-card {
    max-width: 100%;
}

.card-icon {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    margin-bottom: 1.4rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--text);
    background: rgba(255, 255, 255, 0.045);
}

.card-title,
.project-title {
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.05em;
}

.card-text,
.text-muted,
.form-text {
    color: var(--muted) !important;
}

.badge,
.tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--accent);
    background: rgba(255, 255, 255, 0.045) !important;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.project-tile {
    height: 100%;
    overflow: hidden;
    transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.project-visual {
    position: relative;
    display: grid;
    min-height: 240px;
    place-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.16), transparent 16rem),
        linear-gradient(135deg, #171719, #080809);
}

.project-visual img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    filter: grayscale(0.72) contrast(1.04) brightness(0.78);
    transition: transform 320ms ease, filter 320ms ease;
}

.project-tile:hover .project-visual img {
    transform: scale(1.045);
    filter: grayscale(0.2) contrast(1.05) brightness(0.9);
}

.project-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 240px;
    place-items: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 4rem;
}

.project-body {
    display: flex;
    min-height: 280px;
    flex-direction: column;
    gap: 1rem;
    padding: 1.35rem;
}

.project-tech {
    color: var(--muted-2);
    font-size: 0.87rem;
    line-height: 1.65;
}

.project-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.featured-project-card {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
    box-shadow: var(--shadow);
}

.featured-project-visual {
    position: relative;
    min-height: clamp(320px, 42vw, 560px);
    overflow: hidden;
    background:
        radial-gradient(circle at 25% 20%, rgba(255,255,255,0.17), transparent 18rem),
        linear-gradient(135deg, #171719, #080809);
}

.featured-project-visual img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: contain;
    padding: clamp(1rem, 3vw, 2rem);
    filter: grayscale(0.22) contrast(1.04) brightness(0.86);
}

.featured-project-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.5rem, 4vw, 3.5rem);
}

.featured-project-content > .tag {
    margin-bottom: 1rem;
}

.case-study-shell .container {
    max-width: 1180px;
}

.case-study-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
    margin-bottom: clamp(2rem, 5vw, 4rem);
}

.case-hero-proof {
    max-width: 660px;
    margin-top: 2rem;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
}

.proof-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.proof-pills span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.4rem 0.72rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--accent);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.case-study-summary {
    position: sticky;
    top: 6rem;
}

.case-gallery {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 22% 18%, rgba(255,255,255,0.1), transparent 18rem),
        linear-gradient(135deg, #101012, #050506);
    box-shadow: var(--shadow);
}

.case-gallery .carousel-item {
    background: transparent;
}

.case-gallery-frame {
    position: relative;
    display: grid;
    min-height: clamp(360px, 58vw, 760px);
    place-items: center;
    padding: clamp(1rem, 3vw, 2.5rem);
}

.shot-label {
    position: absolute;
    top: clamp(1rem, 2vw, 1.5rem);
    left: 50%;
    z-index: 3;
    transform: translateX(-50%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(8, 8, 10, 0.78);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    padding: 0.7rem 1rem;
    text-transform: uppercase;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(14px);
}

.case-gallery-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: clamp(330px, 54vw, 720px);
    object-fit: contain;
    filter: contrast(1.03) brightness(0.9);
}

.case-gallery-frame.is-desktop-shot .case-gallery-image {
    width: min(100%, 1100px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background: #0b0b0c;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.case-gallery-frame.is-mobile-shot .case-gallery-image {
    width: auto;
    max-width: min(360px, 82vw);
    max-height: min(720px, 78vh);
    padding: 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 34px;
    background: #09090a;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.52);
}

.case-gallery-frame.is-mobile-shot {
    min-height: clamp(460px, 70vh, 720px);
}

.case-gallery .carousel-control-prev,
.case-gallery .carousel-control-next {
    width: clamp(3.75rem, 8vw, 6rem);
    opacity: 1;
}

.case-gallery .carousel-control-prev {
    left: clamp(0.75rem, 2vw, 1.5rem);
}

.case-gallery .carousel-control-next {
    right: clamp(0.75rem, 2vw, 1.5rem);
}

.case-gallery .carousel-control-prev-icon,
.case-gallery .carousel-control-next-icon {
    width: 3.25rem;
    height: 3.25rem;
    border: 2px solid rgba(255, 255, 255, 0.95);
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.96);
    background-image: none;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.58), 0 0 0 8px rgba(255, 255, 255, 0.1);
    filter: none;
    position: relative;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.case-gallery .carousel-control-prev-icon::before,
.case-gallery .carousel-control-next-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.82rem;
    height: 0.82rem;
    border-top: 4px solid #050506;
    border-right: 4px solid #050506;
}

.case-gallery .carousel-control-prev-icon::before {
    transform: translate(-38%, -50%) rotate(-135deg);
}

.case-gallery .carousel-control-next-icon::before {
    transform: translate(-62%, -50%) rotate(45deg);
}

.case-gallery .carousel-control-prev:hover .carousel-control-prev-icon,
.case-gallery .carousel-control-next:hover .carousel-control-next-icon {
    background-color: #fff;
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.65), 0 0 0 10px rgba(255, 255, 255, 0.16);
    transform: scale(1.08);
}

.case-list {
    display: grid;
    gap: 0.8rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.case-list li {
    position: relative;
    padding-left: 1.55rem;
    color: var(--muted);
    line-height: 1.65;
}

.case-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 999px;
    background: var(--accent);
}

.case-list-accent li {
    color: var(--text);
}

.case-story-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.case-story-card {
    height: 100%;
}

.case-story-card-wide {
    grid-column: 1 / -1;
}

.compact-header {
    margin-bottom: 1.5rem;
}

.case-results-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.result-card {
    min-height: 225px;
}

.case-cta {
    padding: clamp(2rem, 6vw, 4rem);
}

.testimonial-card {
    height: 100%;
    padding: 1.45rem;
    transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.stars {
    color: #ded8cb;
    font-size: 0.9rem;
    letter-spacing: 0.18rem;
}

.quote-mark {
    color: rgba(255, 255, 255, 0.16);
    font-family: Georgia, serif;
    font-size: 4rem;
    line-height: 1;
}

.cta-band {
    margin: clamp(2rem, 5vw, 4rem) 0;
    padding: clamp(2rem, 6vw, 5rem);
    overflow: hidden;
}

.contact-card {
    padding: clamp(1.4rem, 4vw, 3rem);
}

.form-label {
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.form-control {
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.045);
    padding: 0.95rem 1rem;
}

.form-control:focus {
    color: var(--text);
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.065);
    box-shadow: 0 0 0 0.22rem rgba(255, 255, 255, 0.08);
}

.form-control::placeholder {
    color: var(--muted-2);
}

textarea.form-control {
    resize: vertical;
}

.text-danger {
    color: var(--danger) !important;
}

.alert {
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
}

.alert-success {
    color: var(--success);
    background: rgba(123, 216, 143, 0.09);
}

.alert-danger {
    color: var(--danger);
    background: rgba(255, 107, 107, 0.09);
}

.info-list {
    display: grid;
    gap: 1rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.035);
}

.info-item i {
    color: var(--accent);
    margin-top: 0.2rem;
}

.contact-direct {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.detail-image {
    width: 100%;
    max-height: 560px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    object-fit: cover;
    filter: grayscale(0.45) contrast(1.05) brightness(0.85);
    box-shadow: var(--shadow);
}

.detail-placeholder {
    display: grid;
    min-height: 480px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    color: rgba(255, 255, 255, 0.17);
    background:
        radial-gradient(circle at 18% 18%, rgba(255,255,255,0.15), transparent 16rem),
        linear-gradient(135deg, #171719, #080809);
    font-size: 5rem;
    box-shadow: var(--shadow);
}

.detail-card {
    padding: 1.35rem;
}

.detail-row {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
}

.detail-row:last-child {
    border-bottom: 0;
}

.detail-label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--muted-2);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-footer {
    padding: clamp(3rem, 6vw, 5rem) 0 2rem;
    border-top: 1px solid var(--line);
}

.footer-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
}

.footer-title {
    max-width: 660px;
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 3rem);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1.5rem;
    color: var(--muted-2);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 0.65rem;
}

.social-icon {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.035);
    text-decoration: none;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.social-icon:hover {
    color: var(--text);
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.reveal {
    animation: revealUp 720ms cubic-bezier(.2,.9,.2,1) both;
}

.delay-1 { animation-delay: 80ms; }
.delay-2 { animation-delay: 160ms; }
.delay-3 { animation-delay: 240ms; }
.delay-4 { animation-delay: 320ms; }

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        border: 1px solid var(--line);
        border-radius: var(--radius-md);
        background: rgba(10, 10, 11, 0.96);
    }

    .navbar-nav .nav-link {
        margin-left: 0;
    }

    .section-header,
    .footer-panel,
    .footer-bottom {
        align-items: start;
        flex-direction: column;
    }

    .featured-project-card,
    .case-study-hero {
        grid-template-columns: 1fr;
    }

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

    .case-study-summary {
        position: static;
    }

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

    .featured-project-visual {
        min-height: clamp(260px, 58vw, 420px);
    }
}

@media (max-width: 767.98px) {
    .brand-copy {
        display: none;
    }

    .hero-section {
        min-height: auto;
        padding-top: 4.5rem;
    }

    .hero-section,
    .page-hero,
    .section-shell,
    .contact-shell,
    .project-detail-shell {
        padding-block: clamp(3.25rem, 12vw, 5rem);
    }

    .display-title {
        font-size: clamp(2.55rem, 13vw, 4rem);
        letter-spacing: -0.065em;
    }

    .page-title {
        font-size: clamp(2.35rem, 12vw, 3.6rem);
        letter-spacing: -0.065em;
    }

    .section-title {
        font-size: clamp(2rem, 9vw, 3rem);
        letter-spacing: -0.06em;
    }

    .lead-copy,
    .section-copy {
        font-size: 1rem;
        line-height: 1.7;
    }

    .section-header {
        margin-bottom: 1.75rem;
    }

    .case-story-grid,
    .case-results-grid {
        grid-template-columns: 1fr;
    }

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

    .project-body {
        min-height: auto;
    }

    .project-actions,
    .hero-actions,
    .action-row {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .case-gallery-frame {
        min-height: 300px;
        padding: 3.25rem 0.75rem 5rem;
    }

    .shot-label {
        top: 0.8rem;
        font-size: 0.68rem;
        padding: 0.58rem 0.8rem;
    }

    .case-gallery-frame.is-mobile-shot {
        min-height: clamp(430px, 72vh, 580px);
    }

    .case-gallery-frame.is-mobile-shot .case-gallery-image {
        max-width: min(300px, 84vw);
        max-height: 68vh;
        border-radius: 26px;
    }

    .case-gallery-frame.is-desktop-shot .case-gallery-image {
        border-radius: 12px;
    }

    .case-gallery .carousel-control-prev,
    .case-gallery .carousel-control-next {
        top: auto;
        bottom: 1rem;
        width: 3.5rem;
        height: 3.5rem;
    }

    .case-gallery .carousel-control-prev {
        left: calc(50% - 4rem);
    }

    .case-gallery .carousel-control-next {
        right: calc(50% - 4rem);
    }

    .case-gallery .carousel-control-prev-icon,
    .case-gallery .carousel-control-next-icon {
        width: 2.65rem;
        height: 2.65rem;
    }
}

@media (max-width: 420px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .brand-glyph {
        width: 40px;
        height: 40px;
    }

    .glass-panel,
    .dark-card,
    .contact-card,
    .detail-card {
        border-radius: 22px;
    }

    .featured-project-content {
        padding: 1.25rem;
    }

    .solution-card,
    .service-card {
        min-height: auto;
        padding: 1.15rem;
    }

    .card-heading {
        align-items: flex-start;
        gap: 0.85rem;
        margin-bottom: 0.85rem;
    }

    .card-heading .card-icon {
        width: 44px;
        height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
