/* ============================================================
   MU:ON Design System - 묵향 (Ink & Essence)
   Korean traditional aesthetics + Modern minimalism
   NO GRADIENTS - Solid colors with subtle textures
   ============================================================ */

/* CSS Variables - 묵향 Theme */
:root {
    /* Core Palette - Ink & Paper */
    --ink-900: #0D0D12;
    --ink-800: #1A1A2E;
    --ink-700: #2D2D44;
    --ink-600: #3D3D5C;
    --ink-500: #52527A;

    /* Paper & Warmth */
    --paper: #FAF8F5;
    --paper-warm: #F5F2ED;
    --paper-cool: #F8F9FA;
    --cream: #FDF9F3;

    /* Accent - Gold & Bronze */
    --gold: #B8860B;
    --gold-light: #D4A84B;
    --gold-dark: #8B6914;
    --bronze: #CD7F32;
    --copper: #B87333;

    /* Traditional Korean Colors */
    --dancheong-red: #C73E3A;
    --dancheong-blue: #2E5A8B;
    --dancheong-green: #4A7C59;
    --dancheong-yellow: #E8B84A;
    --hanbok-cerise: #A63D5A;

    /* Type Colors - Refined */
    --type-1: #B83232;  /* Powerful - Deep crimson */
    --type-2: #2E5A8B;  /* Precise - Royal blue */
    --type-3: #3D4F4F;  /* Minimal - Slate */
    --type-4: #7A3B7A;  /* Expresser - Plum */
    --type-5: #C65D2A;  /* Technician - Burnt orange */
    --type-6: #6B4423;  /* Classical - Sepia */
    --type-7: #B8860B;  /* Groover - Gold */
    --type-8: #2D7A7A;  /* Silhouette - Teal */

    /* Neutral */
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --gray-400: #BDBDBD;
    --gray-500: #9E9E9E;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;

    /* Shadows - Soft & Natural */
    --shadow-xs: 0 1px 2px rgba(13, 13, 18, 0.04);
    --shadow-sm: 0 2px 8px rgba(13, 13, 18, 0.06);
    --shadow-md: 0 4px 16px rgba(13, 13, 18, 0.08);
    --shadow-lg: 0 8px 32px rgba(13, 13, 18, 0.10);
    --shadow-xl: 0 16px 48px rgba(13, 13, 18, 0.12);
    --shadow-gold: 0 4px 20px rgba(184, 134, 11, 0.15);

    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 32px;
    --space-8: 40px;
    --space-9: 48px;
    --space-10: 64px;
    --space-11: 80px;
    --space-12: 96px;

    /* Border Radius - Refined */
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 150ms var(--ease-out);
    --transition-normal: 250ms var(--ease-out);
    --transition-slow: 400ms var(--ease-out);
}

/* ============================================================
   Base Styles
   ============================================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background-color: var(--paper);
    color: var(--ink-800);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
}

/* Subtle paper texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.025;
    pointer-events: none;
    z-index: 9999;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* ============================================================
   Typography
   ============================================================ */

h1, h2, h3, h4 {
    font-family: 'Gowun Batang', 'Nanum Myeongjo', Georgia, serif;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: clamp(28px, 5vw, 40px);
    text-align: center;
    margin-bottom: var(--space-3);
    color: var(--ink-800);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin: var(--space-4) auto 0;
}

.section-subtitle {
    font-size: 15px;
    color: var(--gray-600);
    text-align: center;
    margin-bottom: var(--space-10);
    font-weight: 400;
}

/* ============================================================
   Site Navigation
   ============================================================ */

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-5) var(--space-8);
    transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.site-nav.scrolled {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--gray-200);
}

.site-nav-logo {
    font-family: 'Gowun Batang', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 2px;
    transition: color var(--transition-normal);
}

.site-nav.scrolled .site-nav-logo {
    color: var(--ink-800);
}

.site-nav-links {
    display: flex;
    gap: var(--space-6);
    align-items: center;
}

/* 상단 중앙 메뉴 (메인 사이트와 동일 구성) */
.site-nav-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-6);
    align-items: center;
}

.site-nav-link {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: var(--space-2) 0;
    position: relative;
    transition: color var(--transition-normal);
}

.site-nav.scrolled .site-nav-link {
    color: var(--ink-800);
}

.site-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition-normal);
}

.site-nav-link:hover::after,
.site-nav-link.active::after {
    width: 100%;
}

.site-nav-link--cta {
    background: var(--white);
    color: var(--ink-800) !important;
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all var(--transition-normal);
}

.site-nav-link--cta::after {
    display: none;
}

.site-nav-link--cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .site-nav {
        padding: var(--space-4) var(--space-5);
    }

    .site-nav-links {
        gap: var(--space-4);
    }

    .site-nav-link:not(.site-nav-link--cta) {
        display: none;
    }

    .site-nav-menu {
        display: none;
    }

    .site-nav-link--cta {
        font-size: 13px;
        padding: var(--space-2) var(--space-4);
    }
}

/* ============================================================
   Hero Section - Minimal & Elegant
   ============================================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--ink-800);
}

.hero-background {
    position: absolute;
    inset: 0;
    background: var(--ink-800);
    z-index: 0;
}

/* Subtle ink wash texture */
.hero-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 80%, rgba(184, 134, 11, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(45, 90, 139, 0.06) 0%, transparent 50%);
}

/* Paper texture on dark */
.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.04;
}

.hero-content {
    text-align: center;
    padding: var(--space-8);
    position: relative;
    z-index: 1;
    animation: fadeIn 1s ease-out;
}

.logo {
    font-family: 'Gowun Batang', Georgia, serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 6px;
    color: var(--gold);
    margin-bottom: var(--space-10);
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Gowun Batang', Georgia, serif;
    font-size: clamp(36px, 8vw, 72px);
    font-weight: 400;
    color: var(--white);
    margin-bottom: var(--space-5);
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-family: 'Pretendard', sans-serif;
    font-size: clamp(15px, 2.5vw, 18px);
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    margin-bottom: var(--space-12);
    letter-spacing: 0.02em;
}

.hero-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: float 3s ease-in-out infinite;
}

.scroll-arrow {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transform: translateX(-50%) rotate(45deg);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ============================================================
   Overview Section
   ============================================================ */

.overview {
    padding: var(--space-12) 0;
    background: var(--white);
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    max-width: 900px;
    margin: 0 auto;
}

.overview-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-6) var(--space-4);
    background: var(--paper);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(16px);
}

.overview-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.overview-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.overview-emoji {
    font-size: 36px;
    margin-bottom: var(--space-3);
    transition: transform var(--transition-fast);
}

.overview-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-3);
    transition: transform var(--transition-fast);
}

.overview-icon img {
    width: 100%;
    height: 100%;
}

.overview-card:hover .overview-emoji,
.overview-card:hover .overview-icon {
    transform: scale(1.1);
}

.overview-name {
    font-family: 'Gowun Batang', serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--ink-800);
    margin-bottom: var(--space-1);
}

.overview-action {
    font-size: 12px;
    color: var(--gray-600); /* Improved contrast for accessibility */
    letter-spacing: 0.5px;
}

/* ============================================================
   Type Cards Section
   ============================================================ */

.types {
    padding: var(--space-12) 0;
    background: var(--paper);
}

.type-card {
    display: grid;
    grid-template-columns: 140px 1fr minmax(170px, 200px);
    gap: var(--space-8);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    margin-bottom: var(--space-6);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

.type-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.type-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-300);
}

.type-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-4);
    border-right: 1px solid var(--gray-200);
}

.type-number {
    font-family: 'Gowun Batang', serif;
    font-size: 12px;
    color: var(--gray-400);
    letter-spacing: 3px;
    margin-bottom: var(--space-4);
}

.type-emoji {
    font-size: 56px;
    line-height: 1;
}

.type-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
}

.type-icon img {
    width: 100%;
    height: 100%;
}

.type-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding: var(--space-2) 0;
}

.type-title-group {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--space-4);
}

.type-name {
    font-family: 'Gowun Batang', serif;
    font-size: clamp(26px, 4vw, 32px);
    font-weight: 400;
}

.type-english {
    font-family: 'Pretendard', sans-serif;
    font-size: 13px;
    color: var(--gray-600); /* Improved contrast for accessibility */
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.type-category {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: var(--paper);
    color: var(--ink-700);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.type-core {
    font-size: 15px;
    color: var(--ink-700);
}

.type-core strong {
    color: var(--gold-dark);
    font-weight: 600;
}

.type-description {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.8;
}

.type-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-4);
    background: var(--paper);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
}

.detail-item {
    display: flex;
    gap: var(--space-4);
    font-size: 13px;
}

.detail-label {
    min-width: 70px;
    color: var(--gray-600); /* Improved contrast for accessibility */
    font-weight: 500;
}

.detail-value {
    color: var(--gray-700);
}

.type-quote {
    font-family: 'Gowun Batang', serif;
    font-size: clamp(18px, 3vw, 22px);
    color: var(--ink-800);
    padding: var(--space-4) 0;
    font-style: italic;
}

.quote-mark {
    font-size: 24px;
    color: var(--gold);
    font-weight: 400;
    font-style: normal;
}

/* Type Color Indicator */
.type-color-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

.type-1 .type-color-bar { background: var(--type-1); }
.type-1 .type-name { color: var(--type-1); }

.type-2 .type-color-bar { background: var(--type-2); }
.type-2 .type-name { color: var(--type-2); }

.type-3 .type-color-bar { background: var(--type-3); }
.type-3 .type-name { color: var(--type-3); }

.type-4 .type-color-bar { background: var(--type-4); }
.type-4 .type-name { color: var(--type-4); }

.type-5 .type-color-bar { background: var(--type-5); }
.type-5 .type-name { color: var(--type-5); }

.type-6 .type-color-bar { background: var(--type-6); }
.type-6 .type-name { color: var(--type-6); }

.type-7 .type-color-bar { background: var(--type-7); }
.type-7 .type-name { color: #8B6914; }

.type-8 .type-color-bar { background: var(--type-8); }
.type-8 .type-name { color: var(--type-8); }

/* Type Demo Video (facade → YouTube Shorts) */
.type-card--no-video {
    grid-template-columns: 140px 1fr;
}

.type-video {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    align-self: start;
}

.type-video__tabs {
    display: flex;
    gap: 6px;
}

.type-video__tab {
    font-family: 'Pretendard', sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 4px 14px;
    border: 1px solid var(--gray-300);
    border-radius: 999px;
    background: var(--white);
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.type-video__tab.is-active {
    background: var(--ink-800);
    border-color: var(--ink-800);
    color: var(--white);
}

.type-video__tab:hover:not(.is-active) {
    border-color: var(--gray-500);
    color: var(--ink-800);
}

.type-video__stage[hidden] {
    display: none;
}

.type-video__stage {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    padding: 0;
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    background: var(--ink-900);
}

.type-video__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.type-video__stage:hover .type-video__thumb {
    transform: scale(1.04);
}

.type-video__play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    display: grid;
    place-items: center;
    transition: background var(--transition-fast);
}

.type-video__play::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 0 9px 15px;
    border-color: transparent transparent transparent var(--white);
    margin-left: 3px;
}

.type-video__stage:hover .type-video__play,
.type-video__stage:focus-visible .type-video__play {
    background: var(--gold);
}

.type-video__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000;
}

.type-video__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================================
   Summary Table Section
   ============================================================ */

.summary {
    padding: var(--space-12) 0;
    background: var(--white);
}

.summary-table {
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.table-header {
    display: grid;
    grid-template-columns: 1.2fr 1fr 2fr;
    padding: var(--space-5) var(--space-6);
    background: var(--ink-800);
    color: var(--white);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.table-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 2fr;
    padding: var(--space-4) var(--space-6);
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    transition: all var(--transition-fast);
    font-size: 14px;
    align-items: center;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row:hover {
    background: var(--paper);
}

.row-emoji {
    margin-right: var(--space-2);
}

.row-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: var(--space-2);
    vertical-align: middle;
}

.row-icon img {
    width: 100%;
    height: 100%;
}

.row-quote {
    color: var(--gray-600);
    font-style: italic;
    font-family: 'Gowun Batang', serif;
}

/* Row accent on hover */
.row-1:hover { border-left: 3px solid var(--type-1); padding-left: calc(var(--space-6) - 3px); }
.row-2:hover { border-left: 3px solid var(--type-2); padding-left: calc(var(--space-6) - 3px); }
.row-3:hover { border-left: 3px solid var(--type-3); padding-left: calc(var(--space-6) - 3px); }
.row-4:hover { border-left: 3px solid var(--type-4); padding-left: calc(var(--space-6) - 3px); }
.row-5:hover { border-left: 3px solid var(--type-5); padding-left: calc(var(--space-6) - 3px); }
.row-6:hover { border-left: 3px solid var(--type-6); padding-left: calc(var(--space-6) - 3px); }
.row-7:hover { border-left: 3px solid var(--type-7); padding-left: calc(var(--space-6) - 3px); }
.row-8:hover { border-left: 3px solid var(--type-8); padding-left: calc(var(--space-6) - 3px); }

/* ============================================================
   CTA Section
   ============================================================ */

.cta {
    padding: var(--space-12) 0;
    background: var(--paper);
}

.cta-content {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.cta h2 {
    font-family: 'Gowun Batang', serif;
    font-size: clamp(24px, 5vw, 36px);
    color: var(--ink-800);
    margin-bottom: var(--space-4);
    font-weight: 400;
}

.cta p {
    font-size: 15px;
    color: var(--gray-600);
    margin-bottom: var(--space-8);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-8);
    background: var(--ink-800);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    font-family: 'Pretendard', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    background: var(--ink-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-button svg {
    transition: transform var(--transition-fast);
}

.cta-button:hover svg {
    transform: translateX(4px);
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
    padding: var(--space-10) 0;
    background: var(--ink-800);
    color: var(--white);
    text-align: center;
}

.footer-logo {
    font-family: 'Gowun Batang', serif;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 4px;
    margin-bottom: var(--space-2);
    color: var(--gold);
}

.footer-tagline {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: var(--space-4);
}

.footer-copyright {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   Responsive Design
   ============================================================ */

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-4);
    }

    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }

    .type-card,
    .type-card--no-video {
        grid-template-columns: 1fr;
        gap: var(--space-5);
        padding: var(--space-6);
    }

    .type-video {
        width: 100%;
        max-width: 240px;
        margin: 0 auto;
    }

    .type-header {
        flex-direction: row;
        justify-content: flex-start;
        gap: var(--space-4);
        padding: 0;
        padding-bottom: var(--space-4);
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
    }

    .type-emoji {
        font-size: 44px;
    }

    .type-icon {
        width: 48px;
        height: 48px;
    }

    .type-number {
        margin-bottom: 0;
    }

    .type-color-bar {
        left: 0;
        right: 0;
        top: 0;
        bottom: auto;
        width: auto;
        height: 4px;
    }

    .table-header,
    .table-row {
        grid-template-columns: 1fr 1fr;
    }

    .table-header span:last-child,
    .table-row span:last-child {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-content {
        padding: var(--space-6);
    }

    .overview-card {
        padding: var(--space-4);
    }

    .overview-emoji {
        font-size: 28px;
    }

    .overview-icon {
        width: 36px;
        height: 36px;
    }

    .overview-name {
        font-size: 14px;
    }

    .type-title-group {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
    }

    .detail-item {
        flex-direction: column;
        gap: var(--space-1);
    }
}

/* ============================================================
   Animation Delays
   ============================================================ */

.overview-card:nth-child(1) { transition-delay: 0ms; }
.overview-card:nth-child(2) { transition-delay: 50ms; }
.overview-card:nth-child(3) { transition-delay: 100ms; }
.overview-card:nth-child(4) { transition-delay: 150ms; }
.overview-card:nth-child(5) { transition-delay: 200ms; }
.overview-card:nth-child(6) { transition-delay: 250ms; }
.overview-card:nth-child(7) { transition-delay: 300ms; }
.overview-card:nth-child(8) { transition-delay: 350ms; }

/* ============================================================
   Print Styles
   ============================================================ */

@media print {
    body::before {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: var(--space-8);
        background: var(--white);
        color: var(--ink-800);
    }

    .hero-background {
        display: none;
    }

    .hero-title,
    .hero-subtitle,
    .logo {
        color: var(--ink-800);
    }

    .hero-scroll-indicator,
    .cta {
        display: none;
    }

    .type-card {
        break-inside: avoid;
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--gray-300);
    }
}

/* ============================================================
   Accessibility
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.overview-card:focus-visible,
.cta-button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
