/* ========================================
   Ramus — Global
   ======================================== */

:root {
    --bg: #111317;
    --bg-elevated: #111317;
    --border: #262626;
    --border-light: #333;
    --fg: #ffffff;
    --fg-muted: rgba(255, 255, 255, 0.4);
    --accent: #f99c30;

    /* Brand tokens (BRAND.md v0.2) */
    --ramus-paper:       #F8F6F1;
    --ramus-ink:         #1A1915;
    --ramus-jelly:       #7FC8D8;
    --ramus-jelly-deep:  #2E6F7F;
    --ramus-jelly-mist:  #E5F3F6;
}

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

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg);
    color: var(--fg);
    overflow: hidden;
}

img { width: 100%; height: 100%; object-fit: cover; }

h1 { font-weight: 500; line-height: 1.05; letter-spacing: -0.03em; }
p  { font-size: 0.9rem; font-weight: 400; line-height: 1.5; }
a  { text-decoration: none; color: var(--fg); }

/* ========================================
   Page System
   ======================================== */

/* Legacy .page class kept for Explore (hidden until Phase 3) */
.page { display: none; min-height: 100vh; }

.page-outro {
    position: relative;
    width: 100%;
    height: 100svh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.page-outro h1 {
    font-size: 3rem;
    text-align: center;
    width: 50%;
}

/* ========================================
   SVG Transition Overlay
   ======================================== */

.transition-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
}

.transition-frost {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    background: rgba(255, 255, 255, 0.15);
    mask: url(#frost-mask);
    -webkit-mask: url(#frost-mask);
}

.transition-darken {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0);
    mask: url(#frost-mask);
    -webkit-mask: url(#frost-mask);
}

.transition-mask-svg {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* ========================================
   Landing (p10 style)
   ======================================== */

.landing-preloader,
.landing-split,
.landing-tags {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
}

.landing-preloader,
.landing-split {
    background-color: var(--bg);
    color: var(--fg);
}

.landing-preloader, .landing-tags { z-index: 102; }
.landing-split { z-index: 101; }

.landing-title {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}

.landing-title h1 {
    font-size: 7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.landing-title .char {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.landing-title .char span {
    position: relative;
    display: inline-block;
    transform: translateY(-110%);
    will-change: transform;
}

.landing-tag {
    position: absolute;
    width: max-content;
    color: var(--fg-muted);
    overflow: hidden;
}

.landing-tag .word {
    position: relative;
    display: inline-block;
    transform: translateY(-110%);
    will-change: transform;
}

.landing-tag p {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.tag-1 { top: 20%; left: 15%; }
.tag-2 { bottom: 25%; left: 25%; }
.tag-3 { bottom: 35%; right: 15%; }

/* ========================================
   Navigation
   ======================================== */

nav {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    padding: 0.75rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 50;
    opacity: 0;
    will-change: opacity;
    mix-blend-mode: difference;
}

nav > div { flex: 1; }

.nav-logo a { display: inline-flex; align-items: center; }
.nav-logo img { height: 1.8rem; width: auto; object-fit: contain; }

.nav-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.nav-links a {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #ffffff;
    transition: opacity 0.3s ease;
}

.nav-links a:hover { opacity: 0.7; }
.nav-links a.active { opacity: 1; }

.nav-end {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
}

.nav-login {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #ffffff;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px) saturate(1.4);
    -webkit-backdrop-filter: blur(12px) saturate(1.4);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
}

.nav-login:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.lang-toggle {
    font-family: "Inter", sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.7);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.lang-toggle:hover {
    color: rgba(255, 255, 255, 1);
}

/* ========================================
   Main (10.12CC) — scoped under #hero
   ======================================== */

#hero {
    --cc-dark: #111317;
    --cc-light: #f9f4eb;
    --cc-light2: #f0ece5;
    /* 与 waitlist 小人 .wl-char-yellow / .wl-char-coral / .wl-char-blue 一致 */
    --wl-card-yellow: #f6d927;
    --wl-card-coral: #dd7b5d;
    --wl-card-blue: #4591fa;
    --cc-accent-1: #e5d9f6;
    --cc-accent-2: #ffd2f3;
    --cc-accent-3: #fcdca6;
    font-family: "DM Sans", sans-serif;
    color: var(--cc-dark);
}
#hero section {
    position: relative; width: 100%; max-width: 100vw; min-height: 100svh;
    padding: 2rem; overflow: hidden;
}
#hero h1 { font-size: 3rem; font-weight: 700; }
#hero h2 { font-size: 2.25rem; }
#hero h3 { font-size: 1.875rem; }
#hero h4 { font-size: 1.5rem; }
#hero p { font-size: 1rem; font-weight: 500; color: var(--cc-dark); }
#hero span { font-size: 0.75rem; font-family: "DM Mono", monospace; text-transform: uppercase; }

#hero .hero-gradient {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding-top: 60px;
    background: var(--ramus-paper, #F8F6F1);
}
#hero .hero-gradient-content {
    text-align: center;
}
#hero .hero-main-title {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(3rem, 8vw, 7.5rem);
    font-weight: 500;
    color: var(--ramus-ink, #1A1915);
    margin: 0;
    letter-spacing: -0.03em;
    line-height: 1.05;
}
#hero .hero-subtitle {
    font-family: "DM Mono", monospace;
    font-size: clamp(0.8rem, 1.4vw, 1.1rem);
    font-weight: 400; letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(26, 25, 21, 0.5);
    margin-top: 1rem;
}
#hero .hero-waitlist-cta {
    display: inline-block;
    margin-top: 48px;
    padding: 0.85rem 2.5rem;
    background: rgba(46, 111, 127, 0.25);
    backdrop-filter: blur(16px) saturate(1.6);
    -webkit-backdrop-filter: blur(16px) saturate(1.6);
    color: var(--ramus-ink, #1A1915);
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border: 1px solid rgba(46, 111, 127, 0.3);
    border-radius: 100px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
#hero .hero-waitlist-cta:hover {
    background: rgba(46, 111, 127, 0.4);
    border-color: rgba(46, 111, 127, 0.5);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}
#hero .hero-waitlist-cta:active {
    opacity: 0.9;
    transform: translateY(0);
}

@media (max-width: 768px) {
    #hero .hero-waitlist-cta {
        margin-top: 32px;
        padding: 0.75rem 2rem;
        font-size: 0.9rem;
    }
}

#hero .hero {
    background-color: #111317; color: var(--cc-dark);
}
#hero .hero-cards {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 65%; display: flex; justify-content: center; gap: 1.5rem;
}
#hero .hero-cards .card {
    flex: 1; aspect-ratio: 5/7; padding: 0.75rem;
    border-radius: 0.5rem; display: flex; flex-direction: column;
    justify-content: space-between;
}
#hero #hero-card-1 { background: var(--wl-card-yellow); transform-origin: top right; z-index: 2; }
#hero #hero-card-2 { background: var(--wl-card-coral); z-index: 1; }
#hero #hero-card-3 { background: var(--wl-card-blue); transform-origin: top left; z-index: 0; }

#hero .stat-group.single-stat {
    flex-grow: 1; display: flex; flex-direction: column;
    justify-content: center; align-items: center; width: 100%; margin: 1rem 0;
}
#hero .stat-value-line { display: flex; align-items: flex-start; }
#hero .stat-value { font-size: 5rem; font-weight: 700; line-height: 1.1; }
#hero .stat-unit { font-size: 2rem; font-weight: 500; margin-left: 0.25rem; padding-top: 0.4rem; }
#hero .stat-pillar { font-size: 1.25rem; font-weight: 700; text-transform: none; margin-top: 0.75rem; text-align: center; }
#hero .stat-description { font-size: 0.8rem; opacity: 0.6; margin-top: 0.4rem; text-align: center; line-height: 1.4; }
#hero .card-footer-text { font-size: 0.75rem; opacity: 0.5; align-self: flex-end; margin-top: 1rem; }
#hero .card-number { font-size: 1rem; opacity: 0.4; align-self: flex-start; }
#hero .section-title { font-size: 3rem; font-weight: 700; }
#hero .section-subtitle { font-size: 1.125rem; font-family: "DM Mono", monospace; }

/* Services & Flip Cards */
#hero .services { padding: 8rem 2rem; }
#hero .services-header {
    text-align: center; transform: translateY(400%); will-change: transform;
    color: var(--cc-light);
}
#hero .services-header h1 { color: var(--cc-light); }
#hero .cards {
    position: fixed; top: 0; left: 0; width: 100%; height: 100svh;
    z-index: -1; display: flex; justify-content: center;
    background: #111317; min-height: 0; padding: 0;
}
#hero .cards-container {
    position: relative; width: 75%; height: 100%;
    display: flex; justify-content: center; align-items: center;
    gap: 4rem; margin-top: 80px;
}
#hero .cards-container .card {
    flex: 1; aspect-ratio: 5/7; perspective: 1000px; opacity: 0;
}
#hero .card-wrapper {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    animation: cc-floating 2s infinite ease-in-out;
}
#hero #card-1 .card-wrapper { animation-delay: 0s; }
#hero #card-2 .card-wrapper { animation-delay: 0.25s; }
#hero #card-3 .card-wrapper { animation-delay: 0.5s; }
@keyframes cc-floating {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, -55%); }
}
#hero .flip-card-inner {
    position: relative; width: 100%; height: 100%;
    transform-style: preserve-3d;
}
#hero .flip-card-front {
    padding: 1rem; display: flex; flex-direction: column;
    justify-content: space-between; align-items: center;
}
#hero .flip-card-front,
#hero .flip-card-back {
    position: absolute; width: 95%; height: 95%;
    border-radius: 1rem; backface-visibility: hidden; overflow: hidden;
}
#hero #card-1 .flip-card-front { background: var(--wl-card-yellow); }
#hero #card-2 .flip-card-front { background: var(--wl-card-coral); }
#hero #card-3 .flip-card-front { background: var(--wl-card-blue); }
#hero .flip-card-back {
    padding: 1rem;
    display: flex; flex-direction: column; justify-content: space-between; gap: 1rem;
    transform: rotateY(180deg);
}
#hero #card-1 .flip-card-back { background: var(--wl-card-yellow); }
#hero #card-2 .flip-card-back { background: var(--wl-card-coral); }
#hero #card-3 .flip-card-back { background: var(--wl-card-blue); }
#hero .card-title { display: flex; justify-content: space-between; }
#hero #card-1 { transform: translateX(100%) translateY(-100%) rotate(-5deg) scale(0.25); width: 100%; z-index: 2; }
#hero #card-2 { transform: translateY(-100%) scale(0.25); width: 100%; z-index: 1; }
#hero #card-3 { transform: translateX(-100%) translateY(-100%) rotate(5deg) scale(0.25); width: 100%; z-index: 0; }

#hero .case-studies {
    flex-grow: 1; display: grid; grid-template-rows: repeat(2, 1fr);
    gap: 1rem; padding: 0.5rem 0;
}
#hero .case-item {
    display: flex; align-items: center; gap: 1rem; padding: 1.25rem;
    background: rgba(255,255,255,0.85); border-radius: 0.5rem; box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
#hero .case-item-name { font-size: 0.9rem; font-weight: 500; line-height: 1.4; }

/* About / Team（仅创始合伙人卡片，无合伙人轮播） */
#hero .main-about {
    background-color: #F9F4EB; color: var(--cc-light);
    padding: 4rem 2rem;
}
#hero .main-about h1,
#hero .main-about h3,
#hero .main-about h4,
#hero .main-about p { color: var(--cc-light); }
#hero .main-about-header { text-align: center; margin-bottom: 4rem; }
#hero .team-grid {
    display: flex; flex-direction: column; align-items: center;
    gap: 4rem; max-width: 1400px; margin: 0 auto;
}
#hero .leader-member.team-member { perspective: 1000px; cursor: pointer; }
#hero .leader-member {
    width: 100%; max-width: 560px; height: 550px;
    flex-shrink: 0; scroll-snap-align: center;
}
#hero .member-inner {
    position: relative; width: 100%; height: 100%;
    transition: transform 0.8s; transform-style: preserve-3d;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
#hero .leader-member:hover .member-inner { transform: rotateY(180deg); }
#hero .member-front,
#hero .member-back {
    position: absolute; width: 100%; height: 100%;
    backface-visibility: hidden; display: flex; flex-direction: column;
    justify-content: center; align-items: center; padding: 2rem;
    border-radius: 0.5rem; border: 1px solid var(--cc-light);
}
#hero .member-front { background: var(--cc-dark); }
#hero .member-front img {
    width: 150px; height: 150px; border-radius: 50%;
    object-fit: cover; object-position: top;
    border: 3px solid var(--cc-light); margin-bottom: 1.5rem;
}
#hero .member-front h3 { color: var(--cc-light); margin: 0.5rem 0; }
#hero .member-front p { opacity: 0.7; }
#hero .member-back {
    background: var(--cc-light); color: var(--cc-dark);
    transform: rotateY(180deg); text-align: left; overflow-y: auto;
    padding: 3rem 2rem; align-items: flex-start;
}
#hero .member-back h4 { margin-bottom: 1rem; color: var(--cc-dark); }
#hero .main-about .member-back h4,
#hero .main-about .member-back p { color: var(--cc-dark); }
#hero .introduce-text { font-size: 0.875rem; line-height: 1.7; opacity: 0.85; color: var(--cc-dark); margin-bottom: 0.5rem; }
#hero .mission-hope { font-weight: 600; opacity: 1; margin-top: 1rem; }
#hero .leader-tag {
    background: var(--cc-accent-3); color: var(--cc-dark);
    padding: 0.25rem 0.75rem; border-radius: 1rem;
    font-size: 0.875rem; font-weight: 600; margin-top: 1rem; display: inline-block;
    opacity: 1 !important;
}

/* Footer */
.cc-footer {
    --cc-dark: #111317;
    --cc-light: #f9f4eb;
    --cc-accent-2: #ffd2f3;
    background: var(--cc-dark); color: var(--cc-light);
    padding: 6rem 4rem 2rem; font-family: "DM Mono", monospace;
    min-height: auto;
}
.cc-footer h2, .cc-footer h3,
.cc-footer p, .cc-footer a,
.cc-footer strong { color: var(--cc-light); }
.footer-content {
    display: flex; justify-content: space-between; gap: 4rem;
    max-width: 1400px; margin: 0 auto 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 3rem;
}
.footer-brand { flex: 2; max-width: 400px; }
.footer-logo { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.brand-slogan { font-size: 1.1rem; color: rgba(255,255,255,0.8) !important; margin-bottom: 1rem; }
.footer-moto { font-size: 0.85rem; color: rgba(255,255,255,0.5) !important; margin-bottom: 1.5rem; }
.footer-links, .footer-contact { flex: 1; }
.footer-heading {
    font-size: 1.2rem; font-weight: 500; margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--cc-accent-2); display: inline-block; padding-bottom: 0.25rem;
}
.footer-links ul { list-style: none; }
.footer-links a {
    color: rgba(255,255,255,0.8) !important; font-size: 0.95rem;
    text-decoration: none; transition: color 0.2s; display: block; padding: 0.25rem 0;
}
.footer-links a:hover { color: var(--cc-accent-2) !important; }
.footer-contact p { font-size: 0.95rem; color: rgba(255,255,255,0.8) !important; margin-bottom: 0.75rem; }
.footer-bottom { text-align: center; max-width: 1400px; margin: 0 auto; padding-top: 1rem; }
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.5) !important; margin: 0.5rem 0; }

/* Responsive for Main page */
@media (max-width: 1024px) {
    #hero .cards-container { width: 95%; gap: 0; margin-top: 40px; }
    #hero .hero-cards { width: 90%; }
    #hero .leader-member { max-width: 80%; }
}
@media (max-width: 768px) {
    #hero .hero-main-title {
        font-size: clamp(2.2rem, 10vw, 4rem) !important;
    }

    /* Global h1/h2 sizing inside #hero */
    #hero h1 { font-size: 2rem; }
    #hero h2 { font-size: 1.5rem; }
    #hero .section-title { font-size: 2rem; }
    #hero .section-subtitle { font-size: 0.95rem; }

    /* Hero stat cards */
    #hero .stat-value { font-size: 2.5rem; }
    #hero .stat-unit { font-size: 1.5rem; }
    #hero .stat-pillar { font-size: 1rem; }
    #hero .stat-description { font-size: 0.7rem; }
    #hero .hero-cards { width: 75%; flex-direction: column; gap: 1rem; }
    #hero .hero-cards .card { aspect-ratio: 16/9; }
    #hero .hero-logo { width: 300px; height: 300px; }

    /* Services header: fix overlap & font size */
    #hero .services { padding: 4rem 1.5rem; }
    #hero .services-header h1 { font-size: 1.75rem; }

    /* Main about section */
    #hero .main-about { padding: 3rem 1.5rem; }
    #hero .main-about-header { margin-bottom: 2rem; }
    #hero .leader-member { max-width: 100%; height: 400px; }

    /* Flip cards: responsive width */
    #hero .cards-container {
        width: min(410px, calc(100vw - 2rem)); flex-direction: column; gap: 1.5rem;
        margin-top: 100px; height: 79%;
    }
    #hero .cards-container .card { aspect-ratio: 16/9; }

    /* Footer */
    .footer-content { flex-direction: column; gap: 2rem; }

    /* Create showcase mobile layout */
    .create-showcase { padding: 1.5rem; }
    .create-showcase-images { width: 70%; padding: 40svh 0; }
    .create-showcase-names {
        position: relative; right: auto; bottom: auto;
        align-items: center; padding: 1.5rem 0;
    }
    .create-showcase-names p { font-size: 1rem; }

    /* About section */
    .about-outro { height: auto; min-height: 60vh; }
}
@media (max-width: 480px) {
    #hero .hero-main-title {
        font-size: clamp(2rem, 10vw, 3rem) !important;
    }
    #hero h1 { font-size: 1.6rem; }
    #hero .hero-cards { width: 90%; gap: 0.75rem; }
    #hero .hero-cards .card { padding: 0.5rem; }
    #hero .hero-logo { width: 250px; height: 250px; }
    #hero .cards-container {
        width: calc(100vw - 2rem);
        margin-top: 80px;
        gap: 1rem;
    }
    #hero .services { padding: 3rem 1rem; }
    #hero .services-header h1 { font-size: 1.4rem; }
    #hero .main-about { padding: 2rem 1rem; }
    #hero .section-title { font-size: 1.6rem; }
    #hero .stat-value { font-size: 2rem; }
    #hero .stat-unit { font-size: 1.25rem; }
    #hero .stat-pillar { font-size: 0.85rem; }
    #hero .stat-description { font-size: 0.65rem; }
    #hero .leader-member { height: 350px; }
}

/* ========================================
   Create (10.16CC)
   ======================================== */

.create-intro {
    position: relative; width: 100%; height: 100svh;
    display: flex; justify-content: center; align-items: center;
    padding: 2rem; overflow: hidden;
}

.create-intro h1 { width: 45%; text-align: center; font-size: 4.5rem; font-style: italic; }

.create {
    position: relative; width: 100%; height: 100svh; overflow: hidden;
}

.create-spotlight,
.create-header {
    position: absolute; width: 100%; height: 100%;
    display: flex; justify-content: center; align-items: center;
    will-change: transform;
}

.create-spotlight-bg {
    position: absolute;
    top: 50%; left: 50%;
    width: 60%; height: 60%;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.15;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(249, 156, 48, 0.3), transparent 60%),
        radial-gradient(ellipse at 70% 60%, rgba(184, 60, 38, 0.2), transparent 60%);
    filter: blur(40px);
    border-radius: 50%;
}

.create-spotlight h1 { width: 45%; text-align: center; font-size: 4.5rem; font-style: italic; }

.create-header-content {
    width: 55%;
    display: flex; flex-direction: column; align-items: center;
    text-align: center; gap: 1.5rem;
    will-change: transform, opacity;
    transform: translateY(-100px); opacity: 0;
}

.create-header-content h1 { font-size: 3.5rem; }
.create-header-content p { color: var(--fg-muted); max-width: 30rem; }

.create-feature {
    position: absolute;
    width: max-content; height: max-content;
    padding: 0.85rem 1.25rem;
    transform: translate(-50%, -50%);
    will-change: top, left;
}

.create-feature-bg {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    background-color: var(--bg-elevated);
    border: 0.125rem solid var(--border);
    border-radius: 0.5rem;
    will-change: width, height, border-radius, border-width;
}

.create-feature-label { position: relative; will-change: opacity; }
.create-feature-label p {
    text-transform: uppercase; font-weight: 500;
    font-size: 0.8rem; letter-spacing: 0.05em; line-height: 1;
}

.create-search {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 3rem; height: 3rem;
    border-radius: 25rem;
    border: 0.2rem solid var(--border);
    background-color: var(--bg-elevated);
    opacity: 0;
    display: flex; align-items: center;
    will-change: opacity, width, height, transform;
}

.create-search p {
    position: relative; opacity: 0;
    transform: translateX(1.5rem);
    white-space: nowrap; will-change: opacity;
    color: var(--fg-muted); font-size: 0.85rem;
}

/* ========================================
   Create — Showcase (protitypestudio scroll)
   ======================================== */

.create-showcase-intro {
    position: relative;
    width: 100%;
    height: 100svh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.create-showcase-intro p {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.25;
}

.create-showcase {
    position: relative;
    width: 100%;
    height: 100svh;
    padding: 2rem;
    overflow: hidden;
}

.create-showcase-index h1 {
    text-transform: uppercase;
    font-size: clamp(3rem, 5vw, 7rem);
    font-weight: 400;
    line-height: 1;
    will-change: transform;
}

.create-showcase-images {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 35%;
    padding: 50svh 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: -1;
}

.create-showcase-img {
    width: 100%;
    aspect-ratio: 16/9;
    opacity: 0.5;
    transition: all 0.3s ease;
    overflow: hidden;
}

.create-showcase-names {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.create-showcase-names p {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.25;
    color: #4a4a4a;
    transition: color 0.3s ease;
}

.create-showcase-index h1,
.create-showcase-images,
.create-showcase-names p {
    will-change: transform;
}

/* ========================================
   About — Scroll-powered SVG stroke
   ======================================== */

.about-hero,
.about-outro {
    position: relative;
    width: 100%;
    padding: 2rem;
    background-color: var(--bg-elevated);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
}

.about-hero {
    min-height: 50svh;
}

.about-outro {
    height: 100vh;
}

.about-hero h1,
.about-outro h1 {
    width: 60%;
    text-align: center;
    font-size: 4rem;
    letter-spacing: -0.1rem;
}

.about-spotlight {
    --about-spotlight-pad: 2rem;
    position: relative;
    width: 100%;
    padding: var(--about-spotlight-pad);
    display: flex;
    flex-direction: column;
    gap: 10rem;
    overflow: hidden;
    isolation: isolate;
}

.about-spotlight .about-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.about-spotlight .about-row .about-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-spotlight .about-row:nth-child(1) .about-img {
    width: 50%;
}

.about-spotlight .about-row:nth-child(4) {
    position: relative;
    z-index: 5;
    margin-top: 1.25rem;
    margin-bottom: calc(-1 * var(--about-spotlight-pad));
}

.about-spotlight .about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

.about-spotlight .about-card {
    width: 75%;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-spotlight .about-card h2 {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.075rem;
}

.about-spotlight .about-card p {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--fg-muted);
    line-height: 1.6;
}

.about-svg-path {
    position: absolute;
    top: 25svh;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 100%;
    z-index: -1;
}

.about-svg-path svg {
    width: 100%;
    height: auto;
}

/* ========================================
   Waitlist Modal
   ======================================== */

.waitlist-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.waitlist-overlay.active {
    opacity: 1;
    visibility: visible;
}

.waitlist-modal {
    position: relative;
    width: 94vw;
    max-width: 1120px;
    height: 92vh;
    max-height: 860px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 1rem;
    overflow: hidden;
    transform: translateY(30px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.waitlist-overlay.active .waitlist-modal {
    transform: translateY(0) scale(1);
}

.waitlist-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
}

.waitlist-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Left panel */
.waitlist-left {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem;
    background: #f3f4f6;
    overflow: hidden;
}

.waitlist-brand-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
    filter: brightness(0);
}

.waitlist-characters {
    position: relative;
    width: 100%;
    height: 380px;
    margin-top: auto;
}

.wl-char {
    position: absolute;
    bottom: 0;
    transform-origin: bottom center;
    will-change: transform;
}

.wl-char-coral {
    left: 50px;
    width: 150px;
    height: 280px;
    background: #DD7B5D;
    border-radius: 8px 8px 0 0;
    z-index: 1;
}

.wl-char-dark {
    left: 190px;
    width: 100px;
    height: 240px;
    background: #080808;
    border-radius: 6px 6px 0 0;
    z-index: 2;
}

.wl-char-yellow {
    left: 0;
    width: 195px;
    height: 160px;
    background: #F6D927;
    border-radius: 98px 98px 0 0;
    z-index: 3;
}

.wl-char-blue {
    left: 250px;
    width: 115px;
    height: 180px;
    background: #4591FA;
    border-radius: 58px 58px 0 0;
    z-index: 4;
}

.wl-face {
    position: absolute;
    display: flex;
    gap: 22px;
    will-change: transform;
}

.wl-char-coral .wl-face { left: 38px; top: 34px; gap: 26px; }
.wl-char-dark .wl-face { left: 22px; top: 28px; gap: 20px; }
.wl-char-yellow .wl-face { left: 68px; top: 72px; gap: 26px; }
.wl-char-blue .wl-face { left: 40px; top: 36px; gap: 18px; }

.wl-eyeball {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    will-change: height;
}

.wl-eyeball-sm {
    width: 14px;
    height: 14px;
}

.wl-eyeball-pupil {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2D2D2D;
    will-change: transform;
}

.wl-pupil-sm {
    width: 5px;
    height: 5px;
}

.wl-pupil-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2D2D2D;
    will-change: transform;
}

.wl-mouth {
    position: absolute;
    width: 60px;
    height: 3px;
    background: #2D2D2D;
    border-radius: 9999px;
    left: 32px;
    top: 72px;
    will-change: transform;
}

/* Right panel */
.waitlist-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 3rem;
    background: #111317;
    overflow: hidden;
}

.waitlist-form-wrapper {
    width: 100%;
    max-width: 420px;
    padding: 0.5rem 0;
}

.waitlist-form-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.waitlist-form-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.waitlist-form-header p {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

.wl-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #e5e5e5;
    margin-bottom: 0.5rem;
    letter-spacing: 0;
}

.wl-optional {
    font-weight: 400;
    color: #555;
}

.wl-input {
    display: block;
    width: 100%;
    height: 44px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #fff;
    padding: 0.5rem 1rem;
    font-family: inherit;
    margin-bottom: 1rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.wl-input:hover { border-color: #3a3a3a; }
.wl-input:focus {
    border-color: #555;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
    background: #222;
}
.wl-input::placeholder { color: #555; }

.wl-textarea {
    height: auto;
    min-height: 68px;
    resize: vertical;
    padding: 0.75rem 1rem;
}

.wl-submit {
    display: block;
    width: 100%;
    height: 46px;
    background: #fff;
    border: 1px solid #fff;
    border-radius: 10px;
    color: #111;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    margin-top: 0.5rem;
    font-family: inherit;
    transition: background 0.2s, opacity 0.2s;
}

.wl-submit:hover { background: #e0e0e0; border-color: #e0e0e0; }
.wl-submit:active { opacity: 0.85; }
.wl-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.wl-privacy {
    text-align: center;
    font-size: 0.72rem;
    color: #555;
    margin-top: 1.25rem;
    line-height: 1.6;
}

.wl-privacy-label {
    font-weight: 600;
    color: #777;
}

/* Waitlist success state */
.wl-success-msg {
    text-align: center;
    padding: 2rem 0;
}

.wl-success-msg h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.wl-success-msg p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .waitlist-modal {
        grid-template-columns: 1fr;
        height: 90vh;
        max-height: none;
    }
    .waitlist-left { display: none; }
    .waitlist-right { padding: 2rem 1.5rem; }
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1000px) {
    .landing-title h1 { font-size: 3.5rem; }
    nav .nav-links { gap: 2rem; }
    .create-intro h1, .create-spotlight h1 { width: 90%; font-size: 2.5rem; }
    .create-header-content { width: 90%; padding: 1rem; }
    .create-header-content h1 { font-size: 2.5rem; }
    .create-feature { padding: 0.7rem 1rem; }
    .create-feature-label p { font-size: 0.7rem; }
    .create-showcase-images {
        width: calc(100% - 4rem);
        gap: 25svh;
    }
    .create-showcase-names p { color: #fff !important; }
    .about-hero h1, .about-outro h1 { font-size: 2rem; width: 100%; }
    .about-spotlight { gap: 5rem; }
    .about-spotlight .about-row { flex-direction: column; }
    .about-spotlight .about-row:nth-child(1) .about-img { width: 100%; }
    .about-spotlight .about-card { width: 100%; }
    .about-spotlight .about-card h2 { font-size: 1.5rem; }
    .about-spotlight .about-card p { font-size: 1rem; }
    .about-svg-path { top: 15svh; width: 275%; }
    .page-outro h1 { width: 80%; font-size: 2rem; }
}

@media (max-width: 600px) {
    .landing-title h1 { font-size: 2.5rem; }

    /* Navigation: compact for small screens */
    nav { padding: 0.75rem 1rem; gap: 0.75rem; }
    .nav-end { gap: 8px; }
    .nav-login { font-size: 0.65rem; padding: 0.35rem 0.75rem; }
    .lang-toggle { font-size: 0.6rem; }
    .nav-links { gap: 1rem !important; }
    .nav-links a { font-size: 0.65rem; letter-spacing: 0.04em; }

    /* Create sections */
    .create-intro h1, .create-spotlight h1, .create-header-content h1 { font-size: 1.75rem; }
    .create-header-content { width: 95%; }
    .create-header-content p { font-size: 0.85rem; }
    .create-showcase-intro p { font-size: 1rem; }
    .create-showcase-images { width: 85%; }
    .create-showcase-names p { font-size: 0.9rem; }

    /* About sections */
    .about-hero { min-height: 40svh; padding: 1.5rem; }
    .about-hero h1, .about-outro h1 { font-size: 1.5rem; width: 100%; }
    .about-spotlight { gap: 3rem; padding: 1.5rem; }
    .about-spotlight .about-card { padding: 1.5rem; }
    .about-spotlight .about-card h2 { font-size: 1.25rem; }
    .about-spotlight .about-card p { font-size: 0.9rem; }

    /* Explore */
    .explore-coming-soon-title { font-size: 3rem; }
    .explore-waitlist-cta { padding: 0.75rem 2rem; font-size: 0.9rem; }

    /* Footer */
    .cc-footer { padding: 3rem 1.5rem 1.5rem; }
    .footer-logo { font-size: 1.5rem; }
    .footer-heading { font-size: 1rem; }
    .footer-links a, .footer-contact p { font-size: 0.85rem; }
}

/* ===================== EXPLORE: COMING SOON ===================== */
.explore-coming-soon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding-top: 60px; /* offset for fixed nav */
    background: var(--ramus-paper, #F8F6F1);
}
.explore-coming-soon-content {
    text-align: center;
}
.explore-coming-soon-title {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(3rem, 8vw, 7.5rem);
    font-weight: 500;
    color: var(--ramus-ink, #1A1915);
    margin: 0;
    letter-spacing: -0.03em;
    line-height: 1.05;
}
.explore-waitlist-cta {
    display: inline-block;
    margin-top: 48px;
    padding: 0.85rem 2.5rem;
    background: rgba(46, 111, 127, 0.25);
    backdrop-filter: blur(16px) saturate(1.6);
    -webkit-backdrop-filter: blur(16px) saturate(1.6);
    color: var(--ramus-ink, #1A1915);
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border: 1px solid rgba(46, 111, 127, 0.3);
    border-radius: 100px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.explore-waitlist-cta:hover {
    background: rgba(46, 111, 127, 0.4);
    border-color: rgba(46, 111, 127, 0.5);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}
.explore-waitlist-cta:active {
    opacity: 0.9;
    transform: translateY(0);
}

/* ========================================
   Mobile — Extra‑small screens (≤480px)
   ======================================== */

@media (max-width: 480px) {
    /* Navigation: ultra-compact */
    nav { padding: 0.6rem 0.75rem; gap: 0.5rem; }
    .nav-links { gap: 0.6rem !important; }
    .nav-links a { font-size: 0.55rem; letter-spacing: 0.02em; }
    .nav-login { font-size: 0.6rem; padding: 0.3rem 0.6rem; }
    .lang-toggle { font-size: 0.55rem; padding: 0.15rem; }

    /* Landing */
    .landing-title h1 { font-size: 2rem; }
    .landing-tag p { font-size: 0.65rem; }

    /* Create */
    .create-intro h1, .create-spotlight h1 { font-size: 1.5rem; width: 95%; }
    .create-header-content h1 { font-size: 1.5rem; }
    .create-header-content p { font-size: 0.8rem; }
    .create-feature { padding: 0.5rem 0.75rem; }
    .create-feature-label p { font-size: 0.6rem; }
    .create-showcase-images { width: 90%; gap: 20svh; }
    .create-showcase-index h1 { font-size: clamp(2rem, 7vw, 3rem); }

    /* About */
    .about-hero { min-height: 35svh; }
    .about-hero h1, .about-outro h1 { font-size: 1.25rem; }
    .about-spotlight { gap: 2.5rem; padding: 1rem; }
    .about-spotlight .about-card { width: 100%; padding: 1.25rem; }
    .about-spotlight .about-card h2 { font-size: 1.1rem; }
    .about-spotlight .about-card p { font-size: 0.85rem; }
    .about-svg-path { width: 350%; }

    /* Explore */
    .explore-coming-soon-title { font-size: clamp(2rem, 10vw, 3rem); }
    .explore-waitlist-cta { padding: 0.65rem 1.5rem; font-size: 0.85rem; margin-top: 32px; }

    /* Footer */
    .cc-footer { padding: 2rem 1rem 1rem; }
    .footer-brand { max-width: 100%; }
    .footer-logo { font-size: 1.25rem; }
    .brand-slogan { font-size: 0.9rem; }
    .footer-moto { font-size: 0.75rem; }
    .footer-heading { font-size: 0.9rem; margin-bottom: 1rem; }
    .footer-links a, .footer-contact p { font-size: 0.8rem; }
    .footer-bottom p { font-size: 0.65rem; }
}

/* ========================================
   Mobile — Tiny screens (≤360px)
   ======================================== */

@media (max-width: 360px) {
    /* Navigation: minimal */
    nav { padding: 0.5rem 0.6rem; }
    .nav-links { gap: 0.4rem !important; }
    .nav-links a { font-size: 0.5rem; }
    .nav-login { padding: 0.25rem 0.5rem; font-size: 0.55rem; }
    .lang-toggle { display: none; }

    #hero .hero-main-title {
        font-size: clamp(1.5rem, 8vw, 2rem) !important;
    }
    #hero h1 { font-size: 1.4rem; }
    #hero .hero-cards { width: 95%; gap: 0.5rem; }
    #hero .stat-value { font-size: 1.75rem; }
    #hero .stat-unit { font-size: 1rem; }
    #hero .stat-pillar { font-size: 0.75rem; }
    #hero .stat-description { font-size: 0.6rem; }
    #hero .cards-container { margin-top: 70px; gap: 0.75rem; }
    #hero .services { padding: 2.5rem 0.75rem; }
    #hero .services-header h1 { font-size: 1.25rem; }
    #hero .main-about { padding: 1.5rem 0.75rem; }
    #hero .section-title { font-size: 1.4rem; }
    #hero .leader-member { height: 300px; }

    /* Create */
    .create-spotlight h1, .create-header-content h1 { font-size: 1.25rem; }
    .create-showcase-names p { font-size: 0.8rem; }

    /* About */
    .about-hero h1, .about-outro h1 { font-size: 1.1rem; }
    .about-spotlight .about-card h2 { font-size: 1rem; }

    /* Explore */
    .explore-coming-soon-title { font-size: 2rem; }
    .explore-waitlist-cta { margin-top: 24px; }
}
