/* Nakamimi creative fullpage */

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

:root {
    --bg: #070c1a;
    --panel: rgba(255, 255, 255, 0.04);
    --panel-strong: rgba(255, 255, 255, 0.08);
    --text: #e7ecf5;
    --muted: #9fb2c7;
    --accent: #4ce3c5;
    --accent-2: #7fc8ff;
    --border: rgba(255, 255, 255, 0.12);
    --shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
    --radius: 16px;
    --font: 'Space Grotesk', 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

html, body {
    height: 100%;
    scroll-behavior: smooth;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
}

body {
    position: relative;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 82px;
}

.bg-texture {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(76, 227, 197, 0.12), transparent 35%),
                radial-gradient(circle at 80% 10%, rgba(127, 200, 255, 0.14), transparent 35%),
                radial-gradient(circle at 60% 70%, rgba(255, 255, 255, 0.06), transparent 35%);
    pointer-events: none;
    z-index: 0;
    filter: blur(0px);
}

.container-xl {
    width: min(1200px, 90vw);
    margin: 0 auto;
}

.nav-glow {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
    background: linear-gradient(180deg, rgba(7, 12, 26, 0.95), rgba(7, 12, 26, 0.7));
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 12px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
}

.brand-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.eyebrow {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.18em;
    color: var(--muted);
}

.nav-links {
    display: flex;
    gap: 22px;
    align-items: center;
}

.nav-links .nav-cta {
    margin-left: 8px;
}

.nav-link {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #4ce3c5, #7fc8ff);
    color: #031021;
    border: none;
    box-shadow: 0 10px 40px rgba(76, 227, 197, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 46px rgba(127, 200, 255, 0.35);
}

.btn-soft {
    background: var(--panel);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-soft:hover {
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

.btn-ghost {
    padding: 10px 16px;
    color: var(--text);
    border: 1px solid var(--border);
    background: transparent;
}

.hero {
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.1;
    margin: 14px 0 16px;
}

.lede {
    color: var(--muted);
    max-width: 640px;
}

.hero-cta {
    margin: 24px 0 10px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.metric {
    padding: 14px 16px;
    border-radius: var(--radius);
    background: var(--panel);
    border: 1px solid var(--border);
}

.metric-value {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.metric-label {
    display: block;
    color: var(--muted);
    margin-top: 2px;
    font-size: 14px;
}

.hero-visual {
    position: relative;
    min-height: 420px;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.8;
}

.orb-lg {
    width: 320px;
    height: 320px;
    top: 10%;
    right: 12%;
    background: radial-gradient(circle, rgba(76, 227, 197, 0.35), rgba(127, 200, 255, 0.1));
}

.orb-md {
    width: 220px;
    height: 220px;
    bottom: 0;
    left: 5%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), rgba(127, 200, 255, 0.1));
}

.hero-card {
    position: absolute;
    inset: 40px;
    padding: 26px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 18px;
    backdrop-filter: blur(10px);
}

.card-label {
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.logo-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.logo-badge {
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--panel-strong);
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 600;
    letter-spacing: -0.01em;
    text-align: center;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.scroll-indicator.hide {
    opacity: 0;
    transform: translate(-50%, 8px);
}

.mouse-icon {
    width: 28px;
    height: 44px;
    border: 1.6px solid var(--accent-2);
    border-radius: 14px;
    position: relative;
    display: flex;
    justify-content: center;
    box-shadow: 0 0 14px rgba(127, 200, 255, 0.35);
}

.mouse-icon .wheel {
    width: 4px;
    height: 9px;
    border-radius: 999px;
    background: var(--accent);
    position: absolute;
    top: 8px;
    animation: wheel 1.6s ease-in-out infinite;
}

.section {
    padding: 80px 0;
    position: relative;
}

.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px;
    align-items: start;
}

.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.pill {
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--panel);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 13px;
}

.about-cards {
    display: grid;
    gap: 14px;
}

.mini-card {
    padding: 18px;
    background: var(--panel);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.mini-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 8px;
}

.works .section-head,
.edge .section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.logo-wall {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.logo-card {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 12px;
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--panel);
    align-items: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.logo-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.28);
}

.logo-mark {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(76, 227, 197, 0.6), rgba(127, 200, 255, 0.6));
    display: grid;
    place-items: center;
    color: #041229;
    font-weight: 700;
}

.edge .bullets,
.contact .bullets {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-top: 14px;
    color: var(--muted);
}

.bullets li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
}

.edge-board {
    display: grid;
    gap: 12px;
}

.board-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.board-card {
    padding: 18px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.contact {
    padding-bottom: 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
}

.contact-card {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--panel);
    padding: 20px;
    box-shadow: var(--shadow);
}

.contact-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.contact-footer {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.bullets.tight {
    gap: 8px;
}

.footer {
    padding: 18px 0 28px;
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(7, 12, 26, 0.9), rgba(7, 12, 26, 0.95));
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-meta {
    color: var(--muted);
    font-size: 14px;
}

.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 22px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: linear-gradient(135deg, rgba(76, 227, 197, 0.9), rgba(127, 200, 255, 0.9));
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.45), 0 0 18px rgba(127, 200, 255, 0.45);
    color: #041229;
    display: grid;
    place-items: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    z-index: 25;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5), 0 0 22px rgba(127, 200, 255, 0.55);
}

.visible {
    animation: fadeUp 0.7s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollLine {
    0% { transform: translateY(-6px); opacity: 0; }
    20% { opacity: 1; }
    70% { transform: translateY(8px); opacity: 1; }
    100% { transform: translateY(10px); opacity: 0; }
}

@keyframes wheel {
    0% { transform: translateY(0); opacity: 1; }
    60% { transform: translateY(10px); opacity: 0; }
    100% { transform: translateY(10px); opacity: 0; }
}

h1, h2, h3, h4, h5 {
    color: var(--text);
    letter-spacing: -0.01em;
}

p {
    color: var(--muted);
}

@media (max-width: 992px) {
    body {
        padding-top: 72px;
    }
    .hero-grid,
    .split,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .hero {
        padding-top: 96px;
    }
    .hero-visual {
        min-height: 320px;
    }
    .nav-inner {
        flex-wrap: wrap;
    }
    .nav-links {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .logo-wall {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .hero-card {
        inset: 20px;
        padding: 20px;
    }
    .orb-lg {
        width: 240px;
        height: 240px;
    }
    .orb-md {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 640px) {
    body {
        padding-top: 68px;
    }
    .container-xl {
        width: 92vw;
    }
    .nav-inner {
        padding: 14px 0;
        gap: 10px;
    }
    .nav-toggle {
        display: flex;
    }
    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        padding: 12px 4vw 18px;
        background: rgba(7, 12, 26, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.2s ease, transform 0.2s ease;
        z-index: 19;
    }
    .nav-links.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
    .nav-links .nav-cta {
        width: 100%;
        margin-left: 0;
    }
    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }
    .btn,
    .btn-primary,
    .btn-soft,
    .btn-ghost {
        width: 100%;
        justify-content: center;
    }
    .hero {
        padding: 88px 0 40px;
    }
    .hero-grid {
        gap: 32px;
    }
    .hero h1 {
        font-size: clamp(26px, 7vw, 34px);
        line-height: 1.15;
    }
    .hero-visual {
        min-height: 260px;
    }
    .hero-card {
        position: relative;
        inset: auto;
        margin-top: 10px;
    }
    .logo-stack {
        grid-template-columns: repeat(1, 1fr);
    }
    .board-row {
        grid-template-columns: 1fr;
    }
    .logo-card {
        grid-template-columns: 50px 1fr;
    }
    .section {
        padding: 60px 0;
    }
    .metric-value {
        font-size: 26px;
    }
    .hero-metrics {
        gap: 10px;
    }
    .orb-lg {
        width: 180px;
        height: 180px;
        right: 8%;
    }
    .orb-md {
        width: 140px;
        height: 140px;
    }
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .footer {
        padding: 16px 0 22px;
    }
    .back-to-top {
        right: 14px;
        bottom: 18px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 10px;
    }
    .pill-group {
        gap: 8px;
    }
    .pill {
        font-size: 12px;
    }
    .logo-card {
        padding: 14px;
    }
    .contact-grid {
        gap: 18px;
    }
    .contact-card {
        padding: 16px;
    }
    .scroll-indicator {
        bottom: 6px;
    }
}
