:root {
            --teal: #00A896;
            --teal-dark: #088F7F;
            --teal-light: #E6F7F5;
            --warm-beige: #B7A095;
            --burnt-orange: #DD6F3E;
            --burnt-orange-dark: #C45E32;
            --deep-brown: #3D2321;
            --charcoal: #2C1A18;
            --copper-tan: #C37F58;
            --soft-sand: #F3E9D2;
            --sand-50: #FDFAF4;
            --sand-100: #FAF6EE;
            --sand-200: #F3E9D2;
            --sand-300: #E8D5BC;
            --white: #FFFFFF;
            --space-xs: 0.5rem;
            --space-sm: 1rem;
            --space-md: 2rem;
            --space-lg: 4rem;
            --space-xl: 6rem;
            --space-2xl: 10rem;
            --shadow-sm: 0 1px 3px rgba(61,35,33,0.04), 0 1px 2px rgba(61,35,33,0.06);
            --shadow-md: 0 4px 6px rgba(61,35,33,0.04), 0 10px 15px rgba(61,35,33,0.06);
            --shadow-lg: 0 10px 25px rgba(61,35,33,0.06), 0 20px 48px rgba(61,35,33,0.08);
            --shadow-xl: 0 25px 50px rgba(61,35,33,0.1), 0 12px 24px rgba(61,35,33,0.06);
            --ease-out-expo: ease;
            --ease-in-out-quint: ease-in-out;
            --ease-spring: ease;
            --radius-sm: 4px;
            --radius-md: 8px;
            --radius-lg: 16px;
            --radius-xl: 24px;
        }

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

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

::selection { background: rgba(0, 168, 150, 0.15); color: var(--deep-brown); }

body {
            font-family: 'Montserrat', 'Lato', sans-serif;
            color: var(--deep-brown);
            font-size: 16px;
            line-height: 1.7;
            letter-spacing: -0.011em;
            background-color: var(--white);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            text-rendering: optimizeLegibility;
            overflow-x: hidden;
        }

h1, h2, h3, .serif {
            font-family: 'Playfair Display', serif;
            font-weight: 700;
            color: var(--deep-brown);
            text-rendering: geometricPrecision;
            letter-spacing: -0.025em;
        }

.reveal {
            opacity: 0;
            transform: translateY(32px);
            transition: opacity 0.3s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
        }

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }

.reveal-delay-2 { transition-delay: 0.2s; }

.reveal-delay-3 { transition-delay: 0.3s; }

.wave-base { stroke: rgba(255,255,255,0.2); stroke-width: 2.5; fill: none; }

.wave-fill {
            stroke: var(--soft-sand); stroke-width: 2.5; fill: none;
            stroke-dasharray: 800; stroke-dashoffset: 800;
            animation: waveReveal 2.8s 0.3s ease forwards;
            filter: drop-shadow(0 0 6px rgba(243,233,210,0.3));
        }

.dusty-bg, .section-light, .section-mission, .section-news, .section-updates, .split-panel {
            background-image: radial-gradient(circle at 20% 30%, rgba(221,111,62,0.03) 0%, transparent 40%),
                              radial-gradient(circle at 80% 70%, rgba(0,168,150,0.02) 0%, transparent 40%);
            background-color: var(--sand-50);
        }

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

.section { padding: 100px 0; }

.section-light { background: var(--white); }

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

.mb-50 { margin-bottom: 50px; }

.section-mission { padding: 44px 0 28px; }

.mission-layout { display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: center; }

.mission-accent { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 6px; }

.mission-accent-line { width: 2px; height: 56px; background: linear-gradient(180deg, var(--burnt-orange) 0%, var(--copper-tan) 100%); border-radius: 2px; }

.mission-accent-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--burnt-orange); }

.mission-content { max-width: 720px; }

.mission-label { display: inline-block; font-family: 'Lato', sans-serif; font-size: 0.68rem; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--burnt-orange); margin-bottom: 12px; }

.mission-heading { font-size: clamp(1.85rem, 3.6vw, 2.75rem); letter-spacing: -0.03em; line-height: 1.12; color: var(--deep-brown); margin-bottom: 14px; }

.mission-heading em { font-style: normal; color: var(--burnt-orange); }

.mission-body { font-size: 1.02rem; line-height: 1.85; color: #5a4a42; margin-bottom: 18px; }

.mission-stats { display: flex; gap: 32px; padding-top: 18px; border-top: 1px solid var(--sand-300); }

.mission-stat-num { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: var(--deep-brown); line-height: 1; }

.mission-stat-label { font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase; color: var(--copper-tan); margin-top: 4px; }

.mission-img-wrap { position: relative; width: 276px; height: 276px; flex-shrink: 0; }

.mission-img-wrap::before {
            content: ''; position: absolute; inset: -8px; border-radius: 50%;
            border: 2px dashed var(--sand-300); animation: missionSpin 30s linear infinite;
        }

.mission-img-wrap::after {
            content: ''; position: absolute; bottom: -12px; left: 50%; transform: translateX(-50%);
            width: 70%; height: 24px;
            background: radial-gradient(ellipse, rgba(61,35,33,0.15) 0%, transparent 70%); border-radius: 50%;
        }

.mission-img {
            width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
            box-shadow: 0 18px 40px rgba(61,35,33,0.12), 0 6px 12px rgba(61,35,33,0.08);
            border: 4px solid var(--white); position: relative; z-index: 1;
        }

@keyframes missionSpin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .mission-layout { grid-template-columns: auto 1fr; gap: 26px; }

  .mission-img-wrap { grid-column: 1 / -1; justify-self: center; width: 228px; height: 228px; }
}

@media (max-width: 640px) {
  .mission-layout { grid-template-columns: 1fr; gap: 24px; }

  .mission-accent { flex-direction: row; padding-top: 0; }

  .mission-accent-line { width: 56px; height: 2px; }

  .mission-stats { gap: 18px; flex-wrap: wrap; padding-top: 16px; }

  .mission-img-wrap { width: 204px; height: 204px; }
}

.card {
            background: var(--white); border-radius: var(--radius-md); overflow: hidden;
            box-shadow: var(--shadow-md);
            transition: transform 0.3s var(--ease-out-expo), box-shadow 0.7s var(--ease-out-expo);
        }

.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.card-img { height: 250px; background-size: cover; background-position: center; }

.card-body { padding: 32px; }

.card-body h3 { margin-bottom: 16px; font-size: 1.5rem; color: var(--deep-brown); letter-spacing: -0.01em; }

.card-body p { font-size: 0.95rem; color: #666; margin-bottom: 25px; line-height: 1.75; }

.news-card {
            display: flex; flex-wrap: wrap; background: #fff; overflow: hidden; position: relative;
            box-shadow: var(--shadow-lg); max-width: 1100px; margin: 0 auto;
            border-radius: var(--radius-md); transition: box-shadow 0.3s var(--ease-out-expo);
        }

.news-card:hover { box-shadow: var(--shadow-xl); }

.news-card-body {
            flex: 1; min-width: 260px; background: var(--teal); padding: 54px 48px;
            display: flex; flex-direction: column; justify-content: center;
            position: relative; overflow: hidden;
        }

.news-card-body::before {
            content: ''; position: absolute; top: -50%; right: -30%;
            width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,0.04);
        }

.news-card-body h3 { font-family: 'Playfair Display', serif; font-size: 1.65rem; color: #fff; margin-bottom: 16px; letter-spacing: -0.01em; line-height: 1.35; }

.news-card-body p { font-size: 15px; line-height: 1.85; color: rgba(255,255,255,0.88); }

.news-card-body a {
            display: inline-block; margin-top: 22px; font-size: 11px; font-weight: 700;
            color: #fff; text-transform: uppercase; letter-spacing: 2.5px; text-decoration: none;
            border-bottom: 1px solid rgba(255,255,255,0.4); padding-bottom: 3px;
            transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease var(--ease-out-expo);
        }

.news-card-body a:hover { border-bottom-color: var(--burnt-orange); color: var(--soft-sand); padding-bottom: 5px; }

.news-card-img {
            flex: 1; min-width: 280px; min-height: 380px;
            background: url('https://i.postimg.cc/Qtcsn003/IMG-0880.jpg') center/cover no-repeat;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            transition: background-image 0.3s ease;
        }

.section-why {
            background: url('https://i.postimg.cc/tJyy0WMJ/IMG-1466.jpg') center/cover fixed;
            position: relative; padding: 120px 5%; text-align: center; color: #fff;
        }

.section-why::before {
            content: ''; position: absolute; inset: 0;
            background: linear-gradient(180deg, rgba(44,26,24,0.75) 0%, rgba(61,35,33,0.85) 100%);
        }

.section-why > * { position: relative; z-index: 2; }

.section-why h2 { font-family: 'Playfair Display', serif; font-size: 2.8rem; color: var(--soft-sand); letter-spacing: -0.02em; }

.section-why p { max-width: 680px; margin: 24px auto 36px; color: rgba(243,233,210,0.85); line-height: 1.85; font-size: 1.05rem; }

.btn-outline-sand {
            border: 1.5px solid var(--soft-sand); color: var(--soft-sand); background: transparent;
            padding: 14px 40px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
            text-decoration: none; display: inline-block; font-size: 0.8rem;
            transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease var(--ease-out-expo);
        }

.btn-outline-sand:hover { background: var(--soft-sand); color: var(--deep-brown); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(243,233,210,0.2); }

.section-archives {
            background:
                radial-gradient(ellipse 90% 60% at 10% 100%, rgba(0,168,150,0.10) 0%, transparent 55%),
                radial-gradient(ellipse 85% 65% at 90% 0%, rgba(221,111,62,0.14) 0%, transparent 52%),
                linear-gradient(170deg, #0E0B08 0%, #1a0f0c 55%, #0f1410 100%);
            padding: 100px 5%; position: relative; overflow: hidden;
        }

.section-archives::after{
            content:'';
            position:absolute;
            inset:0;
            pointer-events:none;
            background:
                linear-gradient(135deg,
                    rgba(0,168,150,0.14) 0%,
                    rgba(0,168,150,0.08) 36%,
                    rgba(221,111,62,0.16) 36%,
                    rgba(221,111,62,0.08) 100%);
            clip-path: polygon(58% 0, 100% 0, 100% 100%, 42% 100%);
            opacity: .55;
            z-index: 0;
        }

.section-archives::before {
            content: ''; position: absolute; inset: 0; pointer-events: none;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
            background-size: 200px; opacity: 0.04; mix-blend-mode: overlay;
        }

.archives-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 7rem); align-items: center; position: relative; z-index: 1; }

.archives-eyebrow { font-size: 0.62rem; letter-spacing: 5px; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }

.archives-eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--teal); }

.archives-title { font-family: 'Playfair Display', serif; font-size: clamp(2.4rem, 4.5vw, 3.8rem); color: #F3E9D2; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 24px; }

.archives-title em { font-style: italic; color: var(--copper-tan); }

.archives-rule { width: 52px; height: 2px; background: linear-gradient(90deg, var(--copper-tan), var(--teal)); margin-bottom: 24px; }

.archives-desc { font-size: 1rem; font-weight: 300; line-height: 1.85; color: rgba(234,226,212,0.6); max-width: 480px; margin-bottom: 40px; }

.archives-meta { display: flex; gap: 2.5rem; margin-bottom: 40px; flex-wrap: wrap; }

.archives-meta-num { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; line-height: 1; color: #F3E9D2; letter-spacing: -0.04em; }

.archives-meta-label { font-size: 0.62rem; font-weight: 500; text-transform: uppercase; letter-spacing: 2.5px; color: rgba(234,226,212,0.4); margin-top: 4px; }

.archives-meta-sep { width: 1px; background: rgba(234,226,212,0.08); align-self: stretch; }

.btn-archive {
            display: inline-flex; align-items: center; gap: 10px; background: transparent;
            border: 1.5px solid rgba(195,127,88,0.55); color: var(--copper-tan);
            padding: 14px 36px; font-size: 0.75rem; font-weight: 700;
            letter-spacing: 2.5px; text-transform: uppercase; text-decoration: none;
            transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease ease;
        }

.btn-archive:hover { background: var(--copper-tan); color: #1a0f0c; transform: translateY(-2px); box-shadow: 0 12px 36px rgba(195,127,88,0.3); border-color: var(--copper-tan); }

.btn-archive i { font-size: 10px; transition: transform 0.4s ease; }

.btn-archive:hover i { transform: translateX(4px); }

.archives-right { position: relative; height: clamp(320px, 42vw, 500px); }

.arch-polaroid {
            position: absolute; background: #fdfaf4; padding: 9px 9px 38px;
            box-shadow: 0 16px 48px rgba(0,0,0,0.55);
            transition: transform 0.3s ease, box-shadow 0.5s ease, z-index 0s 0.5s;
            cursor: pointer;
        }

.arch-polaroid:hover { transform: scale(1.06) rotate(0deg) !important; box-shadow: 0 30px 80px rgba(0,0,0,0.7); z-index: 10; transition: transform 0.3s ease, box-shadow 0.5s ease, z-index 0s; }

.arch-polaroid img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.6) brightness(0.88); transition: filter 0.3s ease; }

.arch-polaroid:hover img { filter: saturate(1.1) brightness(1.05); }

.arch-polaroid .ap-label { position: absolute; bottom: 0; left: 0; right: 0; height: 38px; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 0.65rem; color: #2C1A18; font-style: italic; text-align: center; padding: 0 8px; opacity: 0; transition: opacity 0.35s ease; }

.arch-polaroid:hover .ap-label { opacity: 1; }

.arch-p1 { width: 52%; height: 62%; top: 0; left: 4%; transform: rotate(-4.5deg); z-index: 3; }

.arch-p2 { width: 44%; height: 52%; top: 8%; right: 0; transform: rotate(3.2deg); z-index: 2; }

.arch-p3 { width: 46%; height: 54%; bottom: 0; left: 0; transform: rotate(2.8deg); z-index: 4; }

.arch-p4 { width: 40%; height: 48%; bottom: 4%; right: 5%; transform: rotate(-3.1deg); z-index: 1; }

.arch-dot { position: absolute; top: 42%; left: 48%; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 24px rgba(0,168,150,0.6); animation: archDotPulse 2.8s ease-in-out infinite; z-index: 5; }

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

  .archives-right { height: 300px; }
}

@media (max-width: 560px) {
  .section-archives { padding: 80px 5%; }

  .archives-right { height: 260px; }

  .archives-title { font-size: 2.2rem; }
}

.section-video { padding: 80px 5%; background: var(--teal); position: relative; overflow: hidden; }

.paleo-bg {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            pointer-events: none; z-index: 1; opacity: 0.1;
            background: repeating-linear-gradient(45deg,
                rgba(44, 26, 24, 0.08) 0px, rgba(44, 26, 24, 0.08) 20px,
                rgba(195, 127, 88, 0.12) 20px, rgba(195, 127, 88, 0.06) 40px);
            background-size: 80px 80px; animation: shiftStrata 30s linear infinite;
        }

@keyframes shiftStrata { 0% { background-position: 0 0; } 100% { background-position: 160px 160px; } }

.video-with-text { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }

.video-text h2 { font-size: 2.4rem; margin-bottom: 22px; color: var(--white); letter-spacing: -0.02em; }

.video-text p { font-size: 1.05rem; color: rgba(255,255,255,0.85); margin-bottom: 24px; line-height: 1.8; }

.btn-outline {
            display: inline-block; border: 1.5px solid var(--white); color: var(--white);
            padding: 12px 32px; text-decoration: none; font-weight: 700; letter-spacing: 1.5px;
            font-size: 0.8rem; text-transform: uppercase; transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease var(--ease-out-expo);
        }

.btn-outline:hover { background: var(--white); color: var(--teal); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }

        .video-col .video-wrapper {
            position: relative;
            padding-bottom: 56.25%;
            height: 0;
            background: #000;
            border-radius: var(--radius-md);
            overflow: hidden;
            transition: transform 0.3s var(--ease-out-expo), box-shadow 0.7s var(--ease-out-expo);
        }

.video-wrapper:hover { transform: scale(1.02); box-shadow: 0 20px 40px rgba(0,0,0,0.25); }

@media (max-width: 768px) {
  .video-with-text { grid-template-columns: 1fr; gap: 30px; }

  .video-text { order: 1; }

  .video-col { order: 2; }
}

.section-updates {
            background:
                linear-gradient(135deg, rgba(0,168,150,0.10) 0%, rgba(253,250,244,0.92) 38%, rgba(221,111,62,0.12) 100%),
                radial-gradient(110% 80% at 18% 24%, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 62%),
                radial-gradient(95% 75% at 82% 78%, rgba(230,247,245,0.48) 0%, rgba(236,245,242,0) 64%);
            background-repeat: no-repeat;
            background-size: cover, cover, cover, cover;
            background-position: center;
            position: relative;
            padding: 60px 0;
        }

.section-updates::before{
            content:'';
            position:absolute;
            inset:0;
            pointer-events:none;
            background:
                radial-gradient(circle at 12% 25%, rgba(0,168,150,0.10) 0%, transparent 48%),
                radial-gradient(circle at 88% 22%, rgba(221,111,62,0.10) 0%, transparent 52%),
                linear-gradient(180deg, rgba(61,35,33,0.02) 0%, rgba(61,35,33,0.00) 40%, rgba(61,35,33,0.03) 100%);
            mix-blend-mode: multiply;
            opacity: .9;
        }

.section-updates > *{ position: relative; z-index: 1; }

.updates-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }

.tabs { display: flex; border-bottom: 1.5px solid var(--sand-300); margin-bottom: 24px; }

.tab { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 12px 0; margin-right: 32px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1.5px; color: #999; transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease var(--ease-out-expo); }

.tab.active { border-color: var(--burnt-orange); color: var(--deep-brown); }

.tab:hover:not(.active) { color: var(--copper-tan); }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; transition: opacity 0.3s ease; }

@media (max-width: 900px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .cards-grid { grid-template-columns: 1fr; }
}

.cards-grid.cycling-fade { opacity: 0; }

        .loading-skeleton {
            background: white;
            border-radius: 18px;
            padding: 10px;
            animation: skeleton-pulse 1.5s ease-in-out infinite;
        }

.skeleton-image {
            height: 220px;
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            border-radius: 16px;
            margin-bottom: 16px;
            animation: skeleton-shimmer 1.5s infinite;
        }

.skeleton-text {
            height: 16px;
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            border-radius: 4px;
            margin-bottom: 8px;
            animation: skeleton-shimmer 1.5s infinite;
        }

.skeleton-text.short {
            width: 60%;
        }

.update-card {
            overflow: hidden;
            border: 1px solid rgba(61,35,33,0.10);
            border-radius: 18px;
            background: rgba(255,255,255,0.92);
            box-shadow: 0 14px 40px rgba(61,35,33,0.08);
            transition: transform 0.38s ease, box-shadow 0.38s, border-color 0.38s;
            position: relative;
        }

.update-card::before{
            content:'';
            position:absolute;
            inset:0;
            pointer-events:none;
            background:
                radial-gradient(circle at 18% 8%, rgba(0,168,150,0.10) 0%, transparent 46%),
                radial-gradient(circle at 88% 0%, rgba(221,111,62,0.10) 0%, transparent 52%);
            opacity: .55;
        }

.update-card:hover { transform: translateY(-6px); box-shadow: 0 24px 70px rgba(61,35,33,0.14); border-color: rgba(0,168,150,0.22); }

.update-card-inner { overflow: hidden; border-radius: 16px; margin: 10px; position: relative; z-index: 1; background: linear-gradient(135deg, rgba(0,168,150,0.08) 0%, rgba(221,111,62,0.06) 100%); min-height: 220px; }

.update-card-inner.no-image {
            background: linear-gradient(135deg, rgba(0,168,150,0.15) 0%, rgba(221,111,62,0.12) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
        }

.update-card-inner.no-image::before {
            content: '\f03e';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 3rem;
            color: rgba(61,35,33,0.12);
        }

.update-card img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.3s var(--ease-out-expo), filter 0.6s var(--ease-out-expo); filter: saturate(0.95) contrast(1.02); display: block; }

.update-card:hover img { transform: scale(1.07); filter: saturate(1.06) contrast(1.02); }

.update-card-body { padding: 16px 18px 10px; position: relative; z-index: 1; }

.update-card-body h4 { font-size: 1.1rem; font-weight: 700; color: var(--deep-brown); margin-bottom: 10px; letter-spacing: -0.012em; line-height: 1.25; }

.update-card-body p { color: rgba(61,35,33,0.68); line-height: 1.75; font-size: 0.95rem; }

.update-card-cat {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 0.68rem;
            font-weight: 800;
            letter-spacing: 1.6px;
            text-transform: uppercase;
            color: rgba(44,26,24,0.92);
            background: linear-gradient(135deg, rgba(0,168,150,0.16), rgba(221,111,62,0.12));
            border-radius: 999px;
            padding: 6px 12px;
            margin-bottom: 12px;
            border: 1px solid rgba(61,35,33,0.10);
        }

.update-card-cat::before{
            content:'';
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--teal);
            box-shadow: 0 0 0 4px rgba(0,168,150,0.14);
        }

.update-card-foot { display: flex; justify-content: space-between; align-items: center; padding: 0 18px 18px; position: relative; z-index: 1; }

.update-card-read {
            font-size: 0.78rem;
            font-weight: 900;
            color: rgba(0,168,150,0.95);
            text-decoration: none;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            transition: color 0.2s, transform 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

.update-card-read::after{ content:'›'; font-size: 1.05rem; line-height: 1; transform: translateY(-1px); }

.update-card:hover .update-card-read{ color: var(--burnt-orange); transform: translateX(2px); }

/* ─── "New" badge for recent blog posts ─── */
.update-card-new-badge {
            display: inline-flex; align-items: center; gap: 5px;
            font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
            color: var(--white);
            background: linear-gradient(135deg, var(--burnt-orange) 0%, var(--copper-tan) 100%);
            padding: 6px 14px 6px 10px;
            border-radius: 0 14px 0 14px;
            position: absolute; top: 0; left: 0; z-index: 3;
            box-shadow: 0 4px 16px rgba(221,111,62,0.35), 0 1px 4px rgba(0,0,0,0.1);
            animation: homeBadgeBounce 3s ease-in-out infinite;
}
.update-card-new-badge::before {
            content: '\2726';
            font-size: 12px; line-height: 1;
            animation: homeBadgeSparkle 2s ease-in-out infinite;
}
.news-card-new-badge {
            display: inline-flex; align-items: center; gap: 6px;
            font-size: 10px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
            color: #ffffff;
            background: linear-gradient(135deg, var(--burnt-orange, #DD6F3E) 0%, var(--copper-tan, #B85325) 100%);
            padding: 7px 16px 7px 12px;
            border-radius: 0 0 14px 0;
            position: absolute; top: 0; left: 0; z-index: 10;
            box-shadow: 0 4px 16px rgba(221,111,62,0.4), 0 2px 6px rgba(0,0,0,0.18);
}
.news-card-new-badge::before {
            content: '\2726';
            font-size: 13px; line-height: 1;
            animation: homeBadgeSparkle 2s ease-in-out infinite;
}
@keyframes homeBadgeBounce {
  0%, 100% { transform: translateY(0); }
  15% { transform: translateY(-2px); }
  30% { transform: translateY(0); }
}
@keyframes homeBadgeSparkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.gallery-scroll { width: 100%; overflow-x: auto; overflow-y: hidden; white-space: nowrap; -webkit-overflow-scrolling: touch; padding: 32px 0; cursor: grab; scrollbar-width: thin; scrollbar-color: var(--copper-tan) var(--sand-100); background: var(--sand-50); }

.gallery-scroll:active { cursor: grabbing; }

.gallery-scroll::-webkit-scrollbar { height: 6px; }

.gallery-scroll::-webkit-scrollbar-track { background: var(--sand-100); }

.gallery-scroll::-webkit-scrollbar-thumb { background-color: var(--copper-tan); border-radius: 20px; }

.gallery-track { display: inline-flex; gap: 18px; padding: 0 5%; }

.gallery-item { width: 340px; height: 230px; background-size: cover; background-position: center; flex-shrink: 0; border-radius: var(--radius-md); position: relative; z-index: 1; transition: transform 0.3s var(--ease-out-expo), box-shadow 0.7s var(--ease-out-expo), filter 0.7s; filter: saturate(0.9); }

.gallery-item:hover { transform: translateY(-4px) scale(2); z-index: 5; box-shadow: 0 16px 32px rgba(61,35,33,0.15); filter: saturate(1.1); }

@media (max-width: 768px) {
  .gallery-item { width: 260px; height: 175px; }
}

.section-split { display: grid; grid-template-columns: 1fr 1fr; }

.split-img-1 { min-height: 480px; position: relative; overflow: hidden; background: var(--teal); }

.split-img-1 img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; }

.split-img-1::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -30%;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: rgba(255,255,255,0.04);
            z-index: 1;
        }

.split-panel { padding: 80px 10%; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden;
            
            background:
                linear-gradient(135deg, rgba(0,168,150,0.12) 0%, rgba(253,250,244,0.95) 40%, rgba(221,111,62,0.14) 100%),
                radial-gradient(110% 80% at 20% 30%, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 55%),
                radial-gradient(95% 75% at 85% 75%, rgba(230,247,245,0.5) 0%, rgba(236,245,242,0) 60%),
                linear-gradient(180deg, #f5f0e8 0%, #faf6ee 50%, #f3ece0 100%);
        }

.split-panel::before {
            content: '';
            position: absolute;
            inset: 0;
            pointer-events: none;
            background:
                radial-gradient(circle at 15% 25%, rgba(0,168,150,0.08) 0%, transparent 45%),
                radial-gradient(circle at 85% 20%, rgba(221,111,62,0.10) 0%, transparent 50%),
                linear-gradient(180deg, rgba(61,35,33,0.02) 0%, rgba(61,35,33,0.00) 40%, rgba(61,35,33,0.03) 100%);
            mix-blend-mode: multiply;
            opacity: 0.9;
        }

.split-panel::after {
            content: '';
            position: absolute;
            bottom: -20%;
            left: -10%;
            width: 350px;
            height: 350px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(221,111,62,0.08) 0%, transparent 60%);
            z-index: 0;
        }

.split-panel > * { position: relative; z-index: 1; }

.split-panel h2 { font-size: 2.2rem; margin-bottom: 22px; letter-spacing: -0.02em; color: var(--deep-brown); }

.split-panel > p { line-height: 1.8; color: rgba(61,35,33,0.75); margin-bottom: 8px; }

.accordion-item { border-bottom: 1px solid rgba(61,35,33,0.08); padding: 20px 0; cursor: pointer; transition: background 0.3s; }

.accordion-item:hover { background: rgba(61,35,33,0.02); }

.accordion-header { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--deep-brown); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1.5px; }

.accordion-header i { transition: transform 0.3s var(--ease-out-expo); color: var(--copper-tan); font-size: 0.85rem; }

.accordion-item.open .accordion-header i { transform: rotate(180deg); }

.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease-out-expo), padding 0.7s var(--ease-out-expo); color: #555; font-size: 0.95rem; line-height: 1.75; }

.accordion-item.open .accordion-content { max-height: 300px; padding-top: 18px; }

        .travel-operators-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 12px;
            margin-top: 24px;
        }

.travel-card {
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 16px 18px;
            background: linear-gradient(135deg, #ffffff 0%, #faf6ee 100%);
            border: 1px solid rgba(61,35,33,0.08);
            border-radius: 12px;
            text-decoration: none;
            color: inherit;
            transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease ease;
            box-shadow: 0 2px 8px rgba(61,35,33,0.05);
            overflow: hidden;
            min-height: 80px;
        }

.travel-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--teal) 0%, var(--burnt-orange) 100%);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s var(--ease-out-expo);
        }

.travel-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 20px rgba(61,35,33,0.1);
            border-color: rgba(0,168,150,0.25);
        }

.travel-card:hover::before {
            transform: scaleX(1);
        }

.travel-card-title {
            font-family: 'Playfair Display', serif;
            font-size: 1rem;
            font-weight: 600;
            color: var(--deep-brown);
            margin: 0;
            letter-spacing: -0.01em;
            line-height: 1.3;
        }

.travel-card-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            color: var(--teal);
            transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease ease;
            margin-top: 10px;
        }

.travel-card-link i {
            font-size: 0.65rem;
            transition: transform 0.25s ease;
        }

.travel-card:hover .travel-card-link {
            color: var(--burnt-orange);
        }

.travel-card:hover .travel-card-link i {
            transform: translateX(3px);
        }

        .cta {
            position: relative;
            overflow: hidden;
            padding: clamp(60px, 10vw, 120px) clamp(24px, 6vw, 120px);
            text-align: center;
            background:
                
                linear-gradient(135deg, rgba(0,168,150,0.12) 0%, rgba(250,247,241,0.95) 38%, rgba(221,111,62,0.14) 100%),
                radial-gradient(110% 80% at 18% 24%, rgba(255,255,255,0.60) 0%, rgba(255,255,255,0) 62%),
                radial-gradient(95% 75% at 82% 78%, rgba(230,247,245,0.50) 0%, rgba(236,245,242,0) 64%);
            background-repeat: no-repeat;
            background-size: cover, cover, cover;
            background-position: center;
        }

.cta::before {
            content: '';
            position: absolute;
            inset: 0;
            pointer-events: none;
            background:
                radial-gradient(circle at 15% 30%, rgba(0,168,150,0.12) 0%, transparent 50%),
                radial-gradient(circle at 85% 25%, rgba(221,111,62,0.12) 0%, transparent 55%),
                radial-gradient(circle at 50% 85%, rgba(0,107,98,0.08) 0%, transparent 45%),
                linear-gradient(180deg, rgba(61,35,33,0.02) 0%, rgba(61,35,33,0.00) 40%, rgba(61,35,33,0.03) 100%);
            mix-blend-mode: multiply;
            opacity: 0.9;
        }

.cta > * {
            position: relative;
            z-index: 1;
        }

.cta .label {
            font-size: 0.65rem;
            letter-spacing: 4px;
            text-transform: uppercase;
            background: linear-gradient(135deg, #006B62 0%, #DD6F3E 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 700;
            margin-bottom: 16px;
            display: block;
        }

.cta h2 {
            font-family: 'Playfair Display', serif;
            font-size: clamp(1.8rem, 3.5vw, 2.8rem);
            background: linear-gradient(135deg, #2C1810 0%, #006B62 50%, #DD6F3E 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 16px;
            line-height: 1.15;
            letter-spacing: -0.02em;
        }

.cta p {
            font-size: 0.95rem;
            color: rgba(61,35,33,0.75);
            max-width: 480px;
            margin: 0 auto 36px;
            line-height: 1.85;
        }

.btn-cta {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            border: 2px solid transparent;
            background: linear-gradient(#FAF7F1, #FAF7F1) padding-box,
                        linear-gradient(135deg, #006B62 0%, #DD6F3E 100%) border-box;
            color: #2C1810;
            padding: 14px 38px;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 2.5px;
            text-transform: uppercase;
            cursor: pointer;
            text-decoration: none;
            transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease var(--ease-expo);
            border-radius: 4px;
        }

.btn-cta:hover {
            background: linear-gradient(135deg, #006B62 0%, #DD6F3E 100%) border-box;
            color: #FAF7F1;
            transform: translateY(-3px);
            box-shadow: 0 12px 32px rgba(0,107,98,0.25);
        }

.btn-cta i {
            font-size: 10px;
            transition: transform 0.4s var(--ease-expo);
        }

.btn-cta:hover i {
            transform: translateX(4px);
        }

.newsletter-panel {
            position: fixed; bottom: 24px; left: 24px; width: 340px; z-index: 1001;
            background: var(--charcoal); color: var(--soft-sand); border-radius: var(--radius-lg);
            box-shadow: 0 12px 48px rgba(0,0,0,0.35); padding: 32px 28px 24px;
            transform: translateY(120%) scale(0.95); opacity: 0;
            transition: transform 0.3s var(--ease-out-expo), opacity 0.5s var(--ease-out-expo);
        }

.newsletter-panel.open { transform: translateY(0) scale(1); opacity: 1; }

.newsletter-close { position: absolute; top: 12px; right: 14px; background: none; border: none; color: var(--soft-sand); font-size: 18px; cursor: pointer; transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease var(--ease-out-expo); }

.newsletter-close:hover { color: var(--burnt-orange); transform: rotate(90deg); }

.newsletter-panel h3 { font-family: 'Playfair Display', serif; color: #fff; margin-bottom: 8px; font-size: 1.15rem; }

.newsletter-panel p { font-size: 13px; color: rgba(243,233,210,0.8); line-height: 1.6; }

.newsletter-panel input[type="email"] { width: 100%; padding: 11px 12px; border: 1px solid rgba(183,160,149,0.3); border-radius: var(--radius-sm); background: rgba(255,255,255,0.06); color: #fff; margin: 16px 0 12px; font-size: 0.9rem; transition: border 0.4s var(--ease-out-expo), background 0.4s; }

.newsletter-panel input[type="email"]:focus { border-color: var(--burnt-orange); background: rgba(255,255,255,0.1); outline: none; }

.btn-subscribe { width: 100%; padding: 12px; background: var(--teal); color: #fff; border: none; border-radius: var(--radius-sm); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.75rem; cursor: pointer; transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease var(--ease-out-expo); }

.btn-subscribe:hover { background: var(--teal-dark); transform: translateY(-1px); }

.newsletter-divider { border-color: rgba(183,160,149,0.2); margin: 18px 0; }

.older-link { color: var(--copper-tan); text-decoration: none; font-size: 12px; transition: color 0.4s; }

.older-link:hover { color: var(--burnt-orange); }

.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--charcoal); backdrop-filter: blur(8px); color: var(--soft-sand); padding: 18px 5%; display: flex; justify-content: space-between; align-items: center; gap: 20px; z-index: 999; flex-wrap: wrap; border-top: 1.5px solid var(--copper-tan); box-shadow: 0 -4px 20px rgba(0,0,0,0.15); }

.cookie-banner p { font-size: 13px; line-height: 1.6; }

.cookie-banner a { color: var(--burnt-orange); transition: color 0.4s var(--ease-out-expo); text-decoration: none; border-bottom: 1px solid transparent; }

.cookie-banner a:hover { color: var(--soft-sand); border-bottom-color: var(--soft-sand); }

.cookie-btns { display: flex; gap: 10px; }

.cookie-btn { padding: 9px 22px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; border: none; border-radius: var(--radius-sm); transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease var(--ease-out-expo); }

.cookie-btn.accept { background: var(--teal); color: #fff; }

.cookie-btn.accept:hover { background: var(--teal-dark); transform: translateY(-1px); }

.cookie-btn.reject { background: transparent; color: var(--soft-sand); border: 1px solid rgba(243,233,210,0.3); }

.cookie-btn.reject:hover { background: rgba(243,233,210,0.1); border-color: var(--soft-sand); }

.search-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(26,15,13,0.95);
            backdrop-filter: blur(8px);
            z-index: 10000;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            padding-top: 100px;
            opacity: 0;
            visibility: hidden;
            transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease var(--ease-out-expo);
        }

.search-modal.active {
            opacity: 1;
            visibility: visible;
        }

.search-modal-content {
            background: white;
            border-radius: 20px;
            width: 90%;
            max-width: 800px;
            max-height: 80vh;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            transform: translateY(-30px) scale(0.95);
            transition: transform 0.4s var(--ease-out-expo);
        }

.search-modal.active .search-modal-content {
            transform: translateY(0) scale(1);
        }

.search-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 24px 32px;
            border-bottom: 1px solid var(--sand-300);
        }

.search-modal-header h3 {
            font-family: 'Playfair Display', serif;
            font-size: 1.5rem;
            color: var(--deep-brown);
            margin: 0;
        }

.search-modal-close {
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--slate);
            cursor: pointer;
            padding: 8px;
            border-radius: 50%;
            transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease var(--ease-out-expo);
        }

.search-modal-close:hover {
            background: var(--sand-200);
            color: var(--deep-brown);
        }

.search-modal-body {
            padding: 32px;
            max-height: calc(80vh - 100px);
            overflow-y: auto;
        }

.nav-search-btn {
            color: var(--soft-sand);
            transition: color 0.3s var(--ease-out-expo);
            cursor: pointer;
        }

.nav-search-btn:hover {
            color: var(--burnt-orange);
        }

.exit-popup {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(26,15,13,0.85);
            backdrop-filter: blur(8px);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease var(--ease-out-expo);
        }

.exit-popup.active {
            opacity: 1;
            visibility: visible;
        }

.exit-popup-content {
            background: linear-gradient(135deg, #FAF7F1 0%, #F3EAD6 100%);
            border-radius: 24px;
            padding: 48px;
            max-width: 500px;
            width: 90%;
            text-align: center;
            position: relative;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            transform: translateY(30px) scale(0.95);
            transition: transform 0.4s var(--ease-out-expo);
        }

.exit-popup.active .exit-popup-content {
            transform: translateY(0) scale(1);
        }

.exit-popup-close {
            position: absolute;
            top: 16px;
            right: 16px;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--slate);
            cursor: pointer;
            padding: 8px;
            border-radius: 50%;
            transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease var(--ease-out-expo);
        }

.exit-popup-close:hover {
            background: rgba(0,0,0,0.1);
            color: var(--deep-brown);
        }

.exit-popup-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 24px;
            background: linear-gradient(135deg, var(--teal) 0%, var(--burnt-orange) 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            color: white;
        }

.exit-popup h3 {
            font-family: 'Playfair Display', serif;
            font-size: 2rem;
            color: var(--deep-brown);
            margin: 0 0 16px;
            line-height: 1.2;
        }

.exit-popup p {
            color: var(--slate);
            font-size: 1rem;
            line-height: 1.6;
            margin: 0 0 24px;
        }

.exit-popup-form {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 16px;
        }

.exit-popup-form input[type="email"] {
            padding: 14px 20px;
            border: 2px solid var(--sand-300);
            border-radius: 12px;
            font-size: 1rem;
            font-family: inherit;
            transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease var(--ease-out-expo);
        }

.exit-popup-form input[type="email"]:focus {
            outline: none;
            border-color: var(--teal);
            box-shadow: 0 0 0 3px rgba(0,168,150,0.1);
        }

.exit-popup-form button {
            padding: 14px 28px;
            background: linear-gradient(135deg, var(--teal) 0%, var(--burnt-orange) 100%);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 1rem;
            font-weight: 700;
            cursor: pointer;
            transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease var(--ease-out-expo);
        }

.exit-popup-form button:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0,168,150,0.3);
        }

.exit-popup-note {
            font-size: 0.85rem !important;
            color: var(--slate) !important;
            margin: 0 !important;
            opacity: 0.8;
        }

@media (max-width: 768px) {
  .search-modal {
                padding-top: 60px;
            }

  .search-modal-content {
                width: 95%;
            }

  .search-modal-header {
                padding: 20px 24px;
            }

  .search-modal-body {
                padding: 24px;
            }

  .exit-popup-content {
                padding: 36px 28px;
            }

  .exit-popup h3 {
                font-size: 1.75rem;
            }
}

@media (max-width: 992px) {
  .section-split { grid-template-columns: 1fr; }

  .travel-operators-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .travel-card { padding: 14px 16px; min-height: 70px; }

  .travel-card-title { font-size: 0.95rem; }
}

/* Hide uncompiled Vue markup until slider mounts */
[v-cloak] { visibility: hidden; }

/* Accessibility: screen-reader-only text + keyboard skip link */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--deep-brown, #3D2321);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 6px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

#main-content:focus {
  outline: none;
}

.wrapper {
  height: calc(100vh - 50px);
  min-height: 36rem;
  position: relative;
  overflow: hidden;
  background-color: #2C1A18;
  /* Fallback photo before/while JS boots */
  background-image: url('../../images/banner/IMG_2954.webp');
  background-size: cover;
  background-position: center center;
}

@media (max-width: 630px) {
  .wrapper { height: 100vh; min-height: 0; }
}

.slide-wrapper {
  background-color: #2C1A18;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  height: 100%;
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  will-change: opacity;
  pointer-events: none;
}

/* Soft readable scrim over photos (do NOT use background-blend-mode: darken — it blacks out slides) */
.slide-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(44,26,24,0.25) 0%, rgba(44,26,24,0.55) 100%);
  pointer-events: none;
}

.slide-wrapper.active { opacity: 1; pointer-events: auto; animation: kenBurns 8s ease-out forwards; }

.slide-inner { position: relative; z-index: 2; height: 100%; overflow: hidden; }

.slide-content { color: #fff; margin-top: 5rem; position: absolute; top: 50%; left: calc(13vw + 0.7 * 48vh); transform: translateY(-50%); display: flex; flex-direction: column; }

@media (max-width: 1000px) {
  .slide-content { left: calc(13vw + 1rem); }
}

.slide-content-text { font-family: 'Playfair Display'; font-size: 9rem; letter-spacing: -0.03em; line-height: 0.87; font-weight: 900; will-change: auto; text-shadow: 0 2px 20px rgba(0,0,0,0.25), 0 4px 60px rgba(0,0,0,0.12); }

@media (max-width: 1150px) {
  .slide-content-text { font-size: 7rem; }
}

@media (max-width: 840px) {
  .slide-content-text { font-size: 5.5rem; }
}

@media (max-width: 500px) {
  .slide-content-text { font-size: 3.5rem; }
}

.slide-content-text > span { display: block; }

.slide-content-text > span:last-child { padding-left: 3rem; }

.slide-content-cta { font-family: 'Montserrat'; text-transform: uppercase; color: #fff; letter-spacing: 0.18rem; font-size: 0.68rem; line-height: 1; cursor: pointer; align-self: flex-start; margin-top: 4.5rem; margin-left: calc(0.3 * 48vh + 4.5rem); padding: 1rem 2.4rem; border-left: 1px solid rgba(255,255,255,0.6); border-right: 1px solid rgba(255,255,255,0.6); transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease var(--ease-out-expo); font-weight: 700; backdrop-filter: blur(4px); background: rgba(255,255,255,0.06); }

@media (max-width: 630px) {
  .slide-content-cta { display: none; }
}

.slide-content-cta:hover { color: var(--deep-brown); background-color: #fff; border-color: #fff; transform: translateY(-1px); }

.slide-rect, .slide-rect-filter { display: none; }

.slide-side-text { font-family: 'Montserrat'; text-transform: uppercase; color: #fff; letter-spacing: 0.12rem; font-size: 0.7rem; line-height: 1; position: absolute; left: calc(13vw - 3rem); writing-mode: vertical-rl; top: calc((50% - 31vh) + 2.5vh); }

.slide-side-text > span:first-child { font-weight: 700; }

.slide-side-text:after { content: ""; width: 1px; background-color: #fff; height: 40px; display: block; position: absolute; top: calc(100% + 25px); left: 50%; transform: translateX(-50%); }

.pagination-container { position: absolute; z-index: 200; display: flex; flex-direction: column; align-items: flex-end; right: 2rem; top: 50%; transform: translateY(-50%); }

@media (max-width: 920px) {
  .pagination-container { display: none; }
}

.pagination-item { width: 32px; height: 2px; background-color: rgba(255, 255, 255, 0.35); transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease ease; border-radius: 2px; cursor: pointer; }

.pagination-item + .pagination-item { margin-top: 1rem; }

.pagination-item.active { background-color: #fff; position: relative; width: 48px; height: 3px; transform: translateX(-0.5rem); box-shadow: 0 0 8px rgba(255, 255, 255, 0.3); cursor: default; }

.pagination-item.active:after { content: ""; height: 5px; width: 3px; border-radius: 50%; background-color: var(--burnt-orange); display: inline-block; position: absolute; right: -2px; top: 50%; transform: translateY(-50%); }

@keyframes slideLeft { from { transform: translateX(0); } to { transform: translateX(-100%); } }

@keyframes slideRight { from { transform: translateX(-100%); } to { transform: translateX(0); } }

@keyframes cutTextUp { from { clip-path: inset(0 0 -10% 0); } to { clip-path: inset(0 0 100% 0); } }

@keyframes cutTextDown { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(-10% 0 -20% 0); opacity: 1; } }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@keyframes kenBurns { 0% { transform: scale(1); } 100% { transform: scale(1.08); } }

.scroll-hint { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; cursor: pointer; transition: opacity 0.3s, transform 0.3s; animation: scrollHintFade 2s ease-in-out infinite; }

.scroll-hint:hover { transform: translateX(-50%) translateY(-4px); opacity: 0.9; }

.scroll-mouse { width: 22px; height: 34px; border: 2px solid rgba(255,255,255,0.8); border-radius: 12px; position: relative; background: rgba(255,255,255,0.1); backdrop-filter: blur(4px); }

.scroll-wheel { width: 4px; height: 6px; background: rgba(255,255,255,0.9); border-radius: 2px; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); animation: scrollWheel 1.5s ease-in-out infinite; }

.scroll-text { font-family: 'Montserrat', sans-serif; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(255,255,255,0.85); font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,0.3); }

@keyframes scrollWheel { 0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; } 50% { transform: translateX(-50%) translateY(6px); opacity: 0.5; } }

@keyframes scrollHintFade { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }

@media (max-width: 768px) {
  .scroll-hint { bottom: 1.5rem; }

  .scroll-mouse { width: 20px; height: 30px; }

  .scroll-text { font-size: 0.55rem; }
}

.atlas-section { background: linear-gradient(135deg, #EFE9DF 0%, #F7F2EA 50%, #E8E2D8 100%); padding: 70px 0 100px; position: relative; overflow: hidden; color: var(--deep-brown); }

.atlas-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 40%, rgba(0,168,150,0.08) 0%, transparent 55%), radial-gradient(ellipse at 80% 60%, rgba(221,111,62,0.06) 0%, transparent 50%); pointer-events: none; z-index: 1; }

.atlas-container { max-width: 1400px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }

.atlas-header { text-align: center; margin-bottom: 28px; }

.atlas-header h2 { color: var(--deep-brown); font-size: clamp(2.8rem, 5.5vw, 4.2rem); margin-bottom: 12px; font-family: 'Playfair Display', serif; letter-spacing: -0.02em; font-weight: 700; }

.atlas-header .atlas-sub { color: var(--teal); letter-spacing: 4px; text-transform: uppercase; font-size: 0.88rem; font-weight: 800; }

.atlas-simple-wrapper { margin-bottom: 32px; }

#map-wrap, .atlas-hint, #tutorial-overlay, #atlas-secret-msg, #map-info-panel, .atlas-hint-tour, .atlas-hint-sep { display: none !important; }

.atlas-simple-grid { display: grid; grid-template-columns: 200px minmax(0, 2.5fr) minmax(300px, 1fr); gap: 22px; align-items: stretch; margin-bottom: 32px; }

.atlas-simple-nav { padding: 16px 14px; border-radius: 16px; background: #fff; border: 1px solid rgba(61, 35, 33, 0.1); box-shadow: 0 20px 35px rgba(0,0,0,0.1); display: flex; flex-direction: column; gap: 8px; font-family: 'Lato', sans-serif; overflow-y: auto; }

.atlas-simple-label { font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(61, 35, 33, 0.6); }

.atlas-nav-buttons { display: flex; flex-direction: column; gap: 6px; }

.atlas-simple-tab { border-radius: 999px; border: 1px solid transparent; background: rgba(255,255,255,0.7); padding: 10px 12px; font-size: 0.8rem; font-weight: 600; text-align: left; color: #33241c; cursor: pointer; transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease ease; }

.atlas-simple-tab.active, .atlas-simple-tab:hover { background: rgba(193, 101, 42, 0.15); border-color: rgba(193, 101, 42, 0.4); color: #c45e32; }

.atlas-simple-photo { background: #fff; border-radius: 18px; border: 1px solid rgba(61,35,33,0.1); padding: 16px; box-shadow: 0 18px 36px rgba(0,0,0,0.15); position: relative; overflow: hidden; min-height: 300px; }

.atlas-simple-photo img { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); object-fit: contain; border-radius: 12px; display: block; background: #f5f2ed; }

.atlas-photo-caption { position: absolute; bottom: 18px; left: 22px; background: rgba(0,0,0,0.6); color: #fff; padding: 6px 10px; border-radius: 6px; font-size: 0.7rem; }

.atlas-info-card { background: #fff; border-radius: 18px; padding: 32px; border: 1px solid rgba(61,35,33,0.08); box-shadow: 0 18px 36px rgba(0,0,0,0.12); }

.atlas-info-kicker { font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(61,35,33,0.5); margin-bottom: 8px; }

.atlas-info-card h3 { margin: 0 0 12px; font-size: 2rem; }

.atlas-info-card p { line-height: 1.6; color: rgba(61,35,33,0.85); }

.atlas-info-matrix { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; font-size: 0.85rem; color: rgba(61,35,33,0.65); }

.atlas-info-matrix span { display: block; font-size: 0.7rem; letter-spacing: 1.6px; text-transform: uppercase; }

.atlas-info-matrix strong { font-size: 0.95rem; color: #1c1813; margin-top: 4px; }

.atlas-info-significance { margin-top: 22px; font-size: 0.8rem; color: rgba(61,35,33,0.7); }

.atlas-info-significance span { display: block; font-size: 0.65rem; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(61,35,33,0.45); }

.atlas-info-actions { margin-top: 22px; display: flex; gap: 12px; }

.atlas-btn-primary { background: #c45e32; border: none; color: #fff; font-weight: 600; }

.atlas-btn-muted { background: transparent; border: 1px solid rgba(61,35,33,0.3); color: #3d2321; }

.atlas-ni { padding: 12px 20px; border-radius: 999px; font-size: 0.9rem; cursor: pointer; transition: transform 0.3s ease; text-decoration: none; display: inline-block; }

.atlas-ni:hover { transform: translateY(-1px); }

@media (max-width: 1100px) {
  .atlas-simple-grid { grid-template-columns: 1fr; }

  .atlas-simple-photo { min-height: 320px; }
}

:root {
            --lj-earth: #3D2321; --lj-paper: #F2EFE9; --lj-accent: #C5A059;
            --lj-ink-light: rgba(61, 35, 33, 0.6); --font-footer: 'Lato', sans-serif;
        }

.legal-links { display: flex; gap: 1.5rem; }

.legal-links a, .ddx-attr a { color: var(--lj-earth); text-decoration: none; font-weight: 700; }

.legal-links a:hover, .ddx-attr a:hover { text-decoration: underline; }

.ddx-attr { display: block; margin-top: 0.5rem; }

.giraffe { display: inline-block; transition: transform 0.3s ease; }

.ddx-attr:hover .giraffe { transform: translateY(-3px) scale(1.1); }

.stub-title { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 900; margin: 0 0 0.5rem 0; color: var(--lj-accent); }

.stub-heading { font-size: 1.5rem; font-weight: 300; margin: 0 0 1.5rem 0; line-height: 1.2; }

.stub-form { display: flex; flex-direction: column; gap: 1rem; }

.stub-form input { background: transparent; border: none; border-bottom: 2px solid rgba(61,35,33,0.2); padding: 0.5rem 0; font-family: var(--font-footer); font-size: 0.95rem; color: var(--lj-earth); outline: none; transition: border-color 0.3s ease; }

.stub-form input:focus { border-color: var(--lj-earth); }

.stub-form input::placeholder { color: var(--lj-ink-light); font-style: italic; }

.stub-form button { background-color: transparent; color: var(--lj-earth); border: 2px solid var(--lj-earth); padding: 0.6rem; border-radius: 6px; font-family: var(--font-footer); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; cursor: pointer; transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease ease; }

.stub-form button:hover { background-color: var(--lj-earth); color: var(--lj-paper); }

body:has([data-live-editable]) #atlas-site-data,
        body[data-cms-editing="1"] #atlas-site-data {
          display: block !important;
          max-width: 960px;
          margin: 0 auto;
          padding: 2rem 1.5rem 4rem;
          background: var(--sand-100, #f5efe6);
          border-top: 3px solid var(--burnt-orange);
        }

body:has([data-live-editable]) #atlas-site-data::before,
        body[data-cms-editing="1"] #atlas-site-data::before {
          content: "Fossil Specimen Data Store — Edit Fields Below";
          display: block;
          font-size: 0.7rem;
          font-weight: 700;
          text-transform: uppercase;
          letter-spacing: 0.18em;
          color: var(--burnt-orange);
          padding: 0 0 1rem;
          margin-bottom: 1.25rem;
          border-bottom: 1px solid rgba(61,35,33,0.15);
        }

body:has([data-live-editable]) #atlas-site-data [data-fossil-id],
        body[data-cms-editing="1"] #atlas-site-data [data-fossil-id] {
          background: #fff;
          border: 1px solid rgba(61,35,33,0.12);
          border-radius: 8px;
          padding: 1.25rem 1.5rem;
          margin-bottom: 1.25rem;
          display: grid;
          grid-template-columns: 1fr;
          gap: 0.3rem;
        }

body:has([data-live-editable]) #atlas-site-data [data-fossil-id] span[data-field="title"],
        body[data-cms-editing="1"] #atlas-site-data [data-fossil-id] span[data-field="title"] {
          display: block;
          font-size: 0.85rem;
          font-weight: 800;
          text-transform: uppercase;
          letter-spacing: 0.1em;
          color: var(--deep-brown);
          border-bottom: 2px solid var(--teal);
          padding-bottom: 0.5rem;
          margin-bottom: 0.5rem;
        }

body:has([data-live-editable]) #atlas-site-data [data-fossil-id] span[data-field],
        body[data-cms-editing="1"] #atlas-site-data [data-fossil-id] span[data-field] {
          display: flex;
          align-items: baseline;
          gap: 0.75rem;
          padding: 0.2rem 0.5rem;
          border-radius: 4px;
          font-size: 0.875rem;
        }

body:has([data-live-editable]) #atlas-site-data [data-fossil-id] span[data-field]::before,
        body[data-cms-editing="1"] #atlas-site-data [data-fossil-id] span[data-field]::before {
          content: attr(data-field);
          flex-shrink: 0;
          min-width: 6.5rem;
          font-size: 0.62rem;
          font-weight: 700;
          text-transform: uppercase;
          letter-spacing: 0.1em;
          color: rgba(61,35,33,0.45);
          font-family: monospace;
        }

body:has([data-live-editable]) #atlas-site-data [data-fossil-id] span[data-field="x"]::before,
        body[data-cms-editing="1"] #atlas-site-data [data-fossil-id] span[data-field="x"]::before { content: "x (map)"; }

body:has([data-live-editable]) #atlas-site-data [data-fossil-id] span[data-field="y"]::before,
        body[data-cms-editing="1"] #atlas-site-data [data-fossil-id] span[data-field="y"]::before { content: "y (map)"; }

body:has([data-live-editable]) #atlas-site-data [data-fossil-id] span[data-field="age"]::before,
        body[data-cms-editing="1"] #atlas-site-data [data-fossil-id] span[data-field="age"]::before { content: "age (Ma)"; }

body:has([data-live-editable]) #atlas-site-data [data-fossil-id] span[data-field="conn"]::before,
        body[data-cms-editing="1"] #atlas-site-data [data-fossil-id] span[data-field="conn"]::before { content: "conn (IDs)"; }

body:has([data-live-editable]) #atlas-site-data [data-fossil-id] span[data-field="x"],
        body:has([data-live-editable]) #atlas-site-data [data-fossil-id] span[data-field="y"],
        body:has([data-live-editable]) #atlas-site-data [data-fossil-id] span[data-field="age"],
        body:has([data-live-editable]) #atlas-site-data [data-fossil-id] span[data-field="conn"],
        body[data-cms-editing="1"] #atlas-site-data [data-fossil-id] span[data-field="x"],
        body[data-cms-editing="1"] #atlas-site-data [data-fossil-id] span[data-field="y"],
        body[data-cms-editing="1"] #atlas-site-data [data-fossil-id] span[data-field="age"],
        body[data-cms-editing="1"] #atlas-site-data [data-fossil-id] span[data-field="conn"] {
          opacity: 0.4;
          font-size: 0.78rem;
          font-style: italic;
        }

body:has([data-live-editable]) #atlas-site-data [data-fossil-id] p[data-field="desc"],
        body[data-cms-editing="1"] #atlas-site-data [data-fossil-id] p[data-field="desc"] {
          font-size: 0.875rem;
          line-height: 1.65;
          padding: 0.5rem 0.75rem;
          border-left: 3px solid var(--copper-tan);
          background: var(--sand-50, #fdfaf4);
          border-radius: 0 4px 4px 0;
          margin: 0.25rem 0 0;
        }

body:has([data-live-editable]) #atlas-site-data [data-fossil-id] p[data-field="desc"]::before,
        body[data-cms-editing="1"] #atlas-site-data [data-fossil-id] p[data-field="desc"]::before {
          content: "desc";
          display: block;
          font-size: 0.62rem;
          font-weight: 700;
          text-transform: uppercase;
          letter-spacing: 0.1em;
          color: rgba(61,35,33,0.45);
          font-family: monospace;
          margin-bottom: 0.3rem;
        }

body:has([data-live-editable]) #atlas-site-data [data-fossil-id] img[data-field="photo"],
        body[data-cms-editing="1"] #atlas-site-data [data-fossil-id] img[data-field="photo"] {
          display: block;
          width: 80px;
          height: 60px;
          object-fit: cover;
          border-radius: 4px;
          border: 2px solid rgba(61,35,33,0.15);
          cursor: pointer;
          margin-top: 0.25rem;
        }

.barcode { margin-top: 2rem; height: 30px; width: 100%; background: linear-gradient(90deg, var(--lj-earth) 0%, var(--lj-earth) 5%, transparent 5%, transparent 8%, var(--lj-earth) 8%, var(--lj-earth) 10%, transparent 10%, transparent 15%, var(--lj-earth) 15%, var(--lj-earth) 22%, transparent 22%, transparent 24%, var(--lj-earth) 24%, var(--lj-earth) 26%, transparent 26%, transparent 30%, var(--lj-earth) 30%, var(--lj-earth) 32%, transparent 32%, transparent 35%, var(--lj-earth) 35%, var(--lj-earth) 45%, transparent 45%, transparent 48%, var(--lj-earth) 48%, var(--lj-earth) 50%, transparent 50%, transparent 55%, var(--lj-earth) 55%, var(--lj-earth) 60%, transparent 60%, transparent 62%, var(--lj-earth) 62%, var(--lj-earth) 70%, transparent 70%, transparent 75%, var(--lj-earth) 75%, var(--lj-earth) 77%, transparent 77%, transparent 80%, var(--lj-earth) 80%, var(--lj-earth) 85%, transparent 85%, transparent 88%, var(--lj-earth) 88%, var(--lj-earth) 95%, transparent 95%, transparent 97%, var(--lj-earth) 97%, var(--lj-earth) 100%); opacity: 0.3; }

.why-leakey-wrapper {
    --wl-teal: #4e8397;
    --wl-brown: #c34a36;
    --wl-brand-dark: var(--deep-brown); 
    --wl-bone: #fdfbf7; 

    position: relative;
    width: 100%;
    padding: 10rem 5%;
    background-color: #F4F4F4;
    background-image: linear-gradient(rgba(78,131,151,0.75), rgba(78,131,151,0.75)), url('https://i.postimg.cc/tJyy0WMJ/IMG-1466.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden; 
    z-index: 1;
}

.wl-split-bg {
    position: absolute;
    inset: 0;
    background-color: #3D2321;
    
    clip-path: polygon(55% 0, 100% 0, 100% 100%, 45% 100%);
    z-index: -1;
    background-image: none;
}

.wl-container {
    max-width: 1300px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 6rem;
    align-items: center;
    z-index: 2;
}

.wl-split-heading,
.wl-video-heading {
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    margin: 0 0 1rem 0;
    letter-spacing: -0.01em;
    display: block;
    max-width: 14ch;
}

.wl-heading-teal {
    color: var(--wl-teal);
}

.wl-heading-orange {
    color: var(--burnt-orange);
}

.wl-content {
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    padding-right: 2rem; 
    background-color: transparent;
    border-radius: 24px;
}

.wl-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    color: #2C1A18; 
    opacity: 0.95;
    line-height: 1.7;
    font-weight: 300;
    margin: 0;
}

.wl-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    padding: 1rem 1.75rem;
    border-radius: 999px;
    background-color: var(--burnt-orange);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.wl-cta-button:hover {
    background-color: #c45e32;
    transform: translateY(-1px);
}

.wl-video-side {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    text-align: center;
}

.wl-video-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 400;
    line-height: 1.15;
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.03em;
    display: block;
}

.wl-video-perspective {
    perspective: 1200px; 
    width: 100%;
}

.wl-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background-color: #000;

    
    box-shadow:
        -20px 20px 60px rgba(0, 0, 0, 0.4),
        20px -20px 60px rgba(0, 0, 0, 0.2),
        0 40px 60px -20px rgba(0,0,0,0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);

    
    transform: rotateY(-10deg) rotateX(4deg);
    transform-style: preserve-3d;
    transition: transform 0.3s ease, box-shadow 0.7s ease;
}

.wl-video-perspective:hover .wl-video-frame {
    transform: rotateY(0deg) rotateX(0deg);
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.8);
    border-color: rgba(230, 186, 138, 0.3); 
}

.wl-video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    background-color: #000;
}

@media (max-width: 1024px) {
    .why-leakey-wrapper {
        padding: 6rem 5%;
    }
    .wl-container {
        grid-template-columns: 1fr;
        gap: 6rem;
    }
    .wl-content {
        padding-right: 0;
    }

    
    .wl-split-bg {
        clip-path: polygon(0 48%, 100% 42%, 100% 100%, 0 100%);
    }

    .wl-video-frame {
        transform: none; 
    }
    .wl-split-heading {
        background: linear-gradient(110deg, var(--wl-teal) 0%, var(--wl-teal) 50%, var(--wl-brown) 50%, var(--wl-brown) 100%);
        background-clip: text;
        -webkit-background-clip: text;
    }
    .wl-video-heading {
        background: linear-gradient(110deg, var(--wl-teal) 0%, var(--wl-teal) 50%, var(--wl-bone) 50%, var(--wl-bone) 100%);
        background-clip: text;
        -webkit-background-clip: text;
    }
}

.fossil-cam-section{
  position:relative;
  padding: 36px 5%;
  background-color: var(--sand-50);
  overflow:hidden;
}

.fossil-cam-section::before{
  content:'';
  position:absolute;
  inset:-1px;
  background:
    radial-gradient(circle at 18% 28%, rgba(221,111,62,0.045) 0%, transparent 46%),
    radial-gradient(circle at 84% 72%, rgba(0,168,150,0.04) 0%, transparent 50%),
    linear-gradient(180deg, rgba(61,35,33,0.02) 0%, rgba(61,35,33,0.00) 40%, rgba(61,35,33,0.02) 100%);
  pointer-events:none;
}

.fossil-cam-section::after{
  
  content:'';
  position:absolute;
  inset:0;
  background: linear-gradient(135deg,
    rgba(0,168,150,0.06) 0%,
    rgba(0,168,150,0.04) 35%,
    rgba(221,111,62,0.07) 35%,
    rgba(221,111,62,0.05) 100%);
  clip-path: polygon(55% 0, 100% 0, 100% 100%, 45% 100%);
  opacity: 1;
  pointer-events:none;
}

.fossil-cam-inner{
  position:relative;
  max-width:1400px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(3rem, 6vw, 7rem);
  align-items:center;
}

.fossil-cam-aside{
  position:relative;
  border-radius:16px;
  padding:18px;
  background: rgba(44,26,24,0.88);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 18px 60px rgba(61,35,33,0.22), 0 6px 18px rgba(61,35,33,0.10);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
}

.fossil-cam-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:'Lato',sans-serif;
  font-size:0.58rem;
  font-weight:800;
  letter-spacing:2.4px;
  text-transform:uppercase;
  color:#E8D5BC;
  margin-bottom:8px;
}

.fossil-cam-kicker i{ color: var(--teal); }

.fossil-cam-title{
  font-family:'Playfair Display',serif;
  font-size:clamp(1.25rem,2vw,1.55rem);
  font-weight:700;
  letter-spacing:-0.025em;
  line-height:1.08;
  color:#fff;
  margin:0 0 8px 0;
}

.fossil-cam-title em{ color: var(--burnt-orange); font-style: italic; font-weight: 400; }

.fossil-cam-lede{
  font-size:0.78rem;
  color: rgba(243,233,210,0.78);
  line-height:1.45;
  margin:0 0 12px 0;
}

.fossil-cam-frame{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  border-radius:14px;
  overflow:hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(0,168,150,0.18) 0%, transparent 50%),
    radial-gradient(circle at 70% 10%, rgba(221,111,62,0.16) 0%, transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:0 14px 38px rgba(0,0,0,0.28);
}

.fossil-cam-frame::before{
  content:'LIVE';
  position:absolute;
  top:16px;
  left:16px;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(220,38,38,0.88);
  border: 1px solid rgba(255,255,255,0.42);
  color:#fff;
  box-shadow:0 6px 18px rgba(220,38,38,0.34);
  font-family:'Lato',sans-serif;
  font-size:0.65rem;
  font-weight:900;
  letter-spacing:2px;
  z-index:1;
}

.fossil-cam-frame iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

.fossil-cam-expand{
  position:absolute;
  right:14px;
  bottom:14px;
  z-index:2;
  min-width:44px;
  height:44px;
  padding:0 13px;
  border:1px solid rgba(255,255,255,0.35);
  border-radius:999px;
  background:rgba(61,35,33,0.72);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  cursor:pointer;
  font-family:'Lato',sans-serif;
  font-size:0.62rem;
  font-weight:800;
  letter-spacing:1.1px;
  text-transform:uppercase;
  box-shadow:0 8px 24px rgba(0,0,0,0.22);
  transition:background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.fossil-cam-expand:hover,
.fossil-cam-expand:focus-visible{
  background:rgba(0,168,150,0.88);
  border-color:rgba(230,247,245,0.75);
  transform:translateY(-2px);
  outline:none;
}

.fossil-cam-expand i{ pointer-events:none; }

.fossil-cam-expand span{ pointer-events:none; white-space:nowrap; }

.fossil-cam-frame:fullscreen,
.fossil-cam-frame:-webkit-full-screen{
  width:100vw;
  height:100vh;
  aspect-ratio:auto;
  border-radius:0;
  background:#000;
}

.fossil-cam-frame:fullscreen::before,
.fossil-cam-frame:-webkit-full-screen::before{
  top:22px;
  left:22px;
}

.fossil-cam-frame:fullscreen .fossil-cam-expand,
.fossil-cam-frame:-webkit-full-screen .fossil-cam-expand{
  right:22px;
  bottom:22px;
}

.fossil-cam-placeholder{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  text-align:center;
  color: rgba(243,233,210,0.78);
}

.fossil-cam-placeholder strong{
  display:block;
  color:#fff;
  font-family:'Playfair Display',serif;
  font-size:1.25rem;
  letter-spacing:-0.02em;
  margin-bottom:8px;
}

.fossil-cam-footnote{
  font-size:0.82rem;
  color: rgba(232,213,188,0.72);
  margin-top:12px;
  line-height:1.6;
}

@media (max-width: 980px){
  .fossil-cam-section{ padding:28px 5%; }

  .fossil-cam-inner{ grid-template-columns:1fr; gap:40px; }

  .fossil-cam-section::after{ clip-path: polygon(0 55%, 100% 45%, 100% 100%, 0 100%); }
}

.leakey-archive-wrapper {
    --imm-bg: #fcfcfc;
    --imm-surface: #ffffff;
    --imm-text: #2a2522;
    --imm-muted: #736d68;
    --imm-accent: #c34a36;
    --imm-teal: #4e8397;
    --ease-out-expo: ease;
    --grid-teal: rgba(78, 131, 151, 0.12);
    --grid-brown: rgba(195, 74, 54, 0.12);
    position: relative;
    width: 100%;
    padding: 0.75rem 0 1rem;
    background-color: var(--imm-bg);
    background-image:
        linear-gradient(var(--grid-teal) 2px, transparent 2px),
        linear-gradient(90deg, var(--grid-brown) 2px, transparent 2px),
        linear-gradient(var(--grid-brown) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-teal) 1px, var(--imm-bg) 1px);
    background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px;
    background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px;
    color: var(--imm-text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    box-sizing: border-box;
}

.leakey-archive-wrapper .track-shell{
    position: relative;
}

.leakey-archive-wrapper .track-nav{
    position:absolute;
    top: 50%;
    transform: translateY(-50%);
    width:44px;
    height:44px;
    border-radius:999px;
    border:1px solid rgba(0,0,0,0.10);
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 16px 44px rgba(0,0,0,0.14);
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition: transform 200ms ease, background 200ms ease, border-color 200ms ease, opacity 200ms ease;
    z-index: 5;
}

.leakey-archive-wrapper .track-nav:hover{
    transform: translateY(-50%) scale(1.06);
    border-color: rgba(0,168,150,0.35);
}

.leakey-archive-wrapper .track-nav:active{
    transform: translateY(-50%) scale(0.98);
}

.leakey-archive-wrapper .track-nav.prev{ left: 18px; }

.leakey-archive-wrapper .track-nav.next{ right: 18px; }

.leakey-archive-wrapper .track-nav i{ color: rgba(42,37,34,0.85); }

@media (max-width: 768px){
  .leakey-archive-wrapper .track-nav{ display:none; }
}

.leakey-archive-wrapper *, .leakey-archive-wrapper *::before, .leakey-archive-wrapper *::after { box-sizing: border-box; }

.leakey-archive-wrapper .archive-headline {
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 300;
    color: var(--imm-text);
    text-align: center;
    margin: 0 0 0.25rem 0;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.leakey-archive-wrapper .archive-subhead {
    font-family: 'Inter', sans-serif;
    text-align: center;
    color: var(--imm-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.7rem;
    margin: 0 0 0.5rem 0;
}

.leakey-archive-wrapper .horizontal-track {
    --_gap: 1.5rem;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--_gap) * 2)) / 3.75);
    gap: var(--_gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.25rem 4rem 1rem 4rem;
    scrollbar-width: none;
}

.leakey-archive-wrapper .horizontal-track::-webkit-scrollbar { display: none; }

@media (max-width: 1200px) {
  .leakey-archive-wrapper .horizontal-track { grid-auto-columns: calc((100% - var(--_gap)) / 2.5); padding: 0.25rem 2rem 1rem 2rem; }
}

@media (max-width: 768px) {
  .leakey-archive-wrapper .horizontal-track { grid-auto-columns: 70%; padding: 0.25rem 1rem 1rem 1rem; }
}

.leakey-archive-wrapper ._card {
    --_row-gap: 0.35rem;
    --_padding: 11px;
    --_radius: 14px;
    --_inner-radius: calc(var(--_radius) - 6px);
    --_duration: 500ms;
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: var(--_row-gap) 0.75rem;
    padding: var(--_padding);
    border-radius: var(--_radius);
    border: 1px solid rgba(0, 0, 0, 0.04);
    background-color: var(--imm-surface);
    box-shadow: 0 20px 40px -14px rgba(0,0,0,0.1);
    color: var(--imm-text);
    scroll-snap-align: center;
    transition: transform 0.3s var(--ease-out-expo), border-color 0.4s ease, box-shadow 0.5s var(--ease-out-expo);
    text-align: left;
    height: 100%;
}

.leakey-archive-wrapper ._card:hover {
    transform: translateY(-8px);
    border-color: rgba(195, 74, 54, 0.2);
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.15);
}

.leakey-archive-wrapper ._card > * { margin: 0; padding: 0; }

.leakey-archive-wrapper ._thumbnail-stack {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
    display: grid;
    margin-bottom: 0.25rem;
    position: relative;
    background-color: var(--imm-surface);
    min-height: 40px;
}

.leakey-archive-wrapper ._thumbnail-stack img {
    grid-area: 1 / 1;
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--_inner-radius);
    filter: url(#svg-inset-shadow);
    transition: clip-path var(--_duration) var(--ease-out-expo), filter var(--_duration) var(--ease-out-expo);
}

.leakey-archive-wrapper ._thumbnail-stack img:nth-child(1) { filter: url(#svg-inset-shadow); }

.leakey-archive-wrapper ._thumbnail-stack img:nth-child(2) { clip-path: inset(100% round var(--_inner-radius)); }

.leakey-archive-wrapper ._card:hover ._thumbnail-stack img:nth-child(2) { clip-path: inset(0 round var(--_inner-radius)); }

.leakey-archive-wrapper ._category {
    --_category-radius: 16px;
    grid-column: 1 / -1;
    grid-row: 1 / 2;
    z-index: 10;
    place-self: start;
    position: relative;
    align-content: center;
    min-block-size: calc(var(--_category-radius) * 2);
    padding: 0.6rem 1.2rem;
    border-end-end-radius: var(--_category-radius);
    border-start-start-radius: var(--_inner-radius);
    background-color: #ffffff;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--imm-teal);
    box-shadow: 2px 3px 8px rgba(0,0,0,0.08);
}

.leakey-archive-wrapper ._category::before,
.leakey-archive-wrapper ._category::after {
    content: "";
    position: absolute;
    width: var(--_category-radius);
    height: var(--_category-radius);
    background-color: #ffffff;
    -webkit-mask-image: radial-gradient(circle at 100% 100%, transparent var(--_category-radius), #000 calc(var(--_category-radius) + 0.5px));
    mask-image: radial-gradient(circle at 100% 100%, transparent var(--_category-radius), #000 calc(var(--_category-radius) + 0.5px));
}

.leakey-archive-wrapper ._category::before { top: 0; left: 100%; }

.leakey-archive-wrapper ._category::after { top: 100%; left: 0; }

.leakey-archive-wrapper ._heading {
    grid-column: 1 / -1;
    grid-row: 2 / 3;
    align-self: center;
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-top: 0.25rem;
}

.leakey-archive-wrapper ._badge { display: none; }

.leakey-archive-wrapper ._description {
    grid-column: 1 / -1;
    grid-row: 4 / 5;
    font-weight: 300;
    color: var(--imm-muted);
    font-size: 0.8rem;
    display: block;
    margin: 0.25rem 0 0.5rem 0;
}

.leakey-archive-wrapper ._info-grid {
    grid-column: 1 / -1;
    grid-row: 3 / 4;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.25rem;
    border-top: 1px solid rgba(0,0,0,0.04);
    padding-top: 0.5rem;
}

.leakey-archive-wrapper ._info-item { display: flex; flex-direction: column; gap: 0.1rem; }

.leakey-archive-wrapper ._info-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--imm-muted); }

.leakey-archive-wrapper ._info-value { font-size: 0.85rem; color: var(--imm-text); font-weight: 500; }

.leakey-archive-wrapper ._tag-list {
    grid-column: 1 / -1;
    grid-row: 5 / 6;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    list-style: none;
    margin-bottom: 0;
}

.leakey-archive-wrapper ._tag {
    padding: 0.4em 0.8em;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.04);
    color: var(--imm-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.leakey-archive-wrapper ._button { grid-column: 1 / -1; grid-row: 6 / 7; margin-top: auto; }

.leakey-archive-wrapper .purchase-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2em 1em;
    border-radius: 6px;
    background-color: var(--imm-accent);
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    transition: background-color 300ms;
    text-decoration: none;
    cursor: pointer;
}

.leakey-archive-wrapper .purchase-button:hover { background-color: #a53d2c; }

.leakey-archive-wrapper .purchase-button::before {
    content: "";
    display: block;
    width: 1.2em;
    height: 1.2em;
    background-color: #ffffff;
    -webkit-mask: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" stroke="%231c0f0e" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline></svg>') no-repeat center / contain;
    mask: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" stroke="%231c0f0e" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline></svg>') no-repeat center / contain;
}

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