/* ============================================
   V7 — Dr. Li Zhou · EN Mobile-First Ergonomic
   More breathing room · Bigger touch targets
   ============================================ */

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

:root {
    --bg-deep: #0a0e17;
    --bg-deep-2: #0d1220;
    --bg-mid: #141a2e;
    --bg-light: #1a2240;

    --accent-pearl: #e8d5c4;
    --accent-rose: #d4a5a5;
    --accent-lavender: #b8a5d4;
    --accent-teal: #8ec8c8;
    --accent-gold: #e8d5a3;
    --accent-iridescent: linear-gradient(135deg, #e8d5c4, #d4a5d4, #a5b8d4, #8ec8c8);

    --text-primary: #f0ece8;
    --text-secondary: rgba(240, 236, 232, 0.75);
    --text-tertiary: rgba(240, 236, 232, 0.55);
    --text-muted: rgba(240, 236, 232, 0.32);

    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-bg-hover: rgba(255, 255, 232, 0.08);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-strong: rgba(255, 255, 255, 0.18);

    --glow-pearl: rgba(232, 213, 196, 0.3);

    --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
    --font-body: 'Syne', 'Manrope', -apple-system, sans-serif;

    --ease-fluid: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition: 0.4s var(--ease-fluid);

    /* Generous spacing scale (mobile-ergonomic) */
    --sp-xs: 12px;
    --sp-sm: 16px;
    --sp-md: 24px;
    --sp-lg: 40px;
    --sp-xl: 64px;
    --sp-2xl: 96px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-deep);
    overflow-x: hidden;
    position: relative;
}

@media (max-width: 768px) {
    body { cursor: auto; }
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

.container-v7 {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 8px;
    position: relative;
    z-index: 5;
}

.section-v7 {
    padding: 28px 0;
    position: relative;
}

/* ─── Cursor Glow ─────────────────────────── */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 165, 212, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    mix-blend-mode: screen;
}

@media (max-width: 768px) { .cursor-glow { display: none; } }

/* ─── Particle Canvas ─────────────────────── */
.particle-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.45;
}

/* ─── Background Blobs ────────────────────── */
.bg-blobs {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.32;
    animation: blob-float 20s ease-in-out infinite;
}

.blob-1 {
    width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(232, 213, 196, 0.5), transparent 70%);
    top: -100px; left: -100px;
}

.blob-2 {
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(184, 165, 212, 0.4), transparent 70%);
    top: 40%; right: -80px;
    animation-delay: -7s;
}

.blob-3 {
    width: 340px; height: 340px;
    background: radial-gradient(circle, rgba(142, 200, 200, 0.4), transparent 70%);
    bottom: 10%; left: -100px;
    animation-delay: -14s;
}

@keyframes blob-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -25px) scale(1.08); }
    66% { transform: translate(-25px, 35px) scale(0.95); }
}

/* ─── Mesh + Grain ────────────────────────── */
.mesh-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, rgba(232, 213, 196, 0.03) 0%, transparent 50%, rgba(184, 165, 212, 0.03) 100%);
    pointer-events: none;
    z-index: 1;
}

.grain-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ─── Glass Card ──────────────────────────── */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 5px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232, 213, 196, 0.4), transparent);
}

/* ─── Section Tags ────────────────────────── */
.section-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 11px;
    letter-spacing: 2.5px;
    color: var(--text-tertiary);
}

.tag-num {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 15px;
    color: var(--accent-pearl);
    font-weight: 400;
}

.tag-line {
    width: 28px;
    height: 1px;
    background: var(--accent-pearl);
    opacity: 0.5;
}

.section-title-v7 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    word-break: break-word;
    overflow-wrap: break-word;
    padding-right: 2px;
}

.section-title-v7 em {
    font-style: italic;
    background: var(--accent-iridescent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
}

.section-subtitle-v7 {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.subsection-title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-pearl);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 32px 0 16px;
}

/* ─── Navigation ──────────────────────────── */
.nav-v7 {
    position: fixed;
    top: 16px;
    left: 0; right: 0;
    z-index: 1000;
    padding: 0 16px;
}

.nav-inner {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(13, 18, 32, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    transition: all var(--transition);
}

.nav-v7.nav-scrolled .nav-inner {
    background: rgba(13, 18, 32, 0.92);
    border-color: var(--glass-border-strong);
}

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

.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--accent-pearl);
}

.logo-tag {
    font-size: 8px;
    letter-spacing: 1px;
    color: var(--text-tertiary);
}

.nav-cta-v7 {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--accent-pearl);
    color: var(--bg-deep);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all var(--transition);
    /* Big touch target */
    min-height: 40px;
}

.nav-cta-v7:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--glow-pearl);
}

.cta-arrow {
    transition: transform var(--transition);
}

.nav-cta-v7:hover .cta-arrow {
    transform: translateX(3px);
}

/* ─── HERO — Stacked Mobile-First ─────────── */
.hero-v7 {
    min-height: 100vh;
    padding: 110px 0 60px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Visual layer — full-screen background (ref v3 style) */
.hero-visual-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-image-container {
    position: absolute;
    inset: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    min-width: 100%;
    min-height: 100%;
}

.hero-img-mask {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(180deg, rgba(10, 14, 23, 0.75) 0%, rgba(10, 14, 23, 0.45) 40%, rgba(10, 14, 23, 0.85) 100%),
        radial-gradient(ellipse at 50% 30%, transparent 0%, rgba(10, 14, 23, 0.6) 100%);
}

/* Orbit rings (ref v3) */
.hero-orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(232, 213, 196, 0.08);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-orbit-ring.ring-1 {
    width: 280px;
    height: 280px;
    animation: orbit-spin 40s linear infinite;
}

.hero-orbit-ring.ring-2 {
    width: 400px;
    height: 400px;
    animation: orbit-spin 60s linear infinite reverse;
    border-color: rgba(184, 165, 212, 0.06);
}

.hero-orbit-ring.ring-3 {
    width: 520px;
    height: 520px;
    animation: orbit-spin 80s linear infinite;
    border-color: rgba(142, 200, 200, 0.04);
}

@keyframes orbit-spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-content-wrap {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 40px;
    min-height: calc(100vh - 170px);
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(232, 213, 196, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232, 213, 196, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    z-index: 2;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    margin-bottom: 20px;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--accent-pearl);
}

.eyebrow-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-pearl);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 400;
    line-height: 1.12;
    margin-bottom: 20px;
    letter-spacing: -0.8px;
}

.title-row.italic {
    font-style: italic;
    background: var(--accent-iridescent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
}

.hero-sub {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Hero Portrait — full width */
.hero-portrait-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    max-width: 420px;
    margin: 0 auto 32px;
    border-radius: 22px;
}

.hero-portrait-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 22px;
    overflow: hidden;
    background: var(--bg-mid);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portrait-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(10, 14, 23, 0.75) 100%);
    pointer-events: none;
}

.portrait-corner {
    position: absolute;
    width: 22px;
    height: 22px;
    border: 2px solid var(--accent-pearl);
    z-index: 5;
}

.pc-tl { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.pc-tr { top: 12px; right: 12px; border-left: none; border-bottom: none; }
.pc-bl { bottom: 12px; left: 12px; border-right: none; border-top: none; }
.pc-br { bottom: 12px; right: 12px; border-left: none; border-top: none; }

.portrait-meta {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
}

.meta-tag {
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--accent-pearl);
    font-weight: 600;
}

.meta-tag.italic {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: 13px;
}

.meta-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--accent-pearl), transparent);
}

.portrait-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, var(--glow-pearl), transparent 70%);
    z-index: -1;
    filter: blur(20px);
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50% { opacity: 0.95; transform: scale(1.05); }
}

/* Data Row */
.hero-data {
    display: flex;
    gap: 10px;
    margin: 0 auto 24px;
    padding: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    width: 100%;
    max-width: 360px;
}

.data-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.data-num {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    color: var(--accent-pearl);
    line-height: 1;
}

.data-num span {
    font-size: 13px;
    color: var(--accent-lavender);
}

.data-label {
    font-size: 9px;
    color: var(--text-tertiary);
    letter-spacing: 1.2px;
    margin-top: 6px;
    text-align: center;
}

.hero-cta-label {
    font-size: 11px;
    color: var(--text-tertiary);
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    opacity: 0.8;
}

/* Primary CTA — big touch target */
.btn-primary-v7 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    background: var(--accent-pearl);
    color: var(--bg-deep);
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    min-height: 52px;
}

.btn-primary-v7::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.btn-primary-v7:hover::before {
    left: 100%;
}

.btn-primary-v7:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--glow-pearl);
}

.btn-primary-v7:active {
    transform: translateY(0);
}

.btn-icon {
    transition: transform var(--transition);
}

.btn-primary-v7:hover .btn-icon {
    transform: translateX(3px);
}

.btn-full-v7 {
    width: 100%;
    margin-top: 4px;
}

.hero-trust {
    display: flex;
    gap: 16px;
    font-size: 11px;
    color: var(--text-tertiary);
    flex-wrap: wrap;
    margin-top: 16px;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-trust i {
    display: inline-block;
    width: 5px;
    height: 5px;
    background: var(--accent-teal);
    border-radius: 50%;
}

/* ─── IP Section ──────────────────────────── */
.ip-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    margin: 28px auto 28px;
}

.ip-img-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    overflow: hidden;
    background: var(--bg-mid);
    border: 1px solid var(--glass-border);
}

.ip-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    transform: scale(1.02);
    transition: transform 0.8s var(--ease-fluid);
}

.ip-img-frame:hover img {
    transform: scale(1.06);
}

.ip-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 14, 23, 0.55) 0%, transparent 22%, transparent 78%, rgba(10, 14, 23, 0.45) 100%);
    pointer-events: none;
    z-index: 2;
}

.ip-img-corner {
    position: absolute;
    width: 22px;
    height: 22px;
    border: 2px solid var(--accent-pearl);
    z-index: 5;
    pointer-events: none;
    opacity: 0.85;
}

.ic-tl { top: 4px; left: 4px; border-right: none; border-bottom: none; }
.ic-tr { top: 4px; right: 4px; border-left: none; border-bottom: none; }
.ic-bl { bottom: 4px; left: 4px; border-right: none; border-top: none; }
.ic-br { bottom: 4px; right: 4px; border-left: none; border-top: none; }

.ip-img-glow {
    position: absolute;
    inset: -18px;
    background: radial-gradient(circle, var(--glow-pearl), transparent 70%);
    z-index: -1;
    filter: blur(18px);
    animation: glow-pulse 4s ease-in-out infinite;
    pointer-events: none;
}

.ip-img-meta {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(232, 213, 196, 0);
    z-index: 5;
}

.meta-name {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-pearl);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.meta-divider {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--accent-pearl), transparent);
    margin: 0 4px;
}

.meta-exp {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 12px;
    color: var(--accent-lavender);
    white-space: nowrap;
}

.ip-quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 16px;
    color: var(--accent-pearl);
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 16px 18px;
    background: var(--glass-bg);
    border-left: 2px solid var(--accent-pearl);
    border-radius: 0 10px 10px 0;
}

.ip-body {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 24px;
}

.ip-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge {
    padding: 8px 14px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 11px;
    color: var(--accent-pearl);
    letter-spacing: 0.3px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
}

/* ─── Journey ─────────────────────────────── */
.journey-section {
    background: var(--bg-deep-2);
}

.journey-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
}

.j-card {
    padding: 8px;
    transition: all var(--transition);
}

.j-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-pearl);
}

.j-card.j-final {
    background: linear-gradient(135deg, rgba(232, 213, 196, 0.12), rgba(184, 165, 212, 0.08));
    border-color: var(--accent-pearl);
}

.j-year {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--accent-lavender);
    margin-bottom: 8px;
    font-weight: 600;
}

.j-card h4 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 500;
    color: var(--accent-pearl);
    margin-bottom: 8px;
    line-height: 1.3;
}

.j-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.j-card em {
    font-style: italic;
    color: var(--accent-gold);
}

/* ─── Honors ──────────────────────────────── */
.honors-feature {
    padding: 0;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
}

.honors-feature-img {
    position: relative;
    width: 100%;
    aspect-ratio: 15/10;
    overflow: hidden;
}

.academic-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-tag {
    position: absolute;
    bottom: 8px;
    left: 8px;
    padding: 6px 12px;
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--accent-pearl);
    border-radius: 100px;
    font-size: 9px;
    letter-spacing: 1.2px;
    color: var(--accent-pearl);
    font-weight: 600;
}

.honors-feature-text {
    padding: 8px;
}

.honors-feature-text h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    color: var(--accent-pearl);
    margin-bottom: 8px;
    line-height: 1.4;
}

.honors-feature-text h4 em {
    font-style: italic;
    background: var(--accent-iridescent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.honors-feature-text p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.honors-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
}

.honor-mini {
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    overflow: hidden;
}

.honor-mini img {
    width: 100%;
    object-fit: cover;
    border-radius: 0;
    background: var(--glass-bg);
    margin-bottom: 0;
}

.honor-mini span {
    font-size: 10px;
    color: var(--text-secondary);
    line-height: 1.4;
    padding: 8px 6px;
}

.honor-trophy {
    background: linear-gradient(135deg, rgba(232, 213, 163, 0.14), rgba(232, 213, 196, 0.08));
    border-color: var(--accent-gold);
}

/* ─── Honors List (credential rows) ───────────── */
.honors-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    padding: 16px;
}

.honor-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
    transition: all var(--transition);
}

.honor-item:hover {
    transform: translateX(2px);
}

.honor-check {
    color: var(--accent-gold);
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    opacity: 0.9;
    filter: drop-shadow(0 0 4px rgba(232, 213, 163, 0.4));
}

.honor-item > span:last-child {
    flex: 1;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.45;
}

.honor-item em {
    font-style: italic;
    color: var(--accent-pearl);
}

/* ─── Facility ────────────────────────────── */
.facility-main {
    padding: 0;
    position: relative;
    margin-bottom: 12px;
}

.facility-main img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.facility-main-tag {
    position: absolute;
    bottom: 16px;
    left: 16px;
    padding: 7px 14px;
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--accent-pearl);
    border-radius: 100px;
    font-size: 10px;
    letter-spacing: 1.2px;
    color: var(--accent-pearl);
    font-weight: 600;
}

.facility-main-text {
    position: absolute;
    inset: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg, transparent 30%, rgba(10, 14, 23, 0.95) 100%);
}

.facility-main-text h4 {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--accent-pearl);
    margin-bottom: 8px;
}

.facility-main-text p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.facility-pillars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.facility-pillar {
    padding: 12px 14px;
}

.pillar-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 6px;
}

.pillar-num {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--accent-pearl);
    opacity: 0.6;
    flex-shrink: 0;
    line-height: 1;
    font-weight: 400;
}

.facility-pillar h5 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-pearl);
    margin: 0;
    line-height: 1.3;
}

.facility-pillar p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.55;
}

.facility-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3px;
}

.strip-img {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 5px;
    border: 1px solid var(--glass-border);
}

.strip-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.strip-img:hover img {
    transform: scale(1.08);
}

/* ─── Cases ───────────────────────────────── */
/* Cases section — contained within container width */
.cases-section {
    overflow: hidden;
    position: relative;
}

.cases-rail {
    overflow: hidden;
    margin-top: 28px;
    margin-bottom: 40px;
    position: relative;
}

.cases-rail::before,
.cases-rail::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 40px;
    z-index: 5;
    pointer-events: none;
}

.cases-rail::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-deep) 30%, transparent);
}

.cases-rail::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-deep) 30%, transparent);
}

.cases-track {
    display: flex;
    gap: 4px;
    padding: 2px 0;
    animation: rail-scroll 40s linear infinite;
    width: max-content;
}

.cases-rail:hover .cases-track {
    animation-play-state: paused;
}

@keyframes rail-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.case-card {
    width: 220px;
    aspect-ratio: 4/5;
    flex-shrink: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
}

.case-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 60%, rgba(232, 213, 196, 0.15));
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
    border-radius: 5px;
}

.case-card:hover::after {
    opacity: 1;
}

.case-card:hover {
    border-color: var(--accent-pearl);
    transform: translateY(-2px);
}

.case-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    border-radius: 5px;
}

.case-card:hover img {
    transform: scale(1.08);
}

/* Tap-hint badge */
.case-card::before {
    content: 'TAP';
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 3;
    padding: 4px 10px;
    background: rgba(10, 14, 23, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid var(--accent-pearl);
    border-radius: 100px;
    font-size: 9px;
    letter-spacing: 1.5px;
    color: var(--accent-pearl);
    font-weight: 600;
    opacity: 0;
    transform: translateY(6px);
    transition: all var(--transition);
}

.case-card:hover::before,
.case-card:active::before {
    opacity: 1;
    transform: translateY(0);
}

/* Wider screens: bigger cards + longer fade mask */
@media (min-width: 600px) {
    .case-card {
        width: 260px;
    }
    .cases-rail::before,
    .cases-rail::after {
        width: 60px;
    }
}

/* ============================================
   Lightbox — Case Detail Viewer
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.is-open {
    display: flex;
    opacity: 1;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 16, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 100%;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-stage {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
}

.lightbox-img {
    max-width: 100%;
    max-height: calc(85vh - 60px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(232, 213, 196, 0.15);
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lightbox.is-open .lightbox-img {
    opacity: 1;
    transform: scale(1);
}

.lightbox-counter {
    position: absolute;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--accent-pearl);
    letter-spacing: 2px;
}

.counter-divider {
    color: var(--text-tertiary);
}

.lightbox-close {
    position: absolute;
    top: -8px;
    right: -4px;
    width: 44px;
    height: 44px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
}

.lightbox-close svg {
    width: 20px;
    height: 20px;
}

.lightbox-close:hover,
.lightbox-close:active {
    background: var(--accent-pearl);
    color: var(--bg-deep);
    border-color: var(--accent-pearl);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
}

.lightbox-nav svg {
    width: 22px;
    height: 22px;
}

.lightbox-prev {
    left: -4px;
}

.lightbox-next {
    right: -4px;
}

.lightbox-nav:hover,
.lightbox-nav:active {
    background: var(--accent-pearl);
    color: var(--bg-deep);
    border-color: var(--accent-pearl);
    transform: translateY(-50%) scale(1.08);
}

/* Slide-in animations */
.lightbox-img.is-slide-in-right {
    animation: slideInRight 0.3s ease;
}

.lightbox-img.is-slide-in-left {
    animation: slideInLeft 0.3s ease;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px) scale(0.96); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px) scale(0.96); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

/* Body lock when lightbox open */
body.lightbox-open {
    overflow: hidden;
    touch-action: none;
}

@media (max-width: 480px) {
    .lightbox {
        padding: 16px;
    }
    .lightbox-content {
        max-height: 80vh;
    }
    .lightbox-prev {
        left: 4px;
    }
    .lightbox-next {
        right: 4px;
    }
    .lightbox-close {
        top: 4px;
        right: 4px;
    }
    .lightbox-nav {
        width: 42px;
        height: 42px;
    }
}

@media (min-width: 600px) {
    .lightbox-content {
        max-width: 560px;
    }
}

/* ─── Advantages ──────────────────────────── */
.advantages-section {
    background: var(--bg-deep-2);
}

.adv-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.adv-card {
    padding: 12px 14px;
    transition: all var(--transition);
}

.adv-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-pearl);
}

.adv-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 6px;
}

.adv-num {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 400;
    color: var(--accent-pearl);
    opacity: 0.6;
    flex-shrink: 0;
    line-height: 1;
}

.adv-card h5 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    color: var(--accent-pearl);
    line-height: 1.3;
    margin: 0;
}

.adv-card p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.55;
}

.adv-feature {
    background: linear-gradient(135deg, rgba(232, 213, 196, 0.12), rgba(184, 165, 212, 0.08));
    border-color: var(--accent-pearl);
}

/* ─── Process ─────────────────────────────── */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step {
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all var(--transition);
}

.step:hover {
    transform: translateX(4px);
    border-color: var(--accent-pearl);
}

.step-num {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 500;
    background: var(--accent-iridescent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    flex-shrink: 0;
    width: 56px;
    text-align: center;
}

.step-body h5 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    color: var(--accent-pearl);
    margin-bottom: 4px;
}

.step-body p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ─── FAQ ─────────────────────────────────── */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    padding: 0;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-pearl);
    /* Big touch target */
    min-height: 64px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.q {
    flex: 1;
    line-height: 1.45;
}

.q-toggle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--glass-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all var(--transition);
    flex-shrink: 0;
}

.faq-item[open] .q-toggle {
    transform: rotate(45deg);
    background: var(--accent-pearl);
    color: var(--bg-deep);
}

.faq-item .a {
    padding: 0 20px 20px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.7;
}

/* ─── Book Section ────────────────────────── */
.book-section {
    background: var(--bg-deep-2);
}

.book-card {
    padding: 13px;
    position: relative;
}

.book-promo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: linear-gradient(135deg, rgba(232, 213, 196, 0.12), rgba(184, 165, 212, 0.08));
    border: 1px solid var(--accent-pearl);
    border-radius: 14px;
    margin-bottom: 28px;
}

.promo-mark {
    font-size: 18px;
    color: var(--accent-gold);
}

.book-promo p {
    font-size: 13px;
    color: var(--accent-pearl);
    font-weight: 500;
}

.book-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.field-v7 {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-v7 label {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--accent-pearl);
    font-weight: 600;
}

.field-v7 input,
.field-v7 select,
.field-v7 textarea {
    width: 100%;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    font-size: 15px;
    color: var(--text-primary);
    transition: all var(--transition);
    -webkit-appearance: none;
    appearance: none;
    /* Big touch target */
    min-height: 52px;
}

.field-v7 input:focus,
.field-v7 select:focus,
.field-v7 textarea:focus {
    outline: none;
    border-color: var(--accent-pearl);
    box-shadow: 0 0 0 3px var(--glow-pearl);
    background: rgba(255, 255, 255, 0.06);
}

.field-v7 input::placeholder,
.field-v7 textarea::placeholder {
    color: var(--text-muted);
}

.field-v7 textarea {
    resize: vertical;
    min-height: 96px;
    padding: 16px 18px;
}

.select-v7 {
    position: relative;
}

.select-v7::after {
    content: '';
    position: absolute;
    right: 18px;
    bottom: 20px;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid var(--accent-pearl);
    border-bottom: 1.5px solid var(--accent-pearl);
    transform: rotate(45deg);
    pointer-events: none;
}

.select-v7 select {
    padding-right: 40px;
    cursor: pointer;
}

.select-v7 select option {
    background: var(--bg-mid);
    color: var(--text-primary);
}

.form-assurance {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: 8px;
}

/* ─── Footer ──────────────────────────────── */
.footer-v7 {
    padding: 60px 0 36px;
    background: var(--bg-deep);
    border-top: 1px solid var(--glass-border);
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 32px;
    text-align: center;
}

.footer-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 10px;
    background: var(--glass-bg);
    padding: 4px;
}

.footer-slogan {
    font-family: var(--font-display);
    font-size: 17px;
    color: var(--accent-pearl);
    font-weight: 500;
    margin-bottom: 4px;
}

.footer-sub {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.footer-bottom {
    text-align: center;
    font-size: 11px;
    color: var(--text-tertiary);
    letter-spacing: 0.5px;
}

/* ─── Magnetic & Tilt ─────────────────────── */
.magnetic-v7 { transition: transform 0.3s var(--ease-fluid); }

[data-tilt] { transition: transform 0.4s var(--ease-fluid); }

/* ─── Reveal Animation ────────────────────── */
.reveal-v7 {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s var(--ease-fluid), transform 0.7s var(--ease-fluid);
}

.reveal-v7.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Larger screens: graceful 2-col ──────── */
@media (min-width: 600px) {
    .container-v7 {
        max-width: 560px;
    }
    .hero-title {
        font-size: 44px;
    }
    .section-title-v7 {
        font-size: 36px;
    }
}

/* ─── Reduced Motion ──────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}