/* JJUGGL.ai — Leather-Holographic Retro-Futuristic Design */

/* =============================
   CSS Custom Properties
   ============================= */
@property --holo-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

@property --holo-shimmer {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

:root {
    /* Palette */
    --abyssal-ink: #0D0C07;
    --deep-dark: #1A1209;
    --saddle-amber: #8B5E2A;
    --vellum-cream: #EDE3CC;
    --tallow-gold: #C49A38;
    --prism-teal: #4EDDCC;
    --prism-amber: #FFB347;
    --prism-lavender: #C2A8E8;
    --dark-leather: #3D2010;
    --warm-smoke: #7A6A5A;
    --aqua-dusk: #1A3A3A;
    --off-white: #F5EDD8;
    --coral-orange: #FF6B35;

    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'EB Garamond', Georgia, serif;
    --font-mono: 'DM Mono', 'Courier New', monospace;
    --font-sc: 'Cormorant SC', Georgia, serif;

    /* Spacing */
    --gap: 18px;
    --section-pad: 80px;

    /* Holographic gradient */
    --holo-gradient: conic-gradient(
        from calc(var(--holo-angle) + 0deg),
        #4EDDCC 0%,
        #FFB347 33%,
        #C2A8E8 66%,
        #4EDDCC 100%
    );
}

/* =============================
   Reset & Base
   ============================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: #0D0C07;
    color: #F5EDD8;
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.65;
    font-variant-ligatures: common-ligatures discretionary-ligatures;
    overflow-x: hidden;
}

/* =============================
   Leather Texture Mixin
   ============================= */
.leather-texture {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='leather'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65 0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0.8 0.2 0 0 0.2  0.3 0.15 0 0 0.08  0 0 0 0 0  0 0 0 0.22 0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23leather)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 300px 300px;
}

/* =============================
   Typography
   ============================= */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.1;
}

.logotype-text {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 300;
    letter-spacing: 0.08em;
    color: #EDE3CC;
}

.logotype-solid {
    color: #EDE3CC;
}

.logotype-accent {
    background: var(--holo-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: holoSpin 8s linear infinite;
}

.dm-mono {
    font-family: var(--font-mono);
    font-weight: 400;
}

.cormorant-sc {
    font-family: var(--font-sc);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.card-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7A6A5A;
    margin-bottom: 12px;
}

.card-title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 300;
    color: #F5EDD8;
    margin-bottom: 14px;
}

.card-title em {
    font-style: italic;
    font-weight: 600;
}

.card-title-dark {
    color: #3D2010;
}

.card-body {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #EDE3CC;
    line-height: 1.7;
    margin-bottom: 12px;
}

.card-body-dark {
    color: #7A6A5A;
}

/* =============================
   Holographic Animations
   ============================= */
@keyframes holoSpin {
    from { --holo-angle: 0deg; }
    to { --holo-angle: 360deg; }
}

@keyframes holoShimmer {
    from { --holo-shimmer: 0deg; }
    to { --holo-shimmer: 360deg; }
}

@keyframes rippleExpand {
    0% { transform: scale(0); opacity: 0.6; }
    100% { transform: scale(4); opacity: 0; }
}

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

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

@keyframes orbRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* =============================
   Hero Section
   ============================= */
#hero {
    position: relative;
    min-height: 100vh;
    background-color: #1A1209;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-fish-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-fish-bg .fish-bg-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

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

.hero-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.25rem;
    font-weight: 300;
    color: #7A6A5A;
    letter-spacing: 0.04em;
    margin-top: 12px;
}

.hero-cards-container {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

/* Static tilt for hero cards */
.hero-card {
    width: clamp(240px, 28vw, 340px);
    min-height: 320px;
    border-radius: 4px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-card:nth-child(1) {
    transform: rotate(-3deg) translateY(-8px);
}

.hero-card:nth-child(2) {
    transform: rotate(1.5deg) translateY(4px);
}

.hero-card:nth-child(3) {
    transform: rotate(-1deg) translateY(-2px);
}

/* =============================
   Card Types
   ============================= */

/* Leather Card */
.leather-card {
    background-color: #8B5E2A;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='ln'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65 0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0.8 0.2 0 0 0.2  0.3 0.15 0 0 0.08  0 0 0 0 0  0 0 0 0.22 0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23ln)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 300px 300px;
    box-shadow:
        inset 0 0 0 2px #3D2010,
        inset 0 0 0 1px #C49A38,
        0 8px 32px rgba(0,0,0,0.5);
}

/* Vellum Card */
.vellum-card {
    background-color: #EDE3CC;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='vn'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65 0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0.6 0.2 0 0 0.3  0.4 0.3 0 0 0.2  0.1 0.1 0 0 0.05  0 0 0 0.1 0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23vn)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 300px 300px;
    box-shadow:
        inset 0 0 0 1px rgba(139,94,42,0.3),
        0 8px 32px rgba(0,0,0,0.4);
}

/* Aqua Card */
.aqua-card {
    background-color: #1A3A3A;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='an'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65 0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0.3 0.3 0 0  0 0.4 0.3 0 0.08  0 0.2 0.4 0 0.1  0 0 0 0.12 0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23an)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 300px 300px;
    box-shadow:
        inset 0 0 0 1px rgba(78,221,204,0.2),
        0 8px 32px rgba(0,0,0,0.5);
}

/* Dark Card */
.dark-card {
    background-color: #1A1209;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='dn'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65 0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0.2 0.1 0 0 0.05  0.1 0.15 0 0 0.04  0 0.1 0.1 0 0.02  0 0 0 0.15 0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23dn)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 300px 300px;
    box-shadow:
        inset 0 0 0 1px rgba(196,154,56,0.15),
        0 8px 32px rgba(0,0,0,0.6);
}

/* =============================
   Holographic Card Overlay
   ============================= */
.card-holo-overlay {
    position: absolute;
    inset: 0;
    background: conic-gradient(
        from calc(var(--holo-angle) + 0deg),
        transparent 0%,
        rgba(78, 221, 204, 0.08) 20%,
        rgba(255, 179, 71, 0.06) 40%,
        transparent 60%,
        rgba(194, 168, 232, 0.07) 80%,
        transparent 100%
    );
    mix-blend-mode: overlay;
    pointer-events: none;
    border-radius: inherit;
    animation: holoSpin 8s linear infinite;
}

/* =============================
   Fish Medallion
   ============================= */
.card-fish-medallion {
    position: relative;
    width: 64px;
    height: 64px;
    margin-bottom: 8px;
}

.fish-medallion-svg {
    width: 64px;
    height: 64px;
    mix-blend-mode: luminosity;
}

.fish-medallion-small {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
}

.fish-medallion-small svg {
    width: 36px;
    height: 36px;
    mix-blend-mode: luminosity;
}

/* Ripple rings */
.ripple-container {
    position: absolute;
    inset: -20px;
    pointer-events: none;
}

.ripple-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(78, 221, 204, 0.4);
    transform: scale(0);
    animation: rippleExpand 800ms ease-out forwards;
}

.ripple-ring:nth-child(2) { animation-delay: 80ms; border-color: rgba(255, 179, 71, 0.3); }
.ripple-ring:nth-child(3) { animation-delay: 160ms; border-color: rgba(194, 168, 232, 0.2); }

/* =============================
   Card Content
   ============================= */
.card-content {
    position: relative;
    z-index: 1;
    flex: 1;
}

.card-metric {
    margin-top: 18px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.metric-value {
    font-family: var(--font-mono);
    font-size: 2.4rem;
    color: #F5EDD8;
    line-height: 1;
}

.metric-unit {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: #4EDDCC;
}

.metric-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #7A6A5A;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-left: 8px;
}

.card-divider-holo {
    height: 1px;
    background: linear-gradient(90deg, #4EDDCC, #FFB347, #C2A8E8);
    margin: 18px 0;
    opacity: 0.6;
}

.card-stats {
    display: flex;
    gap: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value {
    font-size: 1.3rem;
    color: #F5EDD8;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: #7A6A5A;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Pull quote */
.pull-quote {
    font-family: var(--font-sc);
    font-size: 1.25rem;
    color: #F5EDD8;
    line-height: 1.5;
    border-left: 3px solid #C49A38;
    padding-left: 18px;
    margin: 16px 0;
    font-style: normal;
    letter-spacing: 0.02em;
}

.testimonial-quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.15rem;
    color: #F5EDD8;
    line-height: 1.55;
    margin-bottom: 18px;
}

.testimonial-attr span {
    font-size: 0.7rem;
    color: #7A6A5A;
    letter-spacing: 0.08em;
}

.feature-list {
    list-style: none;
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #3D2010;
    line-height: 1.4;
}

.feature-icon {
    color: #8B5E2A;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.code-snippet {
    margin-top: 16px;
    background-color: rgba(61, 32, 16, 0.1);
    border: 1px solid rgba(139, 94, 42, 0.3);
    border-radius: 3px;
    padding: 12px 14px;
}

.code-snippet code {
    font-size: 0.82rem;
    color: #8B5E2A;
}

.aquarium-visual {
    margin-bottom: 14px;
    border-radius: 3px;
    overflow: hidden;
}

.aquarium-svg {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 3px;
}

/* Metrics row */
.metrics-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.metric-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.metric-large {
    font-size: 1.8rem;
    color: #F5EDD8;
    line-height: 1;
}

.metric-desc {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: #7A6A5A;
    line-height: 1.3;
}

/* Case study result */
.case-result {
    margin-top: 20px;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.result-stat {
    font-size: 2rem;
    color: #FF6B35;
}

.result-label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #3D2010;
}

/* Aquarium depth layers */
.aquarium-depth {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    overflow: hidden;
}

.depth-layer {
    position: absolute;
    left: 0;
    right: 0;
    border-radius: 50%;
    background: radial-gradient(ellipse, #1A3A3A 0%, transparent 70%);
}

.depth-far {
    bottom: -30%;
    height: 60%;
    opacity: 0.12;
}

.depth-mid {
    bottom: -15%;
    height: 40%;
    opacity: 0.2;
}

.depth-near {
    bottom: 0%;
    height: 20%;
    opacity: 0.3;
}

/* =============================
   Hero Scroll Hint
   ============================= */
.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 3;
}

.hero-scroll-hint span {
    font-size: 0.7rem;
    color: #7A6A5A;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 14px;
    height: 14px;
    border-right: 1px solid #7A6A5A;
    border-bottom: 1px solid #7A6A5A;
    transform: rotate(45deg);
    animation: scrollBounce 2s ease-in-out infinite;
}

/* =============================
   Diagonal Leather Divider
   ============================= */
.leather-divider {
    position: relative;
    height: 80px;
    background-color: #3D2010;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='ld'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65 0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0.5 0.1 0 0 0.1  0.2 0.1 0 0 0.04  0 0 0 0 0  0 0 0 0.2 0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23ld)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 300px 300px;
    clip-path: polygon(0 8%, 100% 0%, 100% 92%, 0% 100%);
    z-index: 1;
}

.leather-divider::before,
.leather-divider::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4EDDCC, #FFB347, #C2A8E8);
}

.leather-divider::before {
    top: 0;
    transform: skewY(-0.8deg);
}

.leather-divider::after {
    bottom: 0;
    transform: skewY(-0.8deg);
}

.leather-divider-light {
    background-color: #8B5E2A;
}

/* =============================
   Section Headers
   ============================= */
.section-header {
    text-align: center;
    padding: 80px 48px 48px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 300;
    color: #F5EDD8;
    margin-bottom: 12px;
}

.section-title em {
    font-weight: 600;
    color: #C49A38;
}

.section-subtitle {
    font-size: 0.75rem;
    color: #7A6A5A;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* =============================
   Masonry Grid
   ============================= */
#content-river,
#evidence {
    background-color: #0D0C07;
    padding-bottom: 80px;
}

.masonry-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 10px;
    gap: var(--gap);
}

/* Masonry card base */
.masonry-card {
    position: relative;
    border-radius: 4px;
    padding: 28px;
    overflow: hidden;
    transition: transform 600ms cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    will-change: transform;
    opacity: 0;
    transform: translateY(24px);
}

.masonry-card.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 500ms ease, transform 500ms ease;
}

.masonry-card.tilt-active {
    transition: transform 200ms linear;
}

/* Wide card spans 2 columns */
.masonry-wide {
    grid-column: span 2;
}

/* =============================
   Access / CTA Section
   ============================= */
#access {
    background-color: #1A1209;
    padding: 80px 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.access-content {
    max-width: 540px;
}

.access-title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    color: #F5EDD8;
    margin-bottom: 20px;
    line-height: 1.1;
}

.access-title em {
    font-weight: 600;
    color: #C49A38;
}

.access-body {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: #7A6A5A;
    line-height: 1.7;
    margin-bottom: 28px;
}

.access-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* Buttons with fin-curve border-radius */
.btn-primary {
    background-color: #8B5E2A;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='btn'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65 0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0.8 0.2 0 0 0.2  0.3 0.15 0 0 0.08  0 0 0 0 0  0 0 0 0.15 0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23btn)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 300px 300px;
    color: #F5EDD8;
    border: none;
    padding: 14px 32px;
    font-family: var(--font-sc);
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    cursor: pointer;
    border-radius: 2px 8px 2px 8px;
    box-shadow:
        inset 0 0 0 1px #C49A38,
        0 4px 16px rgba(0,0,0,0.4);
    transition: transform 600ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 300ms;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: conic-gradient(
        from calc(var(--holo-angle) + 0deg),
        transparent 0%,
        rgba(78, 221, 204, 0.12) 20%,
        transparent 40%
    );
    mix-blend-mode: overlay;
    pointer-events: none;
    animation: holoSpin 8s linear infinite;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 0 0 1px #C49A38,
        0 8px 24px rgba(0,0,0,0.5);
}

.btn-secondary {
    background: transparent;
    color: #7A6A5A;
    border: 1px solid #7A6A5A;
    padding: 14px 32px;
    font-family: var(--font-sc);
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    cursor: pointer;
    border-radius: 2px 8px 2px 8px;
    transition: color 300ms, border-color 300ms, transform 600ms cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-secondary:hover {
    color: #F5EDD8;
    border-color: #F5EDD8;
    transform: translateY(-2px);
}

.access-note {
    font-size: 0.72rem;
    color: #7A6A5A;
    opacity: 0.7;
    letter-spacing: 0.04em;
}

/* Fish Orb */
.access-fish-orb {
    position: relative;
    width: 300px;
    height: 300px;
    flex-shrink: 0;
}

.orb-svg {
    width: 300px;
    height: 300px;
    animation: holoShimmer 12s linear infinite;
    filter: drop-shadow(0 0 30px rgba(78, 221, 204, 0.15));
}

/* =============================
   Footer
   ============================= */
#footer-bay {
    position: relative;
    background-color: #0D0C07;
    padding: 80px 0 0;
    overflow: hidden;
}

.footer-fish-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    pointer-events: none;
}

.fish-footer-svg {
    width: 100%;
    height: 100%;
}

.footer-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px 48px;
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-brand {
    flex: 1;
    min-width: 220px;
}

.footer-logotype {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 2.2rem;
    font-weight: 300;
    color: #EDE3CC;
    display: block;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.footer-dot {
    background: linear-gradient(90deg, #4EDDCC, #C2A8E8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-mission {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 0.95rem;
    color: #7A6A5A;
    max-width: 240px;
    line-height: 1.5;
}

.footer-nav {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.footer-nav-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 130px;
}

.footer-nav-heading {
    font-family: var(--font-sc);
    font-size: 0.78rem;
    color: #C49A38;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.footer-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #7A6A5A;
    text-decoration: none;
    transition: color 200ms;
}

.footer-link:hover {
    color: #F5EDD8;
}

.footer-bottom {
    position: relative;
    border-top: 1px solid rgba(122, 106, 90, 0.2);
    padding: 20px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copy {
    font-size: 0.72rem;
    color: #7A6A5A;
    opacity: 0.5;
    letter-spacing: 0.06em;
}

.footer-holo-line {
    height: 1px;
    width: 120px;
    background: linear-gradient(90deg, transparent, #4EDDCC, #FFB347, #C2A8E8, transparent);
    opacity: 0.4;
}

/* =============================
   Responsive
   ============================= */
@media (max-width: 1024px) {
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 32px;
    }

    .metrics-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-cards-container {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .masonry-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .masonry-wide {
        grid-column: span 1;
    }

    .hero-content {
        padding: 40px 24px;
    }

    .section-header {
        padding: 48px 24px 32px;
    }

    #access {
        padding: 80px 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .metrics-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        padding: 0 24px 40px;
        gap: 40px;
    }

    .footer-bottom {
        padding: 16px 24px;
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-cards-container {
        flex-direction: column;
        align-items: center;
    }

    .hero-card {
        width: 100%;
        transform: none !important;
    }

    .metrics-row {
        grid-template-columns: 1fr;
    }
}
