/* ============================================================
   KYOKO HONMA — Profile Page CSS
   Design: Transparent, Elegant, Healing Aesthetic
   Palette: Ivory, Cream, Gold, Blush, Sage
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --ivory:       #faf8f4;
    --cream:       #f5f0e8;
    --linen:       #ede7d9;
    --warm-white:  #fffdf9;
    --gold:        #c9a96e;
    --gold-light:  #e0c896;
    --gold-dark:   #a07c45;
    --blush:       #e8d5c8;
    --sage:        #a8b4a0;
    --mist:        #d4ddd6;
    --text-dark:   #2d2925;
    --text-mid:    #6b5f52;
    --text-soft:   #9e9087;
    --text-light:  #bcb3a8;
    --font-serif:  'Cormorant Garamond', 'Noto Serif JP', serif;
    --font-sans:   'Noto Sans JP', sans-serif;
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    background-color: var(--ivory);
    color: var(--text-dark);
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.9;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; }

/* ---------- Background Canvas & Overlay ---------- */
#particles-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.bg-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(201,169,110,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 90%, rgba(168,180,160,0.07) 0%, transparent 60%),
        radial-gradient(ellipse 100% 100% at 50% 50%, rgba(250,248,244,0.3) 0%, transparent 100%);
    pointer-events: none;
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 3rem;
    background: rgba(250, 248, 244, 0.7);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-bottom: 1px solid rgba(201,169,110,0.12);
    transition: background 0.4s var(--ease-smooth);
}

.nav.scrolled {
    background: rgba(250, 248, 244, 0.92);
    box-shadow: 0 2px 24px rgba(100,80,50,0.06);
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--gold-dark);
}

.nav-tagline {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-soft);
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8rem 2rem 5rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(250,248,244,0.8) 0%, rgba(232,213,200,0.15) 50%, rgba(250,248,244,0.9) 100%);
    z-index: -1;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 5rem;
    max-width: 1100px;
    width: 100%;
}

/* --- Hero Image --- */
.hero-image-wrapper {
    position: relative;
    flex-shrink: 0;
}

.image-frame {
    position: relative;
    width: 340px;
    height: 440px;
    border-radius: 50% 50% 48% 52% / 46% 46% 54% 54%;
    overflow: hidden;
    box-shadow:
        0 30px 80px rgba(100,70,30,0.15),
        0 8px 24px rgba(100,70,30,0.08),
        inset 0 0 0 1px rgba(201,169,110,0.2);
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: brightness(1.02) contrast(0.97) saturate(0.95);
    transition: transform 0.6s var(--ease-smooth);
}

.image-frame:hover .hero-photo {
    transform: scale(1.03);
}

.image-glow {
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        rgba(201,169,110,0.25) 0%,
        rgba(232,213,200,0.1) 40%,
        transparent 70%
    );
    pointer-events: none;
}

/* Gold ring around photo */
.image-frame::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    border: 1.5px solid rgba(201,169,110,0.35);
    pointer-events: none;
}

.hero-badge {
    position: absolute;
    bottom: 20px;
    right: -28px;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(250,248,244,0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(201,169,110,0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(100,70,30,0.12);
    text-align: center;
    padding: 0.5rem;
}

.badge-years {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--gold-dark);
    line-height: 1;
}

.badge-text {
    font-size: 0.55rem;
    letter-spacing: 0.05em;
    color: var(--text-soft);
    line-height: 1.3;
    margin-top: 2px;
}

/* --- Hero Text --- */
.hero-text {
    flex: 1;
    min-width: 0;
}

.hero-subtitle-en {
    font-size: 0.72rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.hero-name {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
}

.name-ja {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 400;
    letter-spacing: 0.18em;
    color: var(--text-dark);
    line-height: 1.1;
}

.name-en {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: var(--text-soft);
    text-transform: uppercase;
}

.hero-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-light), transparent);
}

.divider-icon {
    color: var(--gold);
    font-size: 0.8rem;
}

.hero-philosophy {
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    font-weight: 400;
    line-height: 1.85;
    color: var(--text-mid);
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.hero-philosophy-en {
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--gold-dark);
    letter-spacing: 0.08em;
    line-height: 1;
}

.stat-label {
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    color: var(--text-soft);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--gold-light), transparent);
}

/* --- Scroll Indicator --- */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: float 2.4s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-light);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold-light), transparent);
    animation: extend 2.4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

@keyframes extend {
    0%, 100% { transform: scaleY(1); transform-origin: top; }
    50%       { transform: scaleY(0.6); transform-origin: top; }
}

/* ---------- Sections Common ---------- */
.section {
    position: relative;
    z-index: 1;
    padding: 7rem 2rem;
}

.section-inner {
    max-width: 960px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 400;
    color: var(--text-dark);
    letter-spacing: 0.1em;
    margin-bottom: 2.5rem;
    line-height: 1.3;
}

/* ---------- Philosophy Section ---------- */
.philosophy-section {
    background: linear-gradient(
        160deg,
        rgba(201,169,110,0.06) 0%,
        rgba(232,213,200,0.12) 50%,
        transparent 100%
    );
}

.quote-block {
    position: relative;
    padding: 3rem 3.5rem;
    border-left: 2px solid var(--gold-light);
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 0 20px 20px 0;
    box-shadow: 0 8px 40px rgba(100,70,30,0.06);
}

.quote-mark {
    position: absolute;
    top: -0.8rem;
    left: 1.5rem;
    font-family: var(--font-serif);
    font-size: 7rem;
    color: var(--gold-light);
    line-height: 1;
    opacity: 0.7;
    user-select: none;
}

blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 400;
    font-style: italic;
    color: var(--text-dark);
    letter-spacing: 0.08em;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 1;
}

.quote-sub {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.9;
    position: relative;
    z-index: 1;
}

/* ---------- Story Section ---------- */
.story-section {
    background: var(--warm-white);
}

.story-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
}

.story-card {
    position: relative;
    background: rgba(250,248,244,0.9);
    border: 1px solid rgba(201,169,110,0.15);
    border-radius: 20px;
    padding: 2.2rem;
    transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
    overflow: hidden;
}

.story-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201,169,110,0.05) 0%, transparent 60%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(100,70,30,0.1);
}

.story-card:hover::before { opacity: 1; }

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    display: block;
}

.card-era {
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.card-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: 0.08em;
    margin-bottom: 0.8rem;
}

.card-text {
    font-size: 0.82rem;
    color: var(--text-mid);
    line-height: 1.9;
}

/* ---------- Mission Section ---------- */
.mission-section {
    background: linear-gradient(
        to bottom right,
        rgba(168,180,160,0.08),
        rgba(201,169,110,0.06)
    );
}

.mission-text-wrapper {
    margin-bottom: 3rem;
}

.mission-lead {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    color: var(--text-mid);
    line-height: 2;
    margin-bottom: 1.2rem;
    font-weight: 400;
}

.mission-body {
    font-size: 0.88rem;
    color: var(--text-soft);
    line-height: 2;
}

.mission-highlight {
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(201,169,110,0.22);
    border-radius: 20px;
    padding: 2.5rem 3rem;
    text-align: center;
    box-shadow: 0 8px 40px rgba(100,70,30,0.06);
}

.highlight-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.8rem;
    flex-wrap: wrap;
}

.highlight-num {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--gold-dark);
    letter-spacing: 0.08em;
}

.highlight-sep {
    font-size: 1.5rem;
    color: var(--gold-light);
}

.highlight-desc {
    font-size: 0.82rem;
    color: var(--text-mid);
    line-height: 1.85;
    width: 100%;
    margin-top: 1rem;
    font-family: var(--font-serif);
    letter-spacing: 0.06em;
}

/* ---------- Expertise Section ---------- */
.expertise-section {
    background: var(--warm-white);
}

.expertise-intro {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 2;
    max-width: 720px;
    margin-bottom: 3.5rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.expertise-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 50% 50% 40% 40% / 30% 30% 50% 50%;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(201,169,110,0.15);
    transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
    box-shadow: 0 4px 20px rgba(100,70,30,0.04);
}

.expertise-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 40px rgba(100,70,30,0.1);
}

.expertise-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cream), var(--linen));
    border: 1px solid rgba(201,169,110,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}

.expertise-icon { font-size: 1.8rem; }

.expertise-item h3 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: 0.1em;
    margin-bottom: 0.6rem;
}

.expertise-item p {
    font-size: 0.78rem;
    color: var(--text-soft);
    line-height: 1.8;
}

/* ---------- Promise Section ---------- */
.promise-section {
    background: linear-gradient(
        160deg,
        var(--linen),
        var(--cream) 50%,
        var(--ivory) 100%
    );
    padding: 8rem 2rem;
}

.promise-content {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.promise-deco {
    font-size: 1.5rem;
    color: var(--gold);
    display: block;
    margin-bottom: 1.5rem;
    animation: rotate 8s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.promise-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--text-dark);
    letter-spacing: 0.15em;
    margin-bottom: 1.8rem;
}

.promise-text {
    font-size: 0.92rem;
    color: var(--text-mid);
    line-height: 2.2;
    margin-bottom: 3rem;
    letter-spacing: 0.06em;
}

.promise-signature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(201,169,110,0.25);
}

.sig-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: 0.2em;
}

.sig-role {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ---------- Footer ---------- */
.footer {
    background: var(--text-dark);
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
}

.footer-inner {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
}

.footer-name {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--linen);
    letter-spacing: 0.15em;
    margin-bottom: 0.3rem;
}

.footer-role {
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.footer-divider {
    width: 60px;
    height: 1px;
    background: rgba(201,169,110,0.3);
    margin: 1.5rem auto;
}

.footer-copy {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    color: var(--text-light);
}

/* ---------- Animations ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 1.2s var(--ease-smooth) 0.3s forwards;
}

.fade-in-delay {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 1.2s var(--ease-smooth) 0.7s forwards;
}

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

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease-smooth), transform 0.9s var(--ease-smooth);
}

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

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 3rem;
    }

    .hero-text {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .hero-stats { justify-content: center; }
    .hero-divider { max-width: 280px; }

    .image-frame {
        width: 280px;
        height: 360px;
    }

    .story-cards {
        grid-template-columns: 1fr;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }

    .nav { padding: 1.2rem 1.5rem; }

    .highlight-inner {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 600px) {
    .section { padding: 5rem 1.2rem; }

    .quote-block {
        padding: 2rem 1.5rem;
    }

    .mission-highlight { padding: 2rem 1.5rem; }

    .expertise-item {
        border-radius: 20px;
    }

    .br-pc { display: none; }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--ivory); }
::-webkit-scrollbar-thumb { background: var(--gold-light); border-radius: 2px; }
