/* CSS Reset & Baseline */
*, ::before, ::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.1);
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    font-family: 'Plus Jakarta Sans', sans-serif;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #2F3330;
    color: #F4F4F0;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

::selection {
    background: #D4FF00;
    color: #2F3330;
}

/* Typography & Color Tokens */
.font-heading { font-family: 'Space Grotesk', sans-serif; }
.font-sans { font-family: 'Plus Jakarta Sans', sans-serif; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }

.bg-brand-bg { background-color: #2F3330; }
.text-brand-text { color: #F4F4F0; }
.text-brand-muted { color: #A3A8A4; }
.text-brand-accent { color: #D4FF00; }
.bg-brand-accent { background-color: #D4FF00; }

/* Button Styling */
.btn-accent {
    background-color: #D4FF00;
    color: #2F3330 !important;
    font-weight: 700;
    transition: all 150ms ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.btn-accent:hover {
    background-color: #FFFFFF;
    color: #2F3330 !important;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #F4F4F0 !important;
    font-weight: 500;
    transition: all 150ms ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.btn-outline:hover {
    border-color: #D4FF00;
    color: #D4FF00 !important;
}

/* Photo Container & Hover Zoom */
.photo-container {
    aspect-ratio: 1 / 1;
    max-width: 280px;
    margin: 0 auto;
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    transition: border-color 300ms ease, box-shadow 300ms ease;
}

.photo-container:hover {
    border-color: rgba(212, 255, 0, 0.4);
}

.photo-container img {
    transition: transform 400ms ease;
}

.photo-container:hover img {
    transform: scale(1.04);
}

/* Layout Grid & Containers */
.max-w-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem; }
.max-w-md { max-width: 28rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.hidden { display: none; }

/* Breakpoints */
@media (min-width: 640px) {
    .sm-inline-block { display: inline-block; }
    .sm-text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .sm-text-6xl { font-size: 3.75rem; line-height: 1; }
}

@media (min-width: 768px) {
    .md-pt-48 { padding-top: 12rem; }
    .md-pb-28 { padding-bottom: 7rem; }
    .md-text-5xl { font-size: 3rem; line-height: 1; }
    .md-text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .md-flex-row { flex-direction: row; }
    .md-items-end { align-items: flex-end; }
}

@media (min-width: 1024px) {
    .lg-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg-grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .lg-col-span-7 { grid-column: span 7 / span 7; }
    .lg-col-span-5 { grid-column: span 5 / span 5; }
    .lg-gap-16 { gap: 4rem; }
    .lg-text-7xl { font-size: 4.5rem; line-height: 1; }
    .lg-max-w-none { max-width: none; }

    .photo-container {
        aspect-ratio: 4 / 5;
        max-width: 100%;
        margin: 0;
    }
}

/* Utility Helpers */
.fixed { position: fixed; }
.relative { position: relative; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.w-full { width: 100%; }
.h-20 { height: 5rem; }
.h-full { height: 100%; }
.z-50 { z-index: 50; }

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

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

.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3-5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-36 { padding-top: 9rem; }
.pb-20 { padding-bottom: 5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-16 { padding-top: 4rem; }
.mt-16 { margin-top: 4rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-white-10 { border-color: rgba(255, 255, 255, 0.1); }

.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }

.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.bg-brand-bg-90 { background-color: rgba(47, 51, 48, 0.9); }
.bg-white-10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-white-5 { background-color: rgba(255, 255, 255, 0.05); }
.bg-black-30 { background-color: rgba(0, 0, 0, 0.3); }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }
.font-normal { font-weight: 400; }
.italic { font-style: italic; }

.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.leading-105 { line-height: 1.05; }
.leading-relaxed { line-height: 1.625; }

.object-cover { object-fit: cover; }

.transition-colors { transition-property: color, background-color, border-color; transition-duration: 150ms; }
.transition-all { transition-property: all; transition-duration: 150ms; }

a { color: inherit; text-decoration: inherit; }
a:hover { cursor: pointer; }
.hover-text-accent:hover { color: #D4FF00; }
.hover-underline:hover { text-decoration: underline; }

/* Marquee Container */
.marquee-wrapper {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
}

/* Card Styling */
.card-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    transition: border-color 200ms ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 0;
}
.card-box:hover {
    border-color: rgba(212, 255, 0, 0.4);
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

/* Card preview images: grayscale by default, full color & subtle zoom on hover */
.card-img-wrapper {
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.05);
}

.card-preview-img {
    filter: grayscale(100%);
    opacity: 0.85;
    transition: filter 400ms ease, transform 400ms ease, opacity 400ms ease;
}

.card-box:hover .card-preview-img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.03);
}

/* Full-Bleed Visual Cards */
.fullbleed-card {
    position: relative;
    min-height: 480px;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 300ms ease, box-shadow 300ms ease, transform 300ms ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.25rem 1.75rem 2rem 1.75rem;
    background-color: #242825;
}

@media (max-width: 639px) {
    .fullbleed-card {
        min-height: 420px;
        padding: 1.75rem 1.25rem 1.5rem 1.25rem;
    }
}

.fullbleed-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(85%) brightness(0.65);
    transition: filter 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.fullbleed-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(36, 40, 37, 0.08) 0%, rgba(36, 40, 37, 0.55) 45%, rgba(20, 23, 21, 0.95) 88%);
    z-index: 2;
    pointer-events: none;
}

.fullbleed-card:hover {
    border-color: rgba(212, 255, 0, 0.6);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 255, 0, 0.12);
    transform: translateY(-4px);
}

.fullbleed-card:hover .fullbleed-bg {
    filter: grayscale(0%) brightness(0.9);
    transform: scale(1.05);
}

.fullbleed-content {
    position: relative;
    z-index: 3;
}

.text-white { color: #FFFFFF; }

/* Snake Canvas Styling */
#snake-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    opacity: 0.18;
}

header, section, div, footer {
    position: relative;
    z-index: 10;
}

/* Contact & Social Action Buttons & Tooltip */
.copy-email-btn,
.social-link-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #A3A8A4;
    text-decoration: none;
    cursor: pointer;
    transition: all 150ms ease-in-out;
}

.copy-email-btn:hover,
.social-link-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #D4FF00;
    border-color: rgba(212, 255, 0, 0.4);
}

.copy-email-btn.copied {
    background: rgba(212, 255, 0, 0.15);
    color: #D4FF00;
    border-color: #D4FF00;
}

.copy-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #1B1E1C;
    color: #F4F4F0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.75rem;
    letter-spacing: 0.025em;
    padding: 0.35rem 0.65rem;
    border-radius: 0.375rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 150ms ease, transform 150ms ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 20;
}

.copy-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 4px;
    border-style: solid;
    border-color: #1B1E1C transparent transparent transparent;
}

.copy-email-btn:hover .copy-tooltip,
.copy-email-btn.show-tooltip .copy-tooltip,
.social-link-btn:hover .copy-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-2px);
}

/* ==========================================================================
   Ticker / Divider Alternatieven (blois.nl)
   ========================================================================== */

/* Optie 1: Data-Meetlat (Cartographic Scale / Ticks) */
.element-ruler-wrapper {
    background: rgba(0, 0, 0, 0.22);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.85rem 0 1rem 0;
    width: 100%;
}
.ruler-container {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.ruler-track {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 18px;
    position: relative;
    padding: 0 4px;
}
.ruler-track::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}
.ruler-tick {
    position: relative;
    background: rgba(255, 255, 255, 0.25);
    width: 1px;
    height: 6px;
    z-index: 2;
}
.ruler-tick.major {
    height: 13px;
    background: rgba(255, 255, 255, 0.6);
}
.ruler-tick.major.accent {
    background: #D4FF00;
    width: 2px;
    box-shadow: 0 0 8px rgba(212, 255, 0, 0.6);
}
.ruler-tick.major::before {
    content: attr(data-val);
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.62rem;
    color: #A3A8A4;
    letter-spacing: 0.05em;
}
.ruler-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.68rem;
    color: #A3A8A4;
    letter-spacing: 0.06em;
    padding: 0 4px;
}
.coord-pill {
    color: #D4FF00;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.coord-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #D4FF00;
    display: inline-block;
}

/* Optie 2: Subtiele Accentstreep (Minimalist Hairline) */
.element-hairline-wrapper {
    padding: 1.5rem 0;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.hairline-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 80rem;
    margin: 0 auto;
}
.hairline-side {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.18) 50%, rgba(255, 255, 255, 0.02) 100%);
}
.hairline-center {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #A3A8A4;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.hairline-diamond {
    width: 6px;
    height: 6px;
    background: #D4FF00;
    transform: rotate(45deg);
    display: inline-block;
    box-shadow: 0 0 8px rgba(212, 255, 0, 0.6);
}

/* Optie 3: Statische Focus-Tags */
.element-tags-wrapper {
    background: rgba(0, 0, 0, 0.28);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}
.tags-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}
.static-tag {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.45rem 0.9rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #D2D5D2;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}
.static-tag:hover {
    border-color: rgba(212, 255, 0, 0.4);
    color: #FFFFFF;
    background: rgba(212, 255, 0, 0.06);
    transform: translateY(-1px);
}
.static-tag .tag-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #D4FF00;
}
.static-tag.highlight {
    border-color: rgba(212, 255, 0, 0.25);
    background: rgba(212, 255, 0, 0.05);
}

/* Optie 4: Zwitsers Metadataraster */
.element-spec-wrapper {
    background: rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 0;
}
.spec-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}
@media (min-width: 640px) {
    .spec-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 1024px) {
    .spec-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
.spec-item {
    padding: 0.5rem 1rem;
    border-left: 2px solid rgba(255, 255, 255, 0.12);
    transition: border-left-color 0.2s ease;
}
.spec-item:hover {
    border-left-color: #D4FF00;
}
.spec-label {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #D4FF00;
    display: block;
    margin-bottom: 0.2rem;
}
.spec-val {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.01em;
}
.spec-sub {
    font-size: 0.75rem;
    color: #A3A8A4;
    display: block;
    margin-top: 0.15rem;
}

/* Optie 5: Sectie-Indicator */
.element-indicator-wrapper {
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.85rem 0;
}
.indicator-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #A3A8A4;
}
.indicator-left {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}
.indicator-pill {
    background: rgba(212, 255, 0, 0.12);
    color: #D4FF00;
    border: 1px solid rgba(212, 255, 0, 0.3);
    padding: 0.2rem 0.55rem;
    border-radius: 0.25rem;
    font-weight: 600;
}
.indicator-right {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #E0E2E0;
    text-decoration: none;
    transition: color 0.15s ease;
}
.indicator-right:hover {
    color: #D4FF00;
}
.indicator-arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}
.indicator-right:hover .indicator-arrow {
    transform: translateY(2px);
}

