/* Redmond Rotary Club Foundation
   Palette from the Rotary Brand Center (brandcenter.rotary.org):
   Azure #0067c8, Royal Blue #17458f, Gold #f7a81b, Sky Blue #00a2e0 */

:root {
    --rotary-azure: #0067c8;
    --rotary-royal-blue: #17458f;
    --rotary-gold: #f7a81b;
    --rotary-sky-blue: #00a2e0;
    --ink: #16233b;
    --paper: #ffffff;
    --tint: #f2f7fc;
    --border: #dde6f0;
    --max-width: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Open Sans", "Segoe UI", Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
}

h1, h2, h3 {
    font-weight: 800;
    color: var(--rotary-royal-blue);
    line-height: 1.2;
    margin-top: 0;
}

a {
    color: var(--rotary-azure);
}

.wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    background: var(--rotary-royal-blue);
    color: #fff;
    padding: 10px 16px;
    z-index: 1000;
}

.skip-link:focus {
    left: 12px;
    top: 12px;
}

/* Buttons */

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
}

.btn--gold {
    background: var(--rotary-gold);
    color: var(--ink);
}

.btn--gold:hover {
    background: #e5960a;
}

.btn--outline {
    border-color: #ffffff;
    color: #ffffff;
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn--lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

/* Header */

.site-header {
    background: var(--rotary-royal-blue);
    border-bottom: 4px solid var(--rotary-gold);
}

.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.brand {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    text-decoration: none;
    color: #fff;
}

@media (max-width: 560px) {
    .brand__tag {
        display: none;
    }
}

.brand__logo-plate {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border-radius: 10px;
    padding: 6px 14px;
    flex-shrink: 0;
}

.brand__logo {
    display: block;
    height: 40px;
    width: auto;
}

.brand__logo--footer {
    height: 34px;
}

.brand__tag {
    font-size: 0.8rem;
    color: #cfe0f7;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.site-nav a {
    color: #eaf2fc;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.site-nav a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.site-nav__cta {
    color: var(--ink) !important;
    text-decoration: none !important;
}

/* Hero */

.hero {
    background: linear-gradient(135deg, var(--rotary-azure), var(--rotary-royal-blue));
    color: #fff;
    padding: 72px 0;
}

.hero__inner {
    max-width: 780px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--rotary-gold);
    margin: 0 0 12px;
}

.hero h1 {
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    margin-bottom: 20px;
}

.hero__lede {
    font-size: 1.1rem;
    color: #eaf2fc;
    max-width: 640px;
}

.hero__lede a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 28px;
}

/* Sections */

.section {
    padding: 64px 0;
}

.section--tint {
    background: var(--tint);
}

.section__kicker {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--rotary-azure);
    margin-bottom: 8px;
}

.section__intro {
    max-width: 700px;
    font-size: 1.05rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

@media (max-width: 720px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Focus areas */

.focus-grid {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.focus-grid li {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.focus-grid__icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

/* Program cards */

.cards {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.card {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 6px rgba(23, 69, 143, 0.06);
}

.card__logo {
    display: block;
    width: 120px;
    height: auto;
    margin-bottom: 12px;
}

.card h3 {
    color: var(--rotary-azure);
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.card p {
    margin: 0;
}

/* Board */

.board-grid {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
}

.board-card {
    background: var(--paper);
    border-top: 4px solid var(--rotary-gold);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(23, 69, 143, 0.06);
}

.board-card__photo {
    display: block;
    width: 84px;
    height: 84px;
    margin: 0 auto 14px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 3px var(--tint);
}

.board-card__name {
    font-weight: 800;
    color: var(--rotary-royal-blue);
    margin: 0 0 4px;
}

.board-card__role {
    margin: 0;
    color: var(--rotary-azure);
    font-weight: 600;
    font-size: 0.9rem;
}

.board-note {
    margin-top: 18px;
    font-size: 0.9rem;
    color: #4a5d78;
}

/* Donate */

.donate {
    background: var(--rotary-gold);
    text-align: center;
}

.donate__inner {
    max-width: 680px;
}

.donate h2 {
    color: var(--ink);
}

.donate .btn {
    margin-top: 12px;
    background: var(--rotary-royal-blue);
    color: #fff;
}

.donate .btn:hover {
    background: #0f2f61;
}

/* Contact */

.contact {
    max-width: 900px;
}

.contact h3 {
    color: var(--rotary-azure);
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.contact__email {
    font-size: 1.2rem;
    font-weight: 700;
}

/* Footer */

.site-footer {
    background: var(--rotary-royal-blue);
    color: #cfe0f7;
    padding-top: 48px;
}

.site-footer h3 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 10px;
}

.site-footer a {
    color: #eaf2fc;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.site-footer__legal {
    padding: 20px 24px 28px;
    font-size: 0.82rem;
    color: #a9c2e3;
}

.site-footer__legal p {
    margin: 4px 0;
}
