:root {
    /* Color Palette */
    --primary: #1a1a1b;
    /* Charcoal */
    --accent: #c5a059;
    /* Noble Gold */
    --bg-light: #fdfdfd;
    --bg-soft: #f8f9fa;
    --bg-dark: #121212;
    --text-main: #333333;
    --text-soft: #666666;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);

    /* Spacing & Sizes */
    --header-height: 80px;
    --container-width: 1200px;
    --container-narrow: 800px;

    /* Transitions */
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.8;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

h1,
h2,
h3 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.container.narrow {
    max-width: var(--container-narrow);
}

/* Header & Nav */
header {
    height: var(--header-height);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

header.scrolled {
    height: 60px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Noto Serif JP', serif;
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}

.logo a:hover {
    color: var(--accent);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-soft);
    letter-spacing: 0.05em;
}

.nav-links a:hover {
    color: var(--accent);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 120px 0;
}

.bg-soft {
    background-color: var(--bg-soft);
}

.bg-dark {
    background-color: var(--bg-dark);
    color: var(--white);
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    margin-bottom: 10px;
}

.section-label.white {
    color: var(--accent);
    opacity: 0.8;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-title.white {
    color: var(--white);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 20px) 40px 40px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.66)), url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 700px;
    z-index: 2;
}

.eyebrow {
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent);
    margin-bottom: 20px; /* Increased a bit for clarity */
    display: block;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.9), 0 1px 3px rgba(0, 0, 0, 0.15);
}

.hero-section h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--primary);
}

.accent-text {
    color: var(--accent);
}

.particle-small {
    font-size: 0.65em;
    vertical-align: 0.1em; /* Adjust to stay near center/baseline gracefully */
    margin: 0 0.1em;
}

.kome {
    font-size: 0.85em;
    vertical-align: top;
    position: relative;
    top: -0.1em;
    color: var(--accent);
    margin-left: 1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    border-left: 3px solid var(--accent);
    padding-left: 20px;
}

.btn-cta {
    display: inline-block;
    padding: 18px 45px;
    background-color: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-cta:hover {
    background-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(197, 160, 89, 0.3);
}

/* Hero Visual Animation */
.hero-visual {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    z-index: 1;
}

.visual-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--accent) 0%, rgba(197, 160, 89, 0) 70%);
    opacity: 0.1;
    border-radius: 50%;
    animation: pulse 10s infinite linear;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.15;
    }

    100% {
        transform: scale(1);
        opacity: 0.1;
    }
}

/* Speaker Section */
.speaker-layout {
    display: grid;
    grid-template-columns: 0.6fr 1.5fr;
    gap: 80px;
    align-items: flex-start;
}

.speaker-image {
    position: relative;
}

.speaker-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    filter: grayscale(20%);
    transition: var(--transition-smooth);
}

.speaker-image img:hover {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.speaker-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    border-top: 5px solid var(--accent);
    border-left: 5px solid var(--accent);
    z-index: -1;
}

.speaker-name {
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.speaker-name .small {
    font-size: 1.2rem;
    font-weight: 300;
}

.speaker-title {
    font-size: 1.2rem;
    color: var(--accent);
    font-weight: 600;
}

.speaker-bio p {
    margin-bottom: 20px;
    color: var(--text-soft);
}

/* Event Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.info-grid .info-card:last-child {
    grid-column: 1 / -1;
}

@media (max-width: 991px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

.info-card {
    padding: 40px;
    background: var(--white);
    border-bottom: 2px solid #eee;
    transition: var(--transition-smooth);
}

.info-card:hover {
    border-bottom-color: var(--accent);
    transform: translateY(-10px);
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent);
}

/* Iframe Container */
.form-container {
    padding: 40px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
}

@media (max-width: 768px) {
    .form-container {
        padding: 20px;
    }
}



/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

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

/* Footer */
.footer {
    padding: 100px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid #eee;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 40px;
}

.footer-bottom {
    padding-top: 40px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-soft);
}

/* Responsive */
@media (max-width: 991px) {
    .speaker-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-section h1 {
        font-size: 3rem;
    }

    .hero-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    .logo {
        font-size: 1.4rem;
    }

    .hero-section {
        padding: calc(var(--header-height) + 60px) 20px 40px;
        align-items: flex-start;
    }

    .hero-content {
        padding-top: 20px;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .eyebrow {
        font-size: 1.2rem;
    }

    .nav-links {
        display: none;
    }

    .hero-meta {
        flex-direction: column;
        gap: 5px;
    }

    .meta-separator {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}