:root {
    --primary: hsl(220, 100%, 15%);
    --primary-glow: hsl(220, 100%, 40%);
    --accent: hsl(45, 100%, 50%);
    /* Gold */
    --accent-silver: hsl(0, 0%, 90%);
    --bg: #030303;
    --surface: #0a0a0a;
    --text: #ffffff;
    --text-muted: #a0a0a0;
    --glass: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --shadow-soft: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
    --content-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.glass-bg {
    background: radial-gradient(circle at top left, var(--glass), transparent),
        linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}

.glow-text {
    text-shadow: 0 0 15px var(--primary-glow);
}

.text-shadow {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    background-image:
        radial-gradient(circle at top, rgba(0, 35, 102, 0.16), transparent 34%),
        radial-gradient(circle at bottom right, rgba(255, 191, 0, 0.06), transparent 28%);
    color: var(--text);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

body.gallery-open {
    overflow: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 30%);
    pointer-events: none;
    z-index: 0;
}

#app {
    position: relative;
    z-index: 1;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section[id] {
    scroll-margin-top: 6.5rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 3rem);
}

.logo img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 35, 102, 0.3));
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: clamp(1rem, 2.5vw, 2.5rem);
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.6;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover {
    opacity: 1;
    color: #fff;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active,
.nav-links a[aria-current="page"] {
    opacity: 1;
    color: #fff;
}

.nav-links a.active::after,
.nav-links a[aria-current="page"]::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
}



@media (max-width: 1024px) {
    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    body.menu-open {
        overflow: hidden;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        inset: 0;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        gap: 2rem;
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 1.5rem;
        letter-spacing: 0.2em;
    }

    .nav-container {
        padding: 0 1.5rem;
    }
}

/* Hero Section */
.hero {
    min-height: 100svh;
    padding-top: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    transform: scale(1.1);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
    display: grid;
    justify-items: center;
    gap: 1rem;
}

.section-header {
    display: grid;
    gap: 0.75rem;
    margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.section-header .section-title,
.section-header .section-description {
    margin-bottom: 0;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 7.5rem);
    font-weight: 800;
    line-height: 0.9;
    margin-bottom: 2rem;
    color: #fff;
    text-shadow:
        -1px -1px 0 rgba(0, 0, 0, 0.5),
        1px -1px 0 rgba(0, 0, 0, 0.5),
        -1px 1px 0 rgba(0, 0, 0, 0.5),
        1px 1px 0 rgba(0, 0, 0, 0.5),
        -1px 0 0 rgba(0, 0, 0, 0.5),
        1px 0 0 rgba(0, 0, 0, 0.5),
        0 -1px 0 rgba(0, 0, 0, 0.5),
        0 1px 0 rgba(0, 0, 0, 0.5),
        0 10px 30px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #fff;
    margin-bottom: 3rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 500;
    text-shadow:
        -1px -1px 0 rgba(0, 0, 0, 0.3),
        1px -1px 0 rgba(0, 0, 0, 0.3),
        -1px 1px 0 rgba(0, 0, 0, 0.3),
        1px 1px 0 rgba(0, 0, 0, 0.3),
        0 4px 15px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
}

.hero-kicker {
    color: var(--accent);
    margin-bottom: 0;
}

.hero-copy {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.86);
    text-shadow: var(--content-shadow);
    margin-bottom: 0;
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 400;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.25rem 3rem;
    border-radius: 100px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.85rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-glow));
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 35, 102, 0.4);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 35, 102, 0.6);
}

.btn-outline {
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: var(--bg);
    transform: translateY(-3px);
}

/* Section Common */
.section {
    padding: clamp(6.5rem, 9vw, 9.5rem) 0;
}

.section-subtitle {
    display: block;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 3rem;
    text-wrap: balance;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-grid.reverse {
    direction: rtl;
}

.about-grid.reverse>* {
    direction: ltr;
}

.lead {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 2rem;
    color: #fff;
}

.about-content p:not(.lead) {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.glass {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Header Alignment classes */
.align-center {
    text-align: center;
}

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

/* Brothers Grid */
.brothers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 260px));
    justify-content: center;
    gap: 2rem;
    max-width: 1260px;
    margin: 0 auto;
}

.brother-card {
    border-radius: 24px;
    overflow: hidden;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Transition only specific non-GSAP properties to avoid conflicts */
    transition: background 0.5s cubic-bezier(0.25, 1, 0.5, 1),
        border-color 0.5s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.brother-card:hover {
    transform: translateY(-12px) scale(1.02);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
}

.brother-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
    position: relative;
}

.brother-image::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.brother-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* transition: var(--transition); -- Handled by GSAP or specific transition */
    transition: filter 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.brother-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.brother-info p {
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-header .section-description {
    margin-bottom: 0;
}

.gallery-header .section-title {
    margin-bottom: 0;
}

.gallery-header {
    display: grid;
    gap: 0.75rem;
    margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.section-gallery {
    background:
        radial-gradient(circle at top left, rgba(0, 35, 102, 0.08), transparent 28%),
        radial-gradient(circle at bottom right, rgba(255, 191, 0, 0.04), transparent 24%);
}

.section-gallery .container,
.section-resources .container {
    max-width: min(1600px, calc(100vw - 4rem));
}

.section-lineage .container {
    max-width: min(1500px, calc(100vw - 4rem));
}

.lineage-header {
    display: grid;
    gap: 0.9rem;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.lineage-header .section-description {
    margin: 0 auto;
    max-width: 52rem;
}

.lineage-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.lineage-layout {
    padding: clamp(0.85rem, 1.4vw, 1.25rem);
    border-radius: 32px;
}

.lineage-viewer {
    width: 100%;
    height: clamp(42rem, 82vh, 72rem);
    border-radius: 24px;
    overflow: hidden;
    background: #0b0b0b;
    border: 1px solid var(--glass-border);
    box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.75);
}

.lineage-viewer iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}

.gallery-editorial {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(1rem, 1vw, 1.35rem);
    margin-top: 0;
}

.gallery-card {
    position: relative;
    border: 0;
    padding: 0;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    min-height: 100%;
    text-align: left;
    color: inherit;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.gallery-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 40%);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 1;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1), filter 0.55s cubic-bezier(0.25, 1, 0.5, 1);
    filter: saturate(0.92) contrast(1.05) brightness(0.92);
}

.gallery-card:hover,
.gallery-card:focus-visible {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px -24px rgba(0, 0, 0, 0.75);
}

.gallery-card:hover::before,
.gallery-card:focus-visible::before {
    opacity: 1;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
    transform: scale(1.08);
    filter: saturate(1) contrast(1.08) brightness(0.98);
}

.gallery-card__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.16) 70%, transparent);
}

.gallery-card__content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    line-height: 1.1;
    margin-bottom: 0.4rem;
}

.gallery-card__content p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 26rem;
    font-size: 0.95rem;
}

.gallery-kicker {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--accent);
}

.gallery-card--hero {
    grid-column: 1 / span 7;
    grid-row: span 2;
    aspect-ratio: 5 / 6;
}

.gallery-card--portrait {
    grid-column: 8 / span 5;
    grid-row: 1;
    aspect-ratio: 5 / 4;
}

.gallery-card--stack-a {
    grid-column: 8 / span 2;
    grid-row: 2;
    aspect-ratio: 1 / 1.2;
}

.gallery-card--stack-b {
    grid-column: 10 / span 3;
    grid-row: 2;
    aspect-ratio: 1 / 1.2;
}

.gallery-card--wide {
    grid-column: 1 / span 7;
    aspect-ratio: 16 / 10;
}

.gallery-card--tall {
    grid-column: 8 / span 5;
    aspect-ratio: 4 / 5;
}

.gallery-card--wide,
.gallery-card--tall {
    min-height: 320px;
}

.gallery-card .gallery-kicker,
.gallery-card__content h3,
.gallery-card__content p {
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.gallery-lightbox[hidden] {
    display: none;
}

.gallery-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(10px);
}

.gallery-lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(1080px, 100%);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
}

.gallery-lightbox__figure {
    margin: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
}

.gallery-lightbox__image {
    width: 100%;
    max-height: 78vh;
    object-fit: cover;
    display: block;
}

.gallery-lightbox__caption {
    padding: 1.5rem 1.75rem 1.75rem;
}

.gallery-lightbox__caption h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.gallery-lightbox__caption p {
    color: var(--text-muted);
    max-width: 54rem;
}

.gallery-lightbox__nav,
.gallery-lightbox__close {
    appearance: none;
    border: 1px solid var(--glass-border);
    background: rgba(10, 10, 10, 0.7);
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-lightbox__nav {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
}

.gallery-lightbox__nav:hover,
.gallery-lightbox__close:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.gallery-lightbox__close {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
}

.gallery-lightbox__close span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1rem;
    height: 2px;
    background: currentColor;
    transform-origin: center;
}

.gallery-lightbox__close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.gallery-lightbox__close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    /* Transition only specific non-GSAP properties to avoid conflicts */
    transition: border-color 0.5s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    filter: grayscale(20%) brightness(0.9);
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0%) brightness(1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 2.5rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: var(--accent);
}

/* Resources */
.resources-card {
    padding: clamp(2.5rem, 4vw, 5rem);
    border-radius: 32px;
    text-align: center;
}

.resources-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.resource-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.resource-links .btn {
    min-width: min(22rem, 100%);
}

/* Footer Refinement */
.footer-social .social-icons {
    display: flex;
    gap: 1rem;
}

.footer {
    background: var(--surface);
    padding: 6rem 0 3rem;
    border-top: 1px solid var(--glass-border);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: start;
}

.footer-brand img {
    height: 40px;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 300px;
}

.footer-links h4,
.footer-social h4 {
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Contact Section */
.section-contact {
    background: radial-gradient(circle at bottom right, rgba(0, 35, 102, 0.05), transparent);
}

.section-description {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 4rem;
    font-size: 1.1rem;
}

.contact-grid {
    max-width: 800px;
    margin: 0 auto;
}

.contact-panel {
    padding: 3rem;
    border-radius: 32px;
    display: grid;
    gap: 2rem;
}

.contact-copy {
    display: grid;
    gap: 1rem;
    max-width: 38rem;
}

.contact-copy h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
}

.contact-form {
    display: grid;
    gap: 2rem;
}

.contact-panel .contact-form {
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    backdrop-filter: none;
}

.form-group {
    display: grid;
    gap: 0.8rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    opacity: 0.8;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.2rem;
    color: var(--text);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 35, 102, 0.2);
}

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
}

.contact-status {
    min-height: 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Social Icons Refinement */
.social-icons a {
    color: var(--text-muted);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
}

.social-icons a:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 191, 0, 0.2);
}

.social-icons svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .contact-panel {
        padding: 2rem;
    }

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

    .gallery-card--hero,
    .gallery-card--portrait,
    .gallery-card--stack-a,
    .gallery-card--stack-b,
    .gallery-card--wide,
    .gallery-card--tall {
        grid-column: auto;
        grid-row: auto;
    }

    .gallery-card--hero {
        grid-column: 1 / -1;
        aspect-ratio: 4 / 5;
    }

    .gallery-card--portrait {
        grid-column: 1 / span 3;
        aspect-ratio: 4 / 5;
    }

    .gallery-card--stack-a {
        grid-column: 4 / span 3;
        aspect-ratio: 1 / 1.05;
    }

    .gallery-card--stack-b {
        grid-column: 1 / span 3;
        aspect-ratio: 1 / 1.05;
    }

    .gallery-card--wide {
        grid-column: 4 / span 3;
        aspect-ratio: 4 / 5;
    }

    .gallery-card--tall {
        grid-column: 1 / -1;
        aspect-ratio: 16 / 10;
    }

    .lineage-viewer {
        height: 68vh;
    }

    .footer-grid {
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 2rem;
    }

    .brothers-grid {
        grid-template-columns: 1fr;
        max-width: 28rem;
        gap: 1.25rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .hero {
        padding-top: 5rem;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .section {
        padding: 5.75rem 0;
    }

    .lineage-actions .btn {
        width: 100%;
        text-align: center;
    }

    .lineage-layout {
        padding: 0.75rem;
        border-radius: 26px;
    }

    .lineage-viewer {
        height: 70vh;
        border-radius: 20px;
    }

    .contact-panel {
        padding: 1.5rem;
    }

    .shop-hero {
        padding: 8.5rem 0 3.5rem;
    }

    .shop-note {
        margin-top: 1rem;
    }

    .coming-soon-card {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        margin-bottom: 6rem;
    }

    .gallery-editorial {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2.5rem;
    }

    .gallery-card--hero,
    .gallery-card--portrait,
    .gallery-card--stack-a,
    .gallery-card--stack-b,
    .gallery-card--wide,
    .gallery-card--tall {
        grid-column: auto;
        aspect-ratio: 4 / 5;
    }

    .gallery-card__content {
        padding: 1.25rem;
    }

    .gallery-lightbox {
        padding: 1rem;
    }

    .gallery-lightbox__dialog {
        grid-template-columns: 1fr;
    }

    .gallery-lightbox__nav {
        display: none;
    }

    .gallery-lightbox__close {
        top: 0.5rem;
        right: 0.5rem;
    }

    .filter-container {
        margin-bottom: 0.75rem;
    }

    .filter-btn {
        width: 100%;
        max-width: 22rem;
    }

    .filter-status {
        margin-bottom: 2rem;
    }

    .resource-links {
        gap: 1rem;
    }

    .resource-links .btn {
        width: 100%;
    }

    .product-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .catalog-chip {
        width: 100%;
    }
}

/* Shop Specific Styles */
.shop-hero {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(9rem, 14vw, 12rem) 0 clamp(3rem, 5vw, 5rem);
    text-align: center;
    background: radial-gradient(circle at top, rgba(0, 35, 102, 0.15), transparent);
}

.shop-hero .section-title {
    margin-bottom: 1rem;
}

.shop-hero .section-description {
    margin-bottom: 0;
}

.shop-hero .hero-actions {
    margin-top: 2rem;
}

.shop-note {
    margin: 1.25rem auto 0;
    max-width: 42rem;
    color: var(--text-muted);
    font-size: 0.98rem;
}

.coming-soon-card {
    padding: 3rem;
    border-radius: 32px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 8rem;
}

.coming-soon-copy .section-title {
    margin-bottom: 1.5rem;
}

.coming-soon-list {
    list-style: none;
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.coming-soon-list li {
    padding: 1rem 1.25rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: #fff;
    font-weight: 600;
}

.coming-soon-list li::before {
    content: '';
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    margin-right: 0.75rem;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(255, 191, 0, 0.12);
    vertical-align: middle;
}

.filter-container {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.filter-status {
    text-align: center;
    color: var(--text-muted);
    margin: 0 auto 2.75rem;
    max-width: 40rem;
}

.filter-btn {
    padding: 0.8rem 2rem;
    min-height: 3rem;
    border-radius: 100px;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 35, 102, 0.3);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: clamp(1.25rem, 2vw, 2rem);
    margin-bottom: clamp(5rem, 8vw, 8rem);
}

.product-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    /* Transition only specific non-GSAP properties to avoid conflicts */
    transition: background 0.5s cubic-bezier(0.25, 1, 0.5, 1),
        border-color 0.5s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    display: grid;
    align-content: start;
}

.product-card.is-hidden {
    display: none;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: var(--shadow-soft);
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #111;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--accent);
    color: var(--bg);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 2;
}

.product-info {
    padding: 1.75rem;
    display: grid;
    gap: 0.9rem;
}

.product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary-glow);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #fff;
    line-height: 1.15;
    text-wrap: balance;
}

.product-note {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.product-price {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text);
}

.catalog-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    white-space: nowrap;
}

@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;
    }

    .hero-bg img,
    .hero-content,
    .brother-card,
    .gallery-item img,
    .product-card,
    .gallery-card,
    .gallery-lightbox__dialog {
        transform: none !important;
    }
}
