:root {
    --navy: #06162d;
    --navy-2: #0b2547;
    --green: #63be2b;
    --green-dark: #2b7f1c;
    --gold: #d7af4a;
    --cream: #f7f5ef;
    --white: #ffffff;
    --text: #162235;
    --muted: #5f6b7a;
    --shadow: 0 14px 40px rgba(6, 22, 45, .14);
    --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--green-dark); }
h1, h2, h3 {
    margin-top: 0;
    line-height: 1.18;
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
}
h1 { font-size: clamp(2.25rem, 5vw, 4.65rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }
.container { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 9999;
    background: var(--white);
    padding: .7rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(6, 22, 45, .96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.header-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.brand {
    display: flex;
    align-items: center;
    gap: .9rem;
    color: var(--white);
    text-decoration: none;
    min-width: 0;
}
.brand img {
    width: 68px;
    height: 68px;
    object-fit: cover;
    object-position: top center;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(99,190,43,.45);
}
.brand-copy { display: grid; }
.brand-copy strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.28rem;
    letter-spacing: .02em;
}
.brand-copy span { font-size: .85rem; color: #cce4b8; }

.site-nav {
    display: flex;
    align-items: center;
    gap: .35rem;
}
.site-nav a {
    color: #eff5ff;
    text-decoration: none;
    font-weight: 700;
    padding: .72rem .84rem;
    border-radius: 999px;
    white-space: nowrap;
}
.site-nav a:hover,
.site-nav a.active { background: rgba(255,255,255,.11); }
.site-nav .nav-cta {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: var(--white);
    box-shadow: 0 8px 22px rgba(56,137,30,.35);
}
.site-nav .nav-cta:hover { background: linear-gradient(135deg, #79cf40, #2c8b1b); }
.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

.hero-image { background: var(--cream); }
.hero-image img {
    width: 100%;
    max-height: 650px;
    object-fit: contain;
    background: #fff;
}

.hero-copy {
    background:
        radial-gradient(circle at 80% 20%, rgba(99,190,43,.18), transparent 34%),
        linear-gradient(135deg, var(--navy), var(--navy-2));
    color: var(--white);
    text-align: center;
    padding: 5.5rem 1rem;
}
.hero-copy h1, .hero-copy h2 { color: var(--white); }
.hero-copy .eyebrow { color: #b8ed95; }
.hero-copy p {
    max-width: 800px;
    margin-inline: auto;
    font-size: 1.16rem;
    color: #e7eef8;
}
.eyebrow {
    margin-bottom: .7rem;
    color: var(--green-dark);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .84rem;
}
.button-row {
    display: flex;
    justify-content: center;
    gap: .8rem;
    flex-wrap: wrap;
    margin-top: 1.7rem;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .78rem 1.25rem;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    border: 2px solid transparent;
}
.button-primary {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: white;
}
.button-secondary {
    background: white;
    color: var(--navy);
}
.button-outline {
    border-color: rgba(255,255,255,.65);
    color: white;
}

.section { padding: 5rem 0; }
.section-alt { background: var(--cream); }
.section-dark {
    background: var(--navy);
    color: white;
}
.section-dark h2, .section-dark h3 { color: white; }
.section-heading {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    text-align: center;
}
.section-heading p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-heading p { color: #d7e0ec; }

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
}
.card {
    background: white;
    border-radius: var(--radius);
    padding: 1.65rem;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--green);
}
.card p { color: var(--muted); }
.card .text-link { font-weight: 800; text-decoration: none; }

.about-layout {
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
}
.portrait {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: sticky;
    top: 118px;
}
.portrait img { width: 100%; }
.prose {
    font-size: 1.04rem;
}
.prose p { margin-bottom: 1.15rem; }
.callout {
    background: linear-gradient(135deg, rgba(99,190,43,.12), rgba(215,175,74,.13));
    border-left: 6px solid var(--green);
    padding: 1.3rem 1.5rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 1.5rem 0;
}

.page-hero {
    background:
      linear-gradient(135deg, rgba(6,22,45,.95), rgba(11,37,71,.9)),
      url('../images/logo.png') center/cover;
    color: white;
    padding: 4.5rem 0;
}
.page-hero h1 { color: white; margin-bottom: .7rem; }
.page-hero p { max-width: 720px; color: #dbe6f4; font-size: 1.1rem; }

.book-layout {
    display: grid;
    grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}
.book-visual {
    background: var(--navy);
    border-radius: var(--radius);
    padding: 1.2rem;
    box-shadow: var(--shadow);
}
.book-visual img { border-radius: 12px; }

.topic-card {
    position: relative;
    overflow: hidden;
}
.topic-card::after {
    content: "";
    position: absolute;
    width: 120px; height: 120px;
    border-radius: 50%;
    right: -45px; bottom: -45px;
    background: rgba(99,190,43,.1);
}
.topic-card ul { padding-left: 1.2rem; color: var(--muted); }

.contact-panel {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 1.5rem;
    background: white;
    color: var(--text);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}
.contact-list a {
    display: block;
    margin: .55rem 0;
    font-weight: 800;
    text-decoration: none;
}

.coming-soon {
    text-align: center;
    min-height: 52vh;
    display: grid;
    place-items: center;
}
.coming-soon-box {
    max-width: 760px;
    background: white;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 3rem 2rem;
}
.coming-badge {
    display: inline-block;
    background: rgba(99,190,43,.14);
    color: var(--green-dark);
    font-weight: 800;
    border-radius: 999px;
    padding: .45rem .8rem;
    margin-bottom: 1rem;
}

.site-footer {
    background: #031024;
    color: #d9e3f0;
    padding-top: 3.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 2rem;
}
.site-footer h2 { color: white; font-size: 1.3rem; }
.site-footer a { color: #b8ed95; text-decoration: none; }
.social-links { display: flex; flex-wrap: wrap; gap: .75rem; }
.footer-bottom {
    margin-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,.12);
    text-align: center;
    padding: 1.2rem;
    font-size: .92rem;
}

@media (max-width: 940px) {
    .menu-toggle { display: block; }
    .site-nav {
        display: none;
        position: absolute;
        left: 1rem; right: 1rem; top: 86px;
        padding: 1rem;
        background: var(--navy);
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 14px;
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch;
    }
    .site-nav.open { display: flex; }
    .site-nav a { text-align: center; }
    .card-grid { grid-template-columns: 1fr 1fr; }
    .about-layout, .book-layout, .contact-panel { grid-template-columns: 1fr; }
    .portrait { position: static; max-width: 520px; margin-inline: auto; }
}

@media (max-width: 640px) {
    .header-inner { min-height: 80px; }
    .brand img { width: 54px; height: 54px; }
    .brand-copy strong { font-size: 1.05rem; }
    .brand-copy span { font-size: .73rem; }
    .site-nav { top: 75px; }
    .hero-copy, .section { padding-top: 3.7rem; padding-bottom: 3.7rem; }
    .card-grid, .footer-grid { grid-template-columns: 1fr; }
    .page-hero { padding: 3.4rem 0; }
}
