@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&family=Nunito+Sans:wght@400;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito Sans', Arial, sans-serif;
    background: #f7f3ec;
    color: #16233b;
    line-height: 1.65;
}

.serif {
    font-family: 'Playfair Display', Georgia, serif;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
}

.gold { color: #c9a668; }
.gold-text { color: #c9a668 !important; }


/* ---------- NAVIGATION ---------- */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    padding: 16px 6%;

    background: rgba(247, 243, 236, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(22, 35, 59, 0.08);

    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #16233b;
}

.logo-mark {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    line-height: 1.2;
}

nav {
    display: flex;
    gap: 32px;
    flex: 1;
    justify-content: center;
}

nav a {
    color: #16233b;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease;
}

nav a:hover,
nav a.nav-active {
    border-color: #c9a668;
    color: #c9a668;
}

.nav-actions {
    display: flex;
    gap: 10px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #16233b;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: #f7f3ec;
    padding: 24px 6%;
    gap: 18px;
    z-index: 999;
    border-bottom: 1px solid rgba(22, 35, 59, 0.08);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
    color: #16233b;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mobile-menu-actions {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}


/* ---------- BUTTONS ---------- */

.button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.button.dark { background: #16233b; color: #f7f3ec; }
.button.gold { background: #c9a668; color: #16233b; }
.button.small { padding: 10px 20px; font-size: 0.75rem; }
.button.large { padding: 16px 40px; font-size: 0.9rem; }

.button:hover { transform: translateY(-2px); opacity: 0.92; }


/* ---------- HERO ---------- */

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 140px 8% 100px;

    background:
        linear-gradient(180deg, rgba(11,15,23,0.15) 0%, rgba(11,15,23,0.35) 60%, rgba(11,15,23,0.75) 100%),
        url('assets/sumi-hero-sunset.jpg') center 22% / cover no-repeat;
}

.hero-content { max-width: 720px; }

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.95;
    color: #f7f3ec;
    margin-bottom: 24px;
}

.hero-tagline {
    max-width: 520px;
    font-size: 1.15rem;
    color: #e8e2d6;
    margin-bottom: 34px;
}

.hero-buttons { display: flex; gap: 15px; }


/* ---------- SECTIONS ---------- */

.section {
    padding: 110px 8%;
}

.section-cream { background: #f7f3ec; }

.section-navy {
    background:
        linear-gradient(180deg, rgba(11,15,23,0.55) 0%, rgba(11,15,23,0.8) 100%),
        url('assets/sumi-navy-smoke.jpg') center / cover no-repeat;
    color: #e8e2d6;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #8a8577;
    margin-bottom: 18px;
}

.eyebrow-rule {
    width: 28px;
    height: 1px;
    background: #c9a668;
    display: inline-block;
}

.section h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 8px;
}

.companion-tag {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c9a668;
    margin-bottom: 28px;
}

.body-text {
    max-width: 620px;
    font-size: 1.05rem;
    color: #3c4353;
    margin-bottom: 16px;
}

.body-text.light { color: #cfc9ba; }

.talk-card {
    max-width: 620px;
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 36px;
    margin-top: 32px;
    box-shadow: 0 20px 50px rgba(22,35,59,0.06);
}

.talk-card-label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: #8a8577;
    margin-bottom: 16px;
}

.talk-list { list-style: none; }
.talk-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 12px;
    color: #3c4353;
}
.talk-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #8a8577;
}


/* ---------- POWER / CALM / FUTURE ---------- */

.pcf {
    display: grid;
    gap: 24px;
    padding-top: 60px;
    padding-bottom: 60px;
}

.pcf-card {
    background: #fffdf9;
    border-radius: 20px;
    padding: 40px 36px;
    box-shadow: 0 20px 50px rgba(22,35,59,0.05);
}

.pcf-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.pcf-card h3 { font-size: 2.2rem; }

.pill {
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    font-weight: 700;
}
.pill.dark { background: #16233b; color: #c9a668; }

.ask-link {
    display: inline-block;
    margin-top: 18px;
    color: #b5924a;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}
.ask-link:hover { text-decoration: underline; }


/* ---------- CHARTER (navy) ---------- */

.charter-lead {
    max-width: 640px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    line-height: 1.6;
    color: #e8e2d6;
    margin-bottom: 24px;
}

.charter-lead.italic { font-style: italic; }

.gold-rule {
    border: none;
    border-top: 1px solid rgba(201,166,104,0.4);
    width: 80px;
    margin: 32px 0;
}

.value-card {
    max-width: 620px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(201,166,104,0.2);
    border-radius: 18px;
    padding: 28px 32px;
    margin-top: 20px;
    backdrop-filter: blur(6px);
}

.value-label {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: #c9a668;
    margin-bottom: 10px;
}

.charter-footer {
    margin-top: 50px;
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    color: #c9a668;
    text-transform: uppercase;
}


/* ---------- PODCAST ---------- */

.podcast-intro {
    max-width: 700px;
    margin-bottom: 50px;
}

.episode-player {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 26px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(201,166,104,0.2);
}

.episode-play {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid #c9a668;
    color: #c9a668;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, color 0.25s ease;
}
.episode-play:hover { background: #c9a668; color: #16233b; }
.episode-play.playing { background: #c9a668; color: #16233b; }

.waveform {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 34px;
    flex: 1;
}

.waveform span {
    display: block;
    width: 3px;
    min-height: 4px;
    border-radius: 2px;
    background: #c9a668;
    opacity: 0.75;
}

@keyframes sumi-wave {
    from { transform: scaleY(0.4); }
    to { transform: scaleY(1.3); }
}

.podcast-tagline {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    color: #8a8577;
    margin-top: 8px;
}

.episode-card {
    position: relative;
    max-width: 700px;
    background:
        linear-gradient(160deg, rgba(15,22,38,0.94), rgba(8,12,20,0.97)),
        url('assets/sumi-navy-smoke.jpg') center / cover no-repeat;
    border: 1px solid rgba(201,166,104,0.35);
    border-radius: 4px;
    padding: 48px 48px 44px;
    margin-bottom: 30px;
    color: #e8e2d6;
    box-shadow: 0 30px 60px rgba(10,14,22,0.35);
}

.episode-card::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    bottom: 18px;
    border: 1px solid rgba(201,166,104,0.18);
    border-radius: 2px;
    pointer-events: none;
}

.episode-featured {
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    color: #c9a668;
    margin-bottom: 14px;
}

.episode-tag {
    display: inline-block;
    border: 1px solid rgba(201,166,104,0.5);
    background: none;
    color: #c9a668;
    border-radius: 999px;
    padding: 5px 18px;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    margin-bottom: 22px;
}

.episode-card h3 {
    font-size: 1.9rem;
    margin-bottom: 22px;
    color: #f7f3ec;
    letter-spacing: 0.01em;
}

.episode-card .body-text.light {
    color: #c5bda8;
    font-size: 1rem;
    line-height: 1.85;
}

.episode-signoff {
    margin-top: 14px;
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    color: #a99f89;
}


/* ---------- PREVIEW CONTEXT (cream) ---------- */

.preview-context { text-align: center; }
.preview-context .eyebrow { justify-content: center; }
.preview-context h2 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 24px; }
.preview-tagline {
    max-width: 620px;
    margin: 0 auto;
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 1.4rem;
    line-height: 1.6;
    color: #6b6558;
}
.preview-context .body-text { margin-left: auto; margin-right: auto; }


/* ---------- FAQ ---------- */

.faq-section .charter-lead { margin-bottom: 40px; }
.faq-section .eyebrow { color: #c9a668; }

.faq-item {
    display: flex;
    gap: 20px;
    max-width: 640px;
    margin-bottom: 32px;
}

.faq-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #c9a668;
    color: #c9a668;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.faq-item h4 {
    color: #f7f3ec;
    font-size: 1.15rem;
    margin-bottom: 6px;
}


/* ---------- CHAT CTA ---------- */

.chat-cta { text-align: center; }
.chat-cta .body-text { margin: 0 auto 34px; }
.chat-cta h2 { margin-bottom: 14px; }


/* ---------- SUMI CHAT PANEL ---------- */

.sumi-panel {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: min(380px, calc(100vw - 32px));
    height: min(560px, calc(100vh - 100px));
    display: flex;
    flex-direction: column;
    background: #16233b;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 1200;
    overflow: hidden;
}

.sumi-panel.open { opacity: 1; transform: translateY(0); pointer-events: auto; }

.sumi-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #c9a668;
}

.sumi-close { background: none; border: none; color: #e8e2d6; font-size: 1.3rem; cursor: pointer; }

.sumi-log {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sumi-msg p {
    margin: 0;
    padding: 10px 14px;
    border-radius: 14px;
    max-width: 85%;
    font-size: 0.92rem;
    line-height: 1.5;
}

.sumi-msg--user { align-self: flex-end; }
.sumi-msg--user p { background: #c9a668; color: #16233b; border-bottom-right-radius: 4px; }
.sumi-msg--sumi p { background: rgba(255,255,255,0.08); color: #f7f3ec; border-bottom-left-radius: 4px; }

.sumi-msg-image { max-width: 60%; border-radius: 12px; margin-bottom: 4px; }

.sumi-msg--thinking { display: flex; gap: 4px; padding: 12px 14px; }
.sumi-msg--thinking span {
    width: 6px; height: 6px; border-radius: 50%; background: #c9a668;
    animation: sumi-bounce 1.2s infinite ease-in-out;
}
.sumi-msg--thinking span:nth-child(2) { animation-delay: 0.15s; }
.sumi-msg--thinking span:nth-child(3) { animation-delay: 0.3s; }
@keyframes sumi-bounce { 0%,80%,100% { transform: translateY(0); opacity: 0.4; } 40% { transform: translateY(-4px); opacity: 1; } }

.sumi-form {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.sumi-form input[type="text"] {
    flex: 1;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    padding: 10px 16px;
    color: #f7f3ec;
    font-size: 0.9rem;
}
.sumi-form input[type="text"]:focus { outline: none; border-color: #c9a668; }

.sumi-icon-btn { background: none; border: none; color: #c9a668; font-size: 1.1rem; cursor: pointer; padding: 6px; }
.sumi-icon-btn.recording { color: #e2593a; }

.sumi-send {
    background: #c9a668;
    color: #16233b;
    border-radius: 50%;
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
}


/* ---------- FOOTER ---------- */

footer {
    background: #0e1728;
    padding: 70px 8% 40px;
    color: #b5ab97;
}

.footer-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.footer-logo { width: 48px; height: 48px; border-radius: 50%; }

.footer-brand {
    font-size: 1.4rem;
    color: #f7f3ec;
    letter-spacing: 0.08em;
}

.footer-tagline {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: #c9a668;
    margin-top: 4px;
}

.footer-rule {
    border: none;
    border-top: 1px solid rgba(201,166,104,0.18);
    margin: 30px 0;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 10px;
}

.footer-heading {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: #c9a668;
    margin-bottom: 16px;
}

.footer-columns a {
    display: block;
    color: #cfc9ba;
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 12px;
}
.footer-columns a:hover { color: #c9a668; }

.footer-note { max-width: 600px; margin-bottom: 30px; }

.footer-body { font-size: 0.95rem; color: #b5ab97; line-height: 1.7; }

.footer-copy {
    margin-top: 20px;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: #6f6a5e;
}

@media (max-width: 600px) {
    .footer-columns { gap: 36px; }
}


/* ---------- MOBILE ---------- */

@media (max-width: 900px) {
    nav, .nav-actions { display: none; }
    .nav-toggle { display: block; }

    .hero { padding: 120px 6% 70px; align-items: flex-end; }
    .section { padding: 80px 6%; }

    .podcast-intro { flex-direction: column; }
}
