


.password-gate {
    position: fixed;
    inset: 0;
    z-index: var(--z-gate);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: var(--canvas);
    transition: opacity 0.5s ease, visibility 0.5s ease;
    padding: 10vh var(--page-gutter) 4vh;
    gap: var(--space-xl);
}

.password-gate.unlocked {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.gate-theme-toggle {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    z-index: 2;
}

.password-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
    padding: 0;
    position: relative;
    z-index: 1;
    max-width: 640px;
    width: 100%;
    margin-top: auto;
}

.gate-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.gate-time {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.12em;
    color: var(--on-dark);
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
    display: inline-flex;
    align-items: baseline;
    gap: 0.4em;
    white-space: nowrap;
    text-transform: uppercase;
}

.gate-time-period {
    font-size: 1em;
    font-family: var(--font-mono);
    letter-spacing: 0.12em;
    color: var(--muted);
    text-transform: uppercase;
    margin-top: 0;
    align-self: baseline;
}

.gate-location {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    letter-spacing: 0.02em;
    color: var(--muted);
    min-height: 1.2em;
    margin-top: var(--space-xs);
}

.password-avatar {
    width: 96px;
    height: 96px;
    border-radius: 9999px;
    overflow: hidden;
    margin: 0;
    background: var(--surface-card);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.password-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gate-name {
    font-family: var(--font-body);
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--on-dark);
    text-transform: none;
    margin: 0;
}

.gate-tagline {
    margin: 0;
    margin-top: calc(var(--space-xs) - var(--space-md));
    font-family: var(--font-body);
    font-size: var(--text-md);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: normal;
    text-transform: none;
    color: var(--muted);
}

.gate-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm) var(--space-md);
    margin: 0;
}

.gate-socials a {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.gate-socials a:hover {
    color: var(--on-dark);
}

.password-input {
    display: block;
    width: 280px;
    max-width: 100%;
    margin-top: var(--space-sm);
    font-family: var(--font-mono);
    font-size: var(--text-base);
    letter-spacing: 4px;
    text-align: center;
    color: var(--on-dark);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    padding: 14px 24px;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.password-input:focus {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.09);
}

.password-input::placeholder {
    color: var(--muted-soft);
    letter-spacing: 2px;
    text-transform: none;
}

.password-error {
    margin-top: var(--space-md);
    color: var(--error);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.password-error.visible {
    opacity: 1;
}

/* Hero */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px var(--page-gutter);
    position: relative;
    overflow: hidden;
}

.gestalt-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-base);
    opacity: 0.55;
    -webkit-mask-image: linear-gradient(to bottom, white 50%, transparent 100%);
    mask-image: linear-gradient(to bottom, white 50%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: var(--z-above);
    text-align: center;
    padding-inline: var(--space-lg);
}

.hero-content .caption {
    margin-bottom: var(--space-lg);
}

.hero-content .display-xl {
    color: transparent;
    user-select: none;
    position: relative;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 1;
    max-width: 100%;
    height: auto;
}

/* Origin */

.origin {
    min-height: 160vh;
    position: relative;
    padding: 0;
}

.origin-content {
    position: sticky;
    top: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 640px;
    margin: 0 auto;
    padding: var(--space-section) var(--page-gutter);
    text-align: center;
}

.origin-content .body-text {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: normal;
    margin-top: 1.25em;
    margin-bottom: 1.25em;
}

.origin-content .body-text:first-child {
    margin-top: 0;
}

.origin-content .body-text:last-child {
    margin-bottom: 0;
}

.origin-word {
    display: inline-block;
    opacity: var(--word-opacity, 0.12);
    transition: opacity 0.15s linear;
}

.signature {
    margin-top: var(--space-xxl);
    width: 100%;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.signature-svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

.signature-svg .sig-stroke {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}

.signature.signing .sig-stroke {
    animation: drawSignature 3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes drawSignature {
    to {
        stroke-dashoffset: 0;
    }
}

.signature-svg .sig-dot {
    opacity: 0;
}

.signature.signing .sig-dot {
    animation: dotAppear 0.15s ease forwards;
    animation-delay: 2.1s;
}

@keyframes dotAppear {
    to {
        opacity: 1;
    }
}

/* Scroll cards */

.apple-work,
.past-work {
    padding: var(--space-section) 0;
}

.apple-work .section-header,
.past-work .section-header {
    position: relative;
}

.scroll-nav {
    position: absolute;
    right: var(--page-gutter);
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
}

.scroll-nav.is-hidden {
    display: none;
}

.scroll-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    color: var(--on-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
    padding: 0;
}

.scroll-nav-btn:hover:not(:disabled) {
    background: var(--surface-elevated);
    border-color: var(--hairline-strong);
    transform: scale(1.05);
}

.scroll-nav-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.scroll-nav-progress {
    width: 80px;
    height: 2px;
    background: var(--hairline);
    border-radius: 2px;
    overflow: hidden;
}

.scroll-nav-progress-fill {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--on-dark);
    transform: scaleX(0.02);
    transform-origin: left center;
    transition: transform 0.25s ease;
}

@media (max-width: 734px) {
    .scroll-nav {
        display: none;
    }
}

.past-work .project-card {
    width: 372px;
}

.past-work .project-card--wide {
    width: 776px;
}

.past-work .project-card-visual {
    height: 450px;
}

.scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    contain: layout;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

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

.scroll-track {
    display: flex;
    gap: var(--space-xl);
    padding: 0 var(--page-gutter);
    padding-left: max(var(--page-gutter), calc((100vw - var(--max-width)) / 2 + var(--page-gutter)));
    padding-right: max(var(--page-gutter), calc((100vw - var(--max-width)) / 2 + var(--page-gutter)));
    width: max-content;
}

.past-work .project-card--portrait {
    width: var(--card-portrait-width);
}

.past-work .project-card--portrait .project-card-visual {
    width: 100%;
    margin-bottom: var(--space-sm);
}

.past-work .project-card--portrait .project-card-info {
    max-width: var(--card-portrait-width);
}

.past-work .project-card--portrait .card-body {
    max-width: var(--card-portrait-width);
}

/* Interaction design */

.interaction-design {
    padding: var(--space-section) var(--page-gutter);
    max-width: var(--max-width);
    margin: 0 auto;
}

.interaction-design .section-header {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
}

.fullbleed-video-wrap {
    position: relative;
    display: block;
    color: inherit;
    text-decoration: none;
    padding: 2px;
    border-radius: calc(var(--radius-xl) + 2px);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
    transform-style: preserve-3d;
    background: linear-gradient(
        165deg,
        rgba(255, 255, 255, 0.45) 0%,
        rgba(255, 255, 255, 0.12) 20%,
        rgba(255, 255, 255, 0.03) 40%,
        rgba(255, 255, 255, 0.0) 50%,
        rgba(255, 255, 255, 0.04) 65%,
        rgba(255, 255, 255, 0.2) 85%,
        rgba(255, 255, 255, 0.35) 100%
    );
    box-shadow:
        0 30px 100px -20px rgba(0, 0, 0, 0.7),
        0 60px 140px -30px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    transform: translateY(-12px);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.fullbleed-video-wrap::before {
    content: '';
    position: absolute;
    inset: -40px -20px;
    border-radius: 80px;
    background: radial-gradient(ellipse at 50% 120%, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    filter: blur(30px);
    pointer-events: none;
    z-index: -1;
}

.fullbleed-video-wrap::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    border-radius: 1px;
    pointer-events: none;
    z-index: var(--z-overlay);
}

.fullbleed-video-wrap:hover {
    transform: translateY(-18px);
    box-shadow:
        0 40px 120px -20px rgba(0, 0, 0, 0.8),
        0 80px 160px -40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.fullbleed-video {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(255, 255, 255, 0.05);
    background: var(--surface-soft);
}

.fullbleed-video::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 30%);
    pointer-events: none;
    z-index: var(--z-content);
}

.fullbleed-video::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    pointer-events: none;
    z-index: var(--z-above);
}

.video-player {
    width: 100%;
    display: block;
    margin-bottom: -16px;
    background: var(--surface-card);
}

.video-cta {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--z-content);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
}

.video-cta:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Talks */

.talks {
    padding: var(--space-section) var(--page-gutter);
    max-width: var(--max-width);
    margin: 0 auto;
}

.talks .section-header {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
}

.talks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: var(--space-xl);
}

.talk-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
    transform-style: preserve-3d;
}

.talk-card.is-tilting {
    box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.talk-card.is-tilting,
.human-card-visual.is-tilting,
.fullbleed-video-wrap.is-tilting {
    will-change: transform;
}

.talk-card-visual {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    margin-bottom: 0;
    text-decoration: none;
    color: inherit;
}

.talk-card-visual--dark {
    background: var(--surface-soft);
}

.talk-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.talk-card-visual .btn-icon--sm {
    position: relative;
    z-index: var(--z-above);
}

.talk-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    padding-top: var(--space-xl);
    background: linear-gradient(to top, var(--overlay-medium) 0%, transparent 100%);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    z-index: var(--z-content);
    -webkit-mask-image: linear-gradient(to top, black 60%, transparent 100%);
    mask-image: linear-gradient(to top, black 60%, transparent 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.talk-card-info .display-sm {
    font-family: var(--font-body);
    font-size: var(--text-md);
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: normal;
    text-transform: none;
    margin-bottom: 0;
    color: #fff;
}

.talk-card-info .caption {
    font-size: var(--text-md);
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    color: rgba(255, 255, 255, 0.7);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.talk-featured-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.slideshow-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.slideshow-img.active {
    opacity: 1;
}

.project-card-visual--outlook {
    aspect-ratio: 750/1080;
}

.project-card-visual--meae {
    aspect-ratio: 500/1080;
}

.card-play-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: var(--z-content);
}

.slideshow-bg-dark {
    background: var(--surface-soft);
}

.slideshow-bg-light {
    background: #ffffff;
}

.project-card-visual .img-inset {
    inset: auto;
    top: 40px;
    left: 40px;
    right: 40px;
    bottom: 40px;
    width: calc(100% - 80px);
    height: calc(100% - 80px);
    object-fit: contain;
}

.project-card-visual .img-ratings {
    inset: auto;
    top: 0;
    left: 40px;
    right: 40px;
    bottom: 40px;
    width: calc(100% - 80px);
    height: calc(100% - 40px);
    object-fit: contain;
}

.talk-card--featured {
    grid-column: 1;
    grid-row: span 2;
}

.talk-card--featured .talk-card-visual {
    aspect-ratio: 9/16;
    height: auto;
    min-height: unset;
}

.talk-card--featured .talk-card-info .caption {
    color: rgba(255, 255, 255, 0.7);
}

/* Reset button styles for clickable talk card */
button.talk-card-visual {
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
    padding: 0;
    outline-offset: 4px;
}

/* Gallery Lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: var(--z-gate);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: var(--space-md);
}

.gallery-lightbox.is-open {
    display: flex;
    animation: galleryFadeIn 0.2s ease forwards;
}

.gallery-lightbox-figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    flex: 1 1 auto;
    min-height: 0;
    max-width: calc(100vw - 160px);
}

.gallery-lightbox-img {
    max-width: 100%;
    max-height: calc(100vh - 220px);
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.6);
    animation: galleryImgIn 0.25s ease forwards;
}

.gallery-lightbox-counter {
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    letter-spacing: 0.08em;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
    z-index: 2;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: scale(1.05);
}

.gallery-lightbox-close {
    top: var(--space-md);
    right: var(--space-md);
}

.gallery-lightbox-nav {
    top: calc(50% - 110px);
}

.gallery-lightbox-prev { left: var(--space-md); }
.gallery-lightbox-next { right: var(--space-md); }

.gallery-lightbox-thumbs {
    flex-shrink: 0;
    display: flex;
    gap: 8px;
    padding: var(--space-sm) var(--space-md);
    margin-top: var(--space-sm);
    max-width: 100vw;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.gallery-thumb {
    flex: 0 0 auto;
    height: 54px;
    width: auto;
    min-width: 40px;
    border-radius: var(--radius-xs, 12px);
    overflow: hidden;
    padding: 0;
    background: var(--surface-card);
    border: 2px solid transparent;
    opacity: 0.55;
    cursor: pointer;
    transition: opacity 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
    scroll-snap-align: center;
    position: relative;
}

.gallery-thumb img {
    height: 100%;
    width: auto;
    object-fit: cover;
    display: block;
}

.gallery-thumb:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.gallery-thumb.is-active {
    opacity: 1;
    border-color: #fff;
}

body.gallery-open {
    overflow: hidden;
}

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

@keyframes galleryImgIn {
    from { opacity: 0; transform: scale(0.97); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 734px) {
    .gallery-lightbox {
        padding: var(--space-sm);
    }
    .gallery-lightbox-figure {
        max-width: 100vw;
    }
    .gallery-lightbox-img {
        max-height: calc(100vh - 200px);
    }
    .gallery-lightbox-nav {
        width: 38px;
        height: 38px;
    }
    .gallery-lightbox-prev { left: var(--space-xs); }
    .gallery-lightbox-next { right: var(--space-xs); }
    .gallery-thumb {
        height: 42px;
        min-width: 32px;
    }
}

/* Testimonials */

.kind-words {
    padding: var(--space-section) var(--page-gutter);
    max-width: var(--max-width);
    margin: 0 auto;
}

.kind-words .section-header {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: var(--space-xl);
}

.testimonial {
    margin: 0;
    padding: var(--space-xl);
    border-top: none;
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    min-width: 0;
    overflow-wrap: anywhere;
}

.testimonial .body-text {
    margin-bottom: var(--space-lg);
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.testimonial footer cite {
    font-style: normal;
    display: block;
    overflow-wrap: anywhere;
}

/* About */

.the-human {
    padding: var(--space-section) var(--page-gutter);
    max-width: var(--max-width);
    margin: 0 auto;
}

.the-human .section-header {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
}

.human-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.human-card {
    display: block;
    text-decoration: none;
    color: var(--on-dark);
}

.human-card-visual {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    margin-bottom: var(--space-md);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
    transform-style: preserve-3d;
}

.human-card-visual.is-tilting {
    box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.5);
}

.human-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.human-card-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Contact */

.the-close {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-section) var(--page-gutter);
    position: relative;
}

.close-content {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.close-content .caption {
    margin-bottom: var(--space-md);
}

.email-display {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--on-dark);
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-lg) var(--space-xl);
    display: block;
    margin: 0 auto var(--space-md);
    transition: opacity 0.3s ease;
}

.email-display:hover {
    opacity: 0.7;
}

.copy-status.copied {
    color: var(--on-dark);
}

.close-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 0 var(--page-gutter) var(--space-xl);
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}

.footer-links a {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-copy {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.05em;
    color: var(--muted-soft);
}

/* 3D tilt card overlays */

.fullbleed-video-wrap.is-tilting {
    box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.6);
}
