@font-face {
    font-family: 'Artemis Inter';
    src: url('fonts/Artemis_Inter.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.home-visual-section {
    position: relative;
}

.home-visual-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
    align-items: center;
    gap: 28px;
    padding: 28px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.14), transparent 34%),
        linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(12, 18, 32, 0.98));
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.28);
    overflow: hidden;
}

.home-visual-copy {
    position: relative;
    z-index: 1;
}

.home-visual-kicker {
    margin-bottom: 10px;
    color: #7dd3fc;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
}

.home-visual-lead {
    margin-bottom: 14px;
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    line-height: 1.3;
    color: #f8fafc;
}

.home-photo-card {
    position: relative;
    margin: 0;
    padding: 14px 14px 18px;
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 20px 48px rgba(2, 6, 23, 0.36);
}

.home-photo-card::before {
    content: '';
    position: absolute;
    inset: auto -14% -18% auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(125, 211, 252, 0.12);
    filter: blur(10px);
    pointer-events: none;
}

.home-photo-card img {
    position: relative;
    z-index: 1;
    width: 100%;
    display: block;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 18px;
    filter: saturate(1.05) contrast(1.05);
}

.home-photo-card figcaption {
    position: relative;
    z-index: 1;
    margin-top: 12px;
    color: #cbd5e1;
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

@media (max-width: 700px) {
    .home-visual-layout {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }

    .home-photo-card {
        max-width: 420px;
        width: 100%;
        margin: 0 auto;
    }
}
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #0f172a;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    color: #f8fafc;
    font-family: 'Zen Maru Gothic', sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.header {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    font-size: 1.7rem;
    font-weight: 700;
    font-family: 'Artemis Inter', 'Zen Maru Gothic', sans-serif;
    letter-spacing: 0.02em;
    transition: opacity 0.2s ease;
}

.logo a:hover {
    opacity: 0.7;
}

.nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav a {
    font-size: 1.05rem;
    font-family: 'Artemis Inter', 'Zen Maru Gothic', sans-serif;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.nav a:hover {
    color: #f8fafc;
}

.nav a.active {
    color: #f8fafc;
    font-weight: 700;
}

main {
    display: grid;
    gap: 64px;
}

.section {
    margin-bottom: 0;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Artemis Inter', 'Zen Maru Gothic', sans-serif;
    margin-bottom: 30px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.about-content {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
}

@media (max-width: 500px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .nav {
        gap: 10px 14px;
    }
}

.profile-icon {
    display: flex;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

@media (max-width: 500px) {
    .profile-icon {
        justify-content: flex-start;
    }
}

.profile-icon img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
}

.photo-note {
    position: absolute;
    left: 50%;
    top: -16px;
    transform: translate(-50%, -100%);
    background-color: #1e293b;
    color: #e2e8f0;
    font-size: 0.78rem;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid #334155;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.photo-note::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 10px;
    height: 10px;
    background-color: #1e293b;
    border-right: 1px solid #334155;
    border-bottom: 1px solid #334155;
    transform: translateX(-50%) rotate(45deg);
}

.photo-note.show {
    opacity: 1;
}

.profile-icon:hover img {
    animation: record-spin 1.8s linear infinite;
}

@keyframes record-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.bio p {
    margin-bottom: 10px;
}

.bio-meta {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 12px;
}

.bio p:last-child {
    margin-bottom: 0;
}

.contact-lead {
    color: #94a3b8;
    margin-bottom: 30px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: rgba(30, 41, 59, 0.75);
    padding: 20px;
    border-radius: 16px;
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.22s ease;
    cursor: grab;
    user-select: none;
    touch-action: none;
    -webkit-user-drag: none;
    will-change: transform;
}

.contact-card:hover {
    transform: translateY(-4px);
    background-color: rgba(51, 65, 85, 0.82);
}

.contact-card.pressing {
    transform: translateY(-6px) scale(1.015);
    background-color: rgba(51, 65, 85, 0.82);
    box-shadow: 0 10px 20px rgba(2, 6, 23, 0.28);
}

.contact-card.dragging-follow {
    cursor: grabbing;
    position: fixed;
    margin: 0;
    transform: translateY(-12px) scale(1.03);
    background-color: #334155;
    transition: none;
    pointer-events: none;
    opacity: 0.97;
    box-shadow: 0 20px 36px rgba(2, 6, 23, 0.45);
    z-index: 999;
}

.contact-card-placeholder {
    border: 0;
    background: transparent;
    border-radius: 16px;
}

.contact-card.inbound-priority {
    animation: inbound-priority-pop 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

body.is-outbound-animating {
    overflow: hidden;
}

body.is-outbound-animating .container {
    filter: blur(2.6px) brightness(0.78) saturate(0.9);
    transform: scale(0.986);
    transition: filter 0.95s cubic-bezier(0.22, 1, 0.36, 1), transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}

.outbound-stage {
    --start-left: 0px;
    --start-top: 0px;
    --start-width: 200px;
    --start-height: 100px;
    --stage-background: #1e293b;
    position: fixed;
    left: var(--start-left);
    top: var(--start-top);
    width: var(--start-width);
    height: var(--start-height);
    border-radius: 16px;
    background:
        radial-gradient(circle at 50% 42%, rgba(148, 163, 184, 0.1), rgba(15, 23, 42, 0) 46%),
        linear-gradient(145deg, var(--stage-background), #020617 92%);
    box-shadow: 0 16px 30px rgba(2, 6, 23, 0.38);
    display: grid;
    place-items: center;
    pointer-events: none;
    z-index: 1200;
    overflow: hidden;
    transform-origin: center center;
    will-change: transform, filter, box-shadow;
}

.outbound-stage::before,
.outbound-stage::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.outbound-stage::before {
    background: radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0) 26%, rgba(2, 6, 23, 0.62) 78%, rgba(2, 6, 23, 0.9) 100%);
    opacity: 0;
    z-index: 0;
}

.outbound-stage::after {
    background-image:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.028) 0 1px, rgba(255, 255, 255, 0) 1px 4px),
        repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.02) 0 1px, rgba(148, 163, 184, 0) 1px 3px);
    mix-blend-mode: soft-light;
    opacity: 0;
    z-index: 1;
}

.outbound-stage.is-expanding {
    animation: outbound-expand-stage 1.35s cubic-bezier(0.2, 0.9, 0.25, 1) forwards;
}

.outbound-stage.is-launching {
    left: 0;
    top: 0;
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
    animation: outbound-stage-immerse 1.3s cubic-bezier(0.19, 0.72, 0.2, 1) forwards;
}

.outbound-stage.is-launching::before {
    animation: outbound-vignette-rise 1.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.outbound-stage.is-launching::after {
    animation: outbound-grain-drift 1.3s linear forwards;
}

.outbound-stage-content {
    width: min(86vw, 540px);
    display: grid;
    gap: 16px;
    justify-items: center;
    text-align: center;
    color: #f8fafc;
    opacity: 0;
    transform: translateY(18px) scale(0.96);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    z-index: 2;
    isolation: isolate;
}

.outbound-stage.is-expanding .outbound-stage-content,
.outbound-stage.is-launching .outbound-stage-content {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.outbound-stage-icon {
    width: 88px;
    height: 88px;
    border-radius: 0;
    background: transparent;
    background-color: transparent;
    color: #e2e8f0;
    display: grid;
    place-items: center;
    box-shadow: none;
    position: relative;
    z-index: 3;
    overflow: visible;
    transform-origin: center center;
    backface-visibility: hidden;
    will-change: transform, border-radius, box-shadow, background;
}

.outbound-stage .outbound-stage-icon {
    background-color: transparent;
}

.outbound-stage-icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.08);
    background: radial-gradient(circle, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.9) 62%, rgba(15, 23, 42, 0.72) 100%);
    opacity: 0;
    z-index: -1;
}

.outbound-stage-icon::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 136px;
    height: 136px;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    background: radial-gradient(circle, rgba(191, 219, 254, 0.34) 0%, rgba(125, 211, 252, 0.14) 45%, rgba(125, 211, 252, 0) 72%);
    opacity: 0;
    z-index: -2;
}

.outbound-stage-icon svg {
    width: 42px;
    height: 42px;
    filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.35));
    overflow: visible;
    shape-rendering: geometricPrecision;
    transform-origin: center center;
    backface-visibility: hidden;
    will-change: transform, opacity, filter;
}

.outbound-stage-title {
    font-size: clamp(1.6rem, 5vw, 2.8rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    text-shadow: 0 10px 24px rgba(2, 6, 23, 0.36);
}

.outbound-stage-subtitle {
    font-size: clamp(0.9rem, 1.8vw, 1.05rem);
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.outbound-stage.is-launching .outbound-stage-title,
.outbound-stage.is-launching .outbound-stage-subtitle {
    animation: outbound-copy-fade 1.3s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.outbound-stage.is-launching .outbound-stage-icon {
    animation: outbound-logo-pop 1.3s cubic-bezier(0.2, 0.82, 0.2, 1) forwards;
}

.outbound-stage.is-launching .outbound-stage-icon::before {
    animation: outbound-logo-bloom 1.3s cubic-bezier(0.24, 0.04, 0.14, 1) forwards;
}

.outbound-stage.is-launching .outbound-stage-icon::after {
    animation: outbound-logo-swallow 1.3s cubic-bezier(0.24, 0.04, 0.14, 1) forwards;
}

.outbound-stage.is-launching .outbound-stage-icon svg {
    animation: outbound-logo-core 1.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes inbound-priority-pop {
    0% {
        transform: translateY(-10px) scale(1.03);
        box-shadow: 0 16px 30px rgba(14, 165, 233, 0.28);
    }

    100% {
        transform: translateY(0) scale(1);
        box-shadow: none;
    }
}

@keyframes outbound-expand-stage {
    0% {
        left: var(--start-left);
        top: var(--start-top);
        width: var(--start-width);
        height: var(--start-height);
        border-radius: 16px;
        box-shadow: 0 14px 28px rgba(2, 6, 23, 0.38);
    }

    100% {
        left: 0;
        top: 0;
        width: 100vw;
        height: 100dvh;
        border-radius: 0;
        box-shadow: 0 26px 42px rgba(2, 6, 23, 0.52);
    }
}

@keyframes outbound-stage-immerse {
    0% {
        transform: translateX(0) scale(1);
        filter: saturate(1) brightness(1);
    }

    55% {
        transform: translateX(0) scale(1.003);
        filter: saturate(1.04) brightness(0.985);
    }

    100% {
        transform: translateX(0) scale(1.01);
        filter: saturate(1.08) brightness(0.94);
    }
}

@keyframes outbound-logo-pop {
    0% {
        transform: scale(1);
        border-radius: 0;
        box-shadow: none;
    }

    24% {
        transform: scale(0.94);
        border-radius: 0;
        box-shadow: none;
    }

    62% {
        transform: scale(1.24);
        border-radius: 0;
        box-shadow: none;
    }

    100% {
        transform: scale(2.75);
        border-radius: 0;
        box-shadow: none;
    }
}

@keyframes outbound-logo-bloom {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }

    58% {
        transform: translate(-50%, -50%) scale(1.9);
        opacity: 0.7;
    }

    100% {
        transform: translate(-50%, -50%) scale(4.8);
        opacity: 0;
    }
}

@keyframes outbound-logo-swallow {
    0% {
        transform: translate(-50%, -50%) scale(0.08);
        opacity: 0;
    }

    42% {
        transform: translate(-50%, -50%) scale(0.56);
        opacity: 0.52;
    }

    72% {
        transform: translate(-50%, -50%) scale(7.8);
        opacity: 0.88;
    }

    100% {
        transform: translate(-50%, -50%) scale(40);
        opacity: 1;
    }
}

@keyframes outbound-copy-fade {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    48% {
        opacity: 1;
        transform: translateY(-2px) scale(0.995);
    }

    100% {
        opacity: 0;
        transform: translateY(-12px) scale(0.92);
    }
}

@keyframes outbound-logo-core {
    0% {
        transform: scale(1);
        opacity: 1;
        filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.35));
    }

    78% {
        transform: scale(1.42);
        opacity: 1;
        filter: drop-shadow(0 18px 30px rgba(15, 23, 42, 0.42));
    }

    100% {
        transform: scale(1.92);
        opacity: 0;
        filter: drop-shadow(0 24px 36px rgba(15, 23, 42, 0.44));
    }
}

@keyframes outbound-vignette-rise {
    0% {
        opacity: 0;
    }

    55% {
        opacity: 0.48;
    }

    100% {
        opacity: 0.78;
    }
}

@keyframes outbound-grain-drift {
    0% {
        opacity: 0;
        transform: translate(0, 0);
    }

    30% {
        opacity: 0.28;
        transform: translate(-6px, 4px);
    }

    100% {
        opacity: 0.4;
        transform: translate(-16px, 9px);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.is-outbound-animating .container {
        filter: none;
        transform: none;
        transition: none;
    }

}

/* ── Page transitions ──────────────────────────────── */
@keyframes page-enter {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    animation: page-enter 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.is-nav-leaving .container {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .container {
        animation: none;
    }

    body.is-nav-leaving .container {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0f172a;
    border-radius: 12px;
    flex-shrink: 0;
    color: #94a3b8;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.72rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.colophon-intro {
    color: #e2e8f0;
    margin-bottom: 10px;
}

.colophon-intro br {
    display: block;
    margin-bottom: 0.8em;
    content: '';
}

.colophon-intro:last-child {
    margin-bottom: 0;
}

.colophon-intro a,
.colophon-notes a,
.colophon-list a {
    color: #38bdf8;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.colophon-intro a:hover,
.colophon-notes a:hover,
.colophon-list a:hover {
    color: #7dd3fc;
}

.colophon-list {
    display: grid;
    grid-template-columns: minmax(110px, 140px) 1fr;
    gap: 10px 14px;
    border-top: 1px solid #334155;
    padding-top: 12px;
}

.colophon-list dt {
    color: #94a3b8;
    font-size: 0.9rem;
}

.colophon-list dd {
    margin: 0;
}

.colophon-notes {
    list-style: disc;
    padding-left: 1.2rem;
    display: grid;
    gap: 8px;
    border-top: 1px solid #334155;
    padding-top: 12px;
}

.colophon-policy {
    border-top: 1px solid #334155;
    padding-top: 12px;
    max-width: 68ch;
}

.colophon-policy p {
    margin-bottom: 14px;
    color: #e2e8f0;
}

.colophon-policy p:last-child {
    margin-bottom: 0;
}

.colophon-policy a {
    color: #38bdf8;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.colophon-policy a:hover {
    color: #7dd3fc;
}

.alliance-banner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.alliance-banner-item {
    display: grid;
    gap: 8px;
    align-content: start;
}

.alliance-banner-item img {
    width: 200px;
    max-width: 100%;
    height: auto;
    border: 1px solid #334155;
}

.alliance-banner-placeholder {
    width: 200px;
    max-width: 100%;
    min-height: 40px;
    display: grid;
    place-items: center;
    border: 1px dashed #475569;
    color: #94a3b8;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.alliance-banner-name {
    font-size: 0.86rem;
    color: #cbd5e1;
}

.contact-value {
    font-size: 1.08rem;
    font-weight: 700;
}

.footer {
    text-align: center;
    margin-top: 100px;
    color: #64748b;
    font-size: 1rem;
}

.footer-image-credit {
    margin-top: 6px;
    font-family: 'Artemis Inter', sans-serif;
    font-size: 0.95rem;
    color: #475569;
}

/* ── Now page pager ────────────────────────────────── */
.now-pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 48px;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 12px 18px;
    background-color: #0d1929;
}

.now-pager-btn {
    font-size: 0.88rem;
    color: #38bdf8;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.18s ease;
}

.now-pager-btn:hover {
    color: #7dd3fc;
}

.now-pager-btn.is-disabled {
    color: #334155;
    cursor: default;
    pointer-events: none;
}

.now-pager-current {
    font-size: 0.82rem;
    color: #64748b;
    text-align: center;
    flex: 1;
}