/* ══════════════════════════════════════
   Executive — Single Viewport
   ══════════════════════════════════════ */

/* ── Fonts ── */
@font-face {
    font-family: "Geist Pixel Square";
    src: url('font/GeistPixel-Square.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Grissee";
    src: url('font/MNGrissee-Regular.otf');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Grissee";
    src: url('font/MNGrissee-ExtraBold.otf');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: "Grissee";
    src: url('font/MNGrissee-Thin.otf');
    font-weight: 200;
    font-display: swap;
}

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

body {
    font-family: 'Geist Pixel Square', 'Inter', monospace;
    font-size: 16px;
    line-height: 1.6;
    color: #111;
    background: #fff;
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: rgba(0, 0, 0, 0.08);
    color: #000;
}

.at {
    font-family: 'Inter', Arial, sans-serif;
}

/* ── Canvas ── */
#field {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.grain {
    position: fixed;
    inset: -50%;
    width: 200%;
    height: 200%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.025;
    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-repeat: repeat;
}

/* ══════════════════════════════════════
   Card — the whole page is one card
   ══════════════════════════════════════ */
.card {
    position: relative;
    z-index: 2;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10vw;
    gap: 48px;
    opacity: 0;
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

/* ── Role bar ── */
.card-role {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #999;
}

/* ── Two-column body ── */
.card-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* ── Left: Identity ── */
.card-identity {
    display: flex;
    align-items: center;
    gap: 24px;
}

.card-photo-wrap {
    position: relative;
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
}

.card-photo-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0,0,0,0.001);
    cursor: default;
}

.card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(100%);
    transition: filter 0.4s ease;
    -webkit-user-drag: none;
    user-select: none;
}

.card-photo-wrap:hover .card-photo {
    filter: grayscale(0%);
}

.card-left h1 {
    font-family: "Grissee";
    font-weight: 800;
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: 0.9;
    letter-spacing: -3px;
    color: #111;
}

.card-catch {
    margin-top: 28px;
    font-size: 15px;
    color: #666;
    max-width: 320px;
    line-height: 1.7;
}

.card-meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 13px;
    color: #999;
    letter-spacing: 0.5px;
}

.dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #111;
    animation: blink 2.5s ease-in-out infinite;
}

/* ── Right: Details ── */
.card-right {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-top: 12px;
}

.card-section h2 {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #999;
    margin-bottom: 10px;
}

.card-section ul {
    list-style: none;
}

.card-section ul li {
    font-size: 14px;
    padding: 3px 0;
}

.card-section ul li a {
    color: #444;
    text-decoration: none;
    transition: color 0.2s ease;
}

.card-section ul li a:hover {
    color: #000;
}

.card-section p {
    font-size: 14px;
    color: #444;
}

.cred-link {
    color: #444;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cred-link:hover {
    color: #000;
}

.cred-muted {
    color: #999;
}

.cred-muted:hover {
    color: #666;
}

.card-muted {
    color: #999 !important;
    font-size: 13px !important;
    margin-top: 2px;
}

/* ── Contact row ── */
.card-contact {
    padding-top: 12px;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-contact h2 {
    display: none;
}

.card-links {
    display: flex;
    gap: 20px;
}

.card-links a {
    font-size: 13px;
    color: #999;
    text-decoration: none;
    transition: color 0.2s ease;
}

.card-links a:hover {
    color: #111;
}

.card-email {
    font-family: "Grissee";
    font-weight: 200;
    font-size: 15px;
    color: #444;
    text-decoration: none;
    letter-spacing: -0.3px;
    transition: color 0.2s ease;
}

.card-email:hover {
    color: #000;
}

/* ══════════════════════════════════════
   Keyframes
   ══════════════════════════════════════ */
@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}


/* ══════════════════════════════════════
   Responsive — Tablet
   ══════════════════════════════════════ */
@media (max-width: 1024px) {
    .card {
        padding: 0 6vw;
    }

    .card-body {
        gap: 48px;
    }

    .card-left h1 {
        font-size: clamp(3rem, 7vw, 5rem);
        letter-spacing: -2px;
    }
}

/* ══════════════════════════════════════
   Responsive — Mobile
   ══════════════════════════════════════ */
@media (max-width: 768px) {
    body {
        overflow: auto;
        height: auto;
    }

    .card {
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
        padding: 48px 24px;
        gap: 40px;
        justify-content: flex-start;
        padding-top: 80px;
    }

    .card-body {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .card-left h1 {
        font-size: clamp(3rem, 15vw, 5rem);
        letter-spacing: -2px;
    }

    .card-photo-wrap {
        width: 68px;
        height: 68px;
    }

    .card-identity {
        gap: 16px;
    }

    .card-catch {
        max-width: 100%;
        font-size: 14px;
    }

    .card-right {
        padding-top: 0;
        gap: 28px;
    }
}

/* ══════════════════════════════════════
   Responsive — Small phones
   ══════════════════════════════════════ */
@media (max-width: 380px) {
    .card {
        padding: 40px 20px;
        padding-top: 60px;
    }

    .card-left h1 {
        font-size: clamp(2.5rem, 16vw, 4rem);
    }
}
