:root {
    --navy:#012169;
    --gold:#e99824;
    --pale:#f1f5fb;
    --text:#425574;
    --border:#dbe3ef;
    --white:#fff
}

* {
    box-sizing:border-box
}

html {
    scroll-behavior:smooth
}

body {
    margin:0;
    font-family:Arial,Helvetica,sans-serif;
    color:var(--navy);
    line-height:1.45
}

a {
    color:inherit
}

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

.container {
    width:min(1120px,calc(100% - 80px));
    margin-inline:auto
}

.skip-link {
    position:absolute;
    left:-999px;
    top:0;
    background:white;
    padding:10px;
    z-index:200
}

.skip-link:focus {
    left:10px
}

.site-header {
    background:white;
    position:relative;
    z-index:50;
    border-bottom:1px solid #e9edf4
}

.header-inner {
    min-height:106px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px
}

.brand {
    display:inline-flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    font-size:25px;
    line-height:1.03;
    font-weight:800;
    letter-spacing:-.6px;
    flex-shrink:0
}

.brand-symbol {
    font-size:48px;
    line-height:1
}

.nav-list,.submenu {
    list-style:none;
    margin:0;
    padding:0
}

.nav-list {
    display:flex;
    align-items:center;
    gap:18px
}

.nav-item {
    position:relative
}

.nav-entry {
    display:flex;
    align-items:center
}

.nav-link {
    font-size:13px;
    font-weight:700;
    display:block;
    text-decoration:none;
    padding:14px 6px;
    white-space:nowrap;
    transition:color .2s
}

.nav-link:hover,.nav-link:focus-visible,.nav-link.active,.nav-item.active-parent>.nav-entry>.nav-link,.submenu a.active {
    color:var(--gold)!important
}

.donate-nav {
    background:var(--navy);
    color:white!important;
    border-radius:6px;
    padding:12px 22px
}

.donate-nav:hover,.donate-nav.active {
    background:var(--gold);
    color:var(--navy)!important
}

.submenu-toggle {
    border:0;
    background:none;
    color:inherit;
    cursor:pointer;
    font-size:18px;
    padding:8px 2px
}

.submenu {
    display:none;
    position:absolute;
    left:0;
    top:100%;
    min-width:210px;
    background:white;
    border:1px solid var(--border);
    box-shadow:0 12px 25px #071d4b25;
    border-radius:7px;
    padding:7px 0;
    z-index:100
}

.submenu a {
    display:block;
    padding:10px 15px;
    text-decoration:none;
    font-size:13px;
    font-weight:700
}

.submenu a:hover,.submenu a:focus-visible {
    background:var(--pale);
    color:var(--gold)
}

.has-submenu:hover>.submenu,.has-submenu:focus-within>.submenu,.has-submenu.submenu-open>.submenu {
    display:block
}

.menu-toggle {
    display:none
}

.hero {
    background:var(--navy);
    color:white
}

.hero-grid {
    display:grid;
    grid-template-columns:1.15fr .95fr;
    gap:55px;
    padding-top:25px;
    padding-bottom:18px;
    align-items:center
}

.eyebrow {
    text-transform:uppercase;
    letter-spacing:2px;
    font-size:10px;
    font-weight:800
}

.hero h1 {
    font-size:clamp(36px,4.2vw,51px);
    line-height:1.09;
    letter-spacing:-1.5px;
    margin:20px 0 18px
}

.hero-copy>p:not(.eyebrow) {
    font-size:17px;
    line-height:1.45;
    max-width:500px
}

.hero-copy>p {
    margin-bottom:19px
}

.button {
    display:inline-block;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
    padding:14px 21px;
    border-radius:4px
}

.button-light {
    background:white;
    color:var(--navy);
    margin:22px 0 13px
}

.button-light:hover {
    background:var(--gold)
}

.instagram-callout {
    display:block;
    font-weight:700;
    font-size:18px;
    text-decoration:underline
}

.hero-visual {
    margin:0
}

.video-frame {
    position:relative;
    max-width:420px;
    margin:auto
}

.video-frame video {
    display:block;
    width:100%;
    aspect-ratio:4/5;
    object-fit:cover;
    background:#152b55
}

.netflix-badge {
    position:absolute;
    top:-19px;
    right:-18px;
    width:84px;
    height:84px;
    border-radius:50%;
    background:#ef0027;
    color:white;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    font-size:10px;
    line-height:1.2;
    pointer-events:none
}

.netflix-badge strong {
    font-size:21px
}

.hero figcaption {
    font-size:12px;
    margin-top:8px
}

.involve-section,.spotlight-section {
    background:var(--pale);
    padding:27px 0
}

.involve-section h2,.research-section h2,.spotlight-section h2,.books-section h2 {
    font-size:clamp(28px,3vw,35px);
    line-height:1.15;
    letter-spacing:-.8px;
    margin:8px 0 16px
}

.action-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:17px
}

.action-card {
    background:white;
    border:1px solid var(--border);
    border-radius:9px;
    min-height:178px;
    padding:20px 14px 13px;
    display:flex;
    flex-direction:column
}

.action-card h3 {
    font-size:20px;
    line-height:1.08;
    margin:0 0 8px
}

.action-card p {
    font-size:14px;
    color:var(--text);
    margin:0 0 16px
}

.action-card a {
    font-size:14px;
    font-weight:800;
    text-decoration:none;
    margin-top:auto
}

.action-card a:hover,.text-link:hover {
    color:var(--gold)
}

.research-section {
    padding-top:32px;
    padding-bottom:22px
}

.muted {
    color:#647995
}

.section-intro {
    font-size:17px;
    color:var(--text);
    margin:0 0 17px
}

.text-link {
    font-weight:800;
    font-size:13px;
    text-decoration:none
}

.wide-photo {
    width:100%;
    height:340px;
    object-fit:cover;
    border-radius:18px;
    margin-top:18px;
    background:#e6eaf1
}

.spotlight-section {
    padding-top:55px;
    padding-bottom:60px
}

.spotlight-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:22px;
    margin-top:26px
}

.spotlight-card {
    background:white;
    border:1px solid var(--border);
    border-radius:8px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
    padding:12px;
    min-height:190px
}

.spotlight-copy {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    padding:4px 8px
}

.tag {
    background:#edf2f8;
    padding:5px 7px;
    text-transform:uppercase;
    letter-spacing:1px;
    font-size:11px;
    color:#577094
}

.spotlight-card h3 {
    font-size:18px;
    line-height:1.1;
    margin:12px 0
}

.spotlight-card a {
    font-size:12px;
    font-weight:800;
    margin-top:auto
}

.spotlight-card img {
    width:100%;
    height:100%;
    max-height:190px;
    object-fit:cover;
    border-radius:6px;
    background:#e6eaf1
}

.books-section {
    display:grid;
    grid-template-columns:190px 1fr 1.5fr;
    align-items:center;
    gap:38px;
    padding-top:28px;
    padding-bottom:28px
}

.book-cover {
    width:190px;
    max-height:290px;
    object-fit:contain
}

.books-copy p:not(.eyebrow) {
    color:var(--text);
    line-height:1.65
}

.books-photo {
    width:100%;
    height:265px;
    object-fit:cover
}

.site-footer {
    border-top:1px solid var(--border);
    padding-top:36px
}

.footer-grid {
    display:grid;
    grid-template-columns:1.5fr 1fr 1fr;
    gap:35px;
    padding-bottom:35px
}

.footer-brand {
    font-size:21px
}

.footer-brand .brand-symbol {
    font-size:42px
}

.site-footer h3 {
    font-size:13px;
    margin:0 0 12px
}

.site-footer a:not(.brand) {
    display:block;
    font-size:13px;
    text-decoration:none;
    margin-bottom:8px
}

.site-footer a:hover {
    color:var(--gold)
}

.site-footer p {
    font-size:13px;
    color:var(--text)
}

.footer-bottom {
    border-top:1px solid var(--border);
    padding:14px 0;
    font-size:11px;
    color:var(--text)
}

.inner-page {
    padding-top:70px;
    padding-bottom:90px;
    min-height:50vh
}

.inner-page h1 {
    font-size:clamp(35px,5vw,56px)
}

.inner-page p {
    font-size:18px;
    color:var(--text);
    max-width:700px
}

@media(max-width:960px) {
    .container {
        width:min(100% - 40px,1120px)
    }

    .header-inner {
        min-height:85px
    }

    .brand {
        font-size:20px
    }

    .brand-symbol {
        font-size:39px
    }

    .nav-list {
        gap:6px
    }

    .nav-link {
        font-size:12px
    }

    .hero-grid {
        gap:25px
    }

    .action-grid {
        grid-template-columns:repeat(2,1fr)
    }

    .books-section {
        grid-template-columns:130px 1fr 1fr;
        gap:20px
    }

    .book-cover {
        width:130px
    }

}

@media(max-width:720px) {
    .header-inner {
        min-height:76px;
        flex-wrap:wrap
    }

    .menu-toggle {
        display:flex;
        flex-direction:column;
        gap:5px;
        justify-content:center;
        background:none;
        border:1px solid var(--border);
        border-radius:5px;
        padding:10px;
        cursor:pointer
    }

    .menu-toggle span {
        width:22px;
        height:2px;
        background:var(--navy)
    }

    .site-nav {
        display:none;
        flex-basis:100%;
        width:100%;
        padding-bottom:14px
    }

    .site-nav.is-open {
        display:block
    }

    .nav-list {
        display:block
    }

    .nav-item {
        border-top:1px solid var(--border)
    }

    .nav-entry {
        justify-content:space-between
    }

    .nav-link {
        font-size:15px;
        padding:13px 10px
    }

    .submenu-toggle {
        font-size:23px;
        padding:10px 16px
    }

    .submenu {
        position:static;
        min-width:0;
        box-shadow:none;
        border:0;
        border-radius:0;
        background:var(--pale);
        padding:0 0 6px 15px
    }

    .has-submenu:hover>.submenu,.has-submenu:focus-within>.submenu {
        display:none
    }

    .has-submenu.submenu-open>.submenu {
        display:block
    }

    .donate-nav {
        display:inline-block;
        margin:10px 0
    }

    .hero-grid {
        grid-template-columns:1fr;
        gap:24px;
        padding:34px 0
    }

    .hero h1 {
        font-size:39px
    }

    .hero-copy>p:not(.eyebrow) {
        font-size:16px
    }

    .hero-visual {
        width:min(100%,430px);
        margin:auto
    }

    .video-frame {
        max-width:350px
    }

    .netflix-badge {
        right:-12px
    }

    .instagram-callout {
        font-size:15px
    }

    .action-grid,.spotlight-grid {
        grid-template-columns:1fr
    }

    .research-section {
        padding-top:38px
    }

    .wide-photo {
        height:240px
    }

    .books-section {
        grid-template-columns:110px 1fr
    }

    .books-photo {
        grid-column:1/-1;
        height:240px
    }

    .footer-grid {
        grid-template-columns:1fr 1fr
    }

    .footer-grid>div:first-child {
        grid-column:1/-1
    }

}

@media(max-width:420px) {
    .container {
        width:calc(100% - 30px)
    }

    .brand {
        font-size:18px
    }

    .hero h1 {
        font-size:34px
    }

    .spotlight-card {
        grid-template-columns:1fr 1fr;
        gap:7px
    }

    .spotlight-card h3 {
        font-size:16px
    }

    .books-section {
        gap:15px
    }

    .books-section h2 {
        font-size:24px
    }

    .books-copy p:not(.eyebrow) {
        font-size:13px
    }

}

/* Official Duke Puppy Kindergarten logo from provided homepage reference */
.brand-logo {
    display:block;
    width:206px;
    height:auto;
    max-width:100%;
    object-fit:contain
}

.footer-brand .brand-logo {
    width:185px
}

@media(max-width:420px) {
    .brand-logo {
        width:175px
    }

}

/* Larger, more readable site-wide typography */
body {
    font-size: 18px;
    line-height: 1.55;
}

.nav-link {
    font-size: 15px;
}

.submenu a {
    font-size: 15px;
}

.hero-copy > p:not(.eyebrow), .section-intro {
    font-size: 19px;
}

.action-card p, .action-card a {
    font-size: 16px;
}

.button, .text-link {
    font-size: 15px;
}

.spotlight-card a, .site-footer a:not(.brand), .site-footer p, .site-footer h3 {
    font-size: 15px;
}

.hero figcaption, .footer-bottom {
    font-size: 14px;
}

.books-copy p:not(.eyebrow) {
    font-size: 18px;
}

.inner-page p {
    font-size: 20px;
}

@media (max-width: 960px) {
    .nav-link {
        font-size: 14px;
    }

}

@media (max-width: 720px) {
    .nav-link {
        font-size: 17px;
    }

    .hero-copy > p:not(.eyebrow) {
        font-size: 18px;
    }

}

@media (max-width: 420px) {
    .books-copy p:not(.eyebrow) {
        font-size: 16px;
    }

}


/* ==========================================
   FOOTER BOTTOM - FULL WIDTH
   ========================================== */

.footer-bottom {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    padding: 20px 30px;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;

    width: 100%;
    max-width: none;
    gap: 15px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.footer-bottom .container > * {
    min-width: 0;
    max-width: 100%;
}

/* TABLET AND MOBILE */

@media (max-width: 768px) {
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
}
