:root {
    /* ---- Brand Palette (Sampled directly from greenwood-logo.png) ---- */
    --navy-900: #001A4F;
    --navy-800: #0A2C63;
    --navy-700: #16407D;
    --navy-600: #2C5CA8;
    
    /* ---- Neutral Palette ---- */
    --gray-700: #5C5C5C;
    --gray-600: #797979;
    --gray-400: #B5B5B8;
    --ink-900: var(--navy-900);
    
    /* ---- Backgrounds & Surfaces ---- */
    --cream-100: #F5F2E9;
    --cream-50:  #FAF8F2;
    --white:     #FFFFFF;
    
    /* ---- Borders & Rules ---- */
    --rule:      rgba(0, 26, 79, 0.1);

    /* ---- Semantic Color Mapping (Bootstrap Integration) ---- */
    --bs-primary:        var(--navy-700);
    --bs-primary-rgb:    22, 64, 125;
    --bs-success:        var(--navy-600);
    --bs-success-rgb:    44, 92, 168;
    --bs-body-color:     var(--gray-600);
    --bs-body-bg:        var(--white);
    --bs-light:          var(--cream-50);
    --bs-light-rgb:      250, 248, 242;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream-50);
    color: var(--gray-600);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.font-display {
    letter-spacing: -0.01em;
    color: var(--navy-900);
    font-weight: bold;
}

a {
    color: inherit;
}

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

:focus-visible {
    outline: 2px solid var(--navy-600);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ---------- Top bar ---------- */
.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(250, 248, 242, 0.92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--rule);
}

.topbar .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 20px;
}

.logo {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--navy-900);
    text-decoration: none;
}

.logo span {
    color: var(--navy-600);
}

.topnav {
    display: flex;
    gap: 36px;
    font-size: 14px;
}

.topnav a {
    text-decoration: none;
    color: var(--gray-600);
    transition: color .15s ease;
}

.topnav a:hover {
    color: var(--navy-900);
}

.topnav .current {
    color: var(--navy-900);
    border-bottom: 1px solid var(--navy-700);
    padding-bottom: 2px;
}

@media (max-width: 720px) {
    .topnav {
        display: none;
    }
}

/* ---------- Hero ---------- */
.hero {
    padding: 96px 0 72px;
    border-bottom: 1px solid var(--rule);
}

.hero .kicker {
    font-size: 14px;
    color: var(--navy-600);
    font-weight: 600;
}

.hero h1 {
    font-size: clamp(40px, 5.4vw, 66px);
    line-height: 1.05;
    max-width: 760px;
    margin-top: 18px;
}

.hero p.lede {
    max-width: 520px;
    margin-top: 24px;
    font-size: 18px;
    color: var(--gray-600);
}

.stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    margin-top: 56px;
    padding-top: 36px;
    border-top: 1px solid var(--rule);
}

.stat-row .stat .num {
    font-family: 'Fraunces', serif;
    font-size: 36px;
    color: var(--navy-900);
    font-weight: 500;
}

.stat-row .stat .label {
    font-size: 13px;
    color: var(--gray-600);
    margin-top: 4px;
}

/* ---------- Section shell ---------- */
section {
    padding: 88px 0;
}

section.alt {
    background: var(--cream-100);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 52px;
    flex-wrap: wrap;
}

.section-head h2 {
    font-size: clamp(28px, 3.4vw, 40px);
}

.section-head p {
    max-width: 400px;
    color: var(--gray-600);
    font-size: 15px;
}

/* ---------- Cover wall ---------- */
.cover-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 22px;
}

@media (max-width:900px) {
    .cover-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.cover {
    aspect-ratio: 2/3;
    border-radius: 2px;
    position: relative;
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 14px 26px -18px rgba(0, 26, 79, 0.35);
    transform: rotate(var(--tilt, 0deg));
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
    opacity: 0;
    animation: coverIn .6s ease forwards;
}

.cover:hover {
    transform: rotate(0deg) translateY(-6px);
    box-shadow: 0 24px 34px -18px rgba(0, 26, 79, 0.4);
}

.cover:nth-child(4n+1) {
    --tilt: -1.4deg;
    animation-delay: .03s;
}

.cover:nth-child(4n+2) {
    --tilt: 1.1deg;
    animation-delay: .10s;
}

.cover:nth-child(4n+3) {
    --tilt: -0.8deg;
    animation-delay: .17s;
}

.cover:nth-child(4n+4) {
    --tilt: 1.5deg;
    animation-delay: .24s;
}

@keyframes coverIn {
    from {
        opacity: 0;
        transform: translateY(14px) rotate(var(--tilt, 0deg));
    }

    to {
        opacity: 1;
        transform: translateY(0) rotate(var(--tilt, 0deg));
    }
}

.cover-a {
    background: var(--navy-900);
    color: var(--white);
}

.cover-b {
    background: var(--navy-600);
    color: var(--white);
}

.cover-c {
    background: var(--cream-50);
    color: var(--navy-900);
    border: 1px solid var(--navy-900);
}

.cover-d {
    background: var(--navy-700);
    color: var(--white);
}

.cover .genre {
    font-size: 10.5px;
    letter-spacing: .03em;
    opacity: .75;
}

.cover .title {
    font-family: 'Fraunces', serif;
    font-size: 19px;
    line-height: 1.15;
    font-weight: 600;
}

.cover .rule {
    width: 26px;
    height: 2px;
    background: currentColor;
    opacity: .5;
    margin: 10px 0;
}

.cover .author {
    font-size: 11.5px;
    opacity: .85;
}

/* ---------- Website mockups ---------- */
.site-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width:900px) {
    .site-row {
        grid-template-columns: 1fr;
    }
}



/* ---------- Success stories ---------- */
.story {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 56px;
    align-items: center;
    padding: 48px 0;
    border-top: 1px solid var(--rule);
}

.story:last-child {
    border-bottom: 1px solid var(--rule);
}

.story:nth-child(even) {
    grid-template-columns: 1.2fr .8fr;
}

.story:nth-child(even) .story-quote {
    order: 1;
}

.story:nth-child(even) .story-metric {
    order: 2;
}

@media (max-width:800px) {
    .story,
    .story:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .story:nth-child(even) .story-quote {
        order: 0;
    }
}

.story-metric .num {
    font-family: 'Fraunces', serif;
    font-size: 52px;
    color: var(--navy-900);
    font-weight: 500;
    line-height: 1;
}

.story-metric .cap {
    font-size: 13px;
    color: var(--navy-600);
    margin-top: 10px;
    font-weight: 600;
}

.story-quote blockquote {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 400;
    color: var(--navy-900);
    line-height: 1.4;
}

.story-quote .attrib {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--navy-700);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-size: 14px;
    flex-shrink: 0;
    overflow: hidden;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.attrib .name {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy-900);
}

.attrib .book {
    font-size: 12.5px;
    color: var(--gray-600);
}

/* ---------- Trust strip ---------- */
.trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width:800px) {
    .trust-row {
        grid-template-columns: 1fr;
    }
}

.trust-card {
    border-top: 2px solid var(--navy-700);
    padding-top: 18px;
}

.trust-card p {
    font-size: 14.5px;
    color: var(--gray-700);
    line-height: 1.6;
}

.trust-card .attrib {
    margin-top: 16px;
    font-size: 12.5px;
    color: var(--gray-600);
}

.trust-card .attrib strong {
    color: var(--navy-900);
    display: block;
    font-size: 13.5px;
}

/* ---------- CTA ---------- */
.cta {
    /* background: var(--navy-900); */
    background: linear-gradient(179deg, rgb(0 26 79 / 95%) 0%, rgb(44 92 168 / 65%) 100%), url("../images/cta-1.webp") center / cover no-repeat;
    color: var(--white);
    text-align: center;
    padding: 96px 0;
}

.cta h2 {
    color: var(--white);
    font-size: clamp(28px, 3.6vw, 42px);
    max-width: 620px;
    margin: 0 auto;
}

.cta p {
    color: rgba(255, 255, 255, .7);
    margin-top: 16px;
    font-size: 15px;
}

.cta-btn {
    display: inline-block;
    margin-top: 32px;
    background: var(--navy-600);
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    padding: 14px 32px;
    border-radius: 3px;
    text-decoration: none;
    transition: .5s ease;
    transform: translateY(0px);
}

.cta-btn:hover {
    color: var(--white);
    background: var(--navy-700);
    transform: translateY(-3px);
}

footer {
    padding: 32px 0;
    text-align: center;
    font-size: 12.5px;
    color: var(--gray-600);
}





/* cover css  */
.cover {
    aspect-ratio: 2/3;
    border-radius: 2px;
    position: relative;
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 14px 26px -18px rgba(0, 26, 79, 0.35);
    overflow: hidden;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}

