/* ===========================================================================
   Robert Ricker - profile site
   --------------------------------------------------------------------------- */

:root {
    --color-blue: #00A1E0;
    --color-blue-dark: #0089BF;
    --color-navy: #032D60;
    --color-sky: #E8F4FB;
    --color-charcoal: #1A1A1A;
    --color-slate: #6B7280;
    --color-cool-white: #FAFBFC;
    --color-white: #FFFFFF;
    --color-border: #E5EAF0;

    --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: "Fraunces", Georgia, "Times New Roman", serif;

    --shadow-sm: 0 1px 2px rgba(3, 45, 96, 0.06);
    --shadow-md: 0 6px 24px -8px rgba(3, 45, 96, 0.18);
    --shadow-lg: 0 18px 50px -16px rgba(3, 45, 96, 0.25);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    --container-max: 1140px;
    --section-pad-y: clamp(4rem, 7vw, 6.5rem);

    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
    margin: 0;
    background: var(--color-cool-white);
    color: var(--color-charcoal);
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--color-navy);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 0.5em;
    letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

a {
    color: var(--color-blue);
    text-decoration: none;
    transition: color 0.18s var(--ease);
}
a:hover { color: var(--color-blue-dark); text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
    outline: 2px solid var(--color-blue);
    outline-offset: 2px;
    border-radius: 3px;
}

::selection { background: var(--color-sky); color: var(--color-navy); }

/* ---------- skip link ---------- */
.skip-link {
    position: absolute;
    top: -40px;
    left: 12px;
    background: var(--color-navy);
    color: #fff;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    z-index: 1000;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- container ---------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---------- nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.site-header.is-scrolled {
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

.brand {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--color-navy);
    letter-spacing: -0.01em;
}
.brand:hover { color: var(--color-navy); text-decoration: none; }

.primary-nav ul {
    display: flex;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.primary-nav a {
    color: var(--color-charcoal);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}
.primary-nav a:hover {
    color: var(--color-blue);
    text-decoration: none;
    border-bottom-color: var(--color-blue);
}
.primary-nav .nav-cta {
    background: var(--color-blue);
    color: #fff;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    border-bottom: none;
}
.primary-nav .nav-cta:hover { background: var(--color-blue-dark); border-bottom: none; }

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    width: 40px;
    height: 40px;
    cursor: pointer;
    padding: 0;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-navy);
    margin: 5px auto;
    transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .primary-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--color-border);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s var(--ease);
    }
    .primary-nav.is-open { max-height: 480px; }
    .primary-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 1.5rem 1.5rem;
    }
    .primary-nav li { border-bottom: 1px solid var(--color-border); }
    .primary-nav li:last-child { border-bottom: 0; padding-top: 0.75rem; }
    .primary-nav a {
        display: block;
        padding: 14px 0;
        border-bottom: none;
    }
    .primary-nav .nav-cta {
        display: inline-block;
        margin-top: 4px;
    }
}

/* ---------- buttons ---------- */
.btn {
    display: inline-block;
    padding: 13px 26px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.btn-primary {
    background: var(--color-blue);
    color: #fff;
}
.btn-primary:hover {
    background: var(--color-blue-dark);
    color: #fff;
    text-decoration: none;
}
.btn-ghost {
    background: transparent;
    color: var(--color-navy);
    border-color: var(--color-navy);
}
.btn-ghost:hover {
    background: var(--color-navy);
    color: #fff;
    text-decoration: none;
}

/* ---------- section utilities ---------- */
.section {
    padding: var(--section-pad-y) 0;
    background: var(--color-white);
}
.section-tint { background: var(--color-sky); }
.section-strip { background: var(--color-white); padding: clamp(2.5rem, 5vw, 4rem) 0; }

.section-eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-blue);
    margin: 0 0 0.75rem;
}
.section-title {
    font-size: clamp(1.85rem, 3vw, 2.4rem);
    margin-bottom: 1rem;
}
.section-intro {
    color: var(--color-slate);
    font-size: 1.075rem;
    max-width: 60ch;
    margin: 0 0 2.5rem;
}

/* ---------- hero ---------- */
.hero {
    background: linear-gradient(180deg, var(--color-sky) 0%, var(--color-cool-white) 100%);
    padding: clamp(4rem, 6vw, 6rem) 0 clamp(3rem, 5vw, 5rem);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}
.hero-copy .eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-blue);
    margin: 0 0 1.25rem;
}
.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.6rem);
    margin: 0 0 1rem;
    line-height: 1.05;
}
.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 1.7vw, 1.4rem);
    color: var(--color-navy);
    line-height: 1.4;
    margin: 0 0 1.25rem;
    max-width: 32ch;
}
.hero-lede {
    color: var(--color-slate);
    font-size: 1.05rem;
    max-width: 56ch;
    margin: 0 0 1.75rem;
}
.hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.hero-photo {
    margin: 0;
    position: relative;
    justify-self: center;
}
.hero-photo img {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    border: 6px solid #fff;
}

@media (max-width: 880px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-tagline, .hero-lede { margin-left: auto; margin-right: auto; }
    .hero-ctas { justify-content: center; }
    .hero-photo { order: -1; }
    .hero-photo img { max-width: 240px; }
}

/* ---------- pull quotes ---------- */
.pull-quote {
    margin: 0;
    padding: 1.25rem 1.5rem;
    border-left: 3px solid var(--color-blue);
    background: rgba(255, 255, 255, 0.65);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    box-shadow: var(--shadow-sm);
}
.pull-quote p {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--color-navy);
    line-height: 1.5;
    margin: 0 0 0.75rem;
    font-style: italic;
}
.pull-quote cite {
    display: block;
    text-align: right;
    font-style: normal;
    font-size: 0.9rem;
    color: var(--color-slate);
    font-weight: 500;
}
.pull-quote-hero { max-width: 720px; }
.pull-quote-inline {
    margin: 1.5rem auto;
    max-width: 760px;
    border-left-width: 4px;
}

/* ---------- quote carousel ---------- */
.quote-carousel {
    position: relative;
    width: 100%;
    min-width: 0;
}
.carousel-track {
    display: flex;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible {
    outline: 2px solid var(--color-blue);
    outline-offset: 4px;
}
.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    box-sizing: border-box;
}
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.85rem;
}
.carousel-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
    background: rgba(3, 45, 96, 0.22);
    padding: 0;
    cursor: pointer;
    transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.carousel-dot:hover { background: rgba(3, 45, 96, 0.5); }
.carousel-dot.is-active {
    background: var(--color-blue);
    transform: scale(1.25);
}

/* ---------- about ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}
.about-title { max-width: 22ch; }
.about-aside { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; }
.about-facts {
    margin: 0;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
}
.about-facts > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
}
.about-facts > div:last-child { border-bottom: 0; }
.about-facts dt { color: var(--color-slate); margin: 0; }
.about-facts dd { margin: 0; color: var(--color-navy); font-weight: 500; text-align: right; }

@media (max-width: 880px) {
    .about-grid { grid-template-columns: 1fr; }
}

/* ---------- timeline ---------- */
.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: var(--color-border);
}
.timeline-item {
    position: relative;
    padding: 0 0 2.5rem 2.25rem;
}
.timeline-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--color-blue);
    box-shadow: 0 0 0 4px var(--color-white);
}
.timeline-head {
    margin-bottom: 1rem;
}
.timeline-company {
    font-size: 1.5rem;
    margin: 0 0 0.25rem;
}
.timeline-tagline {
    color: var(--color-slate);
    font-weight: 400;
    font-style: italic;
    font-size: 1.05rem;
}
.timeline-meta {
    color: var(--color-slate);
    font-size: 0.92rem;
    font-weight: 500;
}
.timeline-role {
    margin-bottom: 1.5rem;
}
.timeline-role:last-child { margin-bottom: 0; }
.timeline-role h4 {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    color: var(--color-navy);
    font-weight: 600;
    margin: 0 0 0.15rem;
}
.timeline-dates {
    color: var(--color-slate);
    font-size: 0.88rem;
    margin: 0 0 0.6rem;
}
.timeline-note {
    color: var(--color-slate);
    font-size: 0.9rem;
    font-style: italic;
    margin: 0 0 0.6rem;
}
.timeline-role ul {
    margin: 0.5rem 0 0;
    padding-left: 1.1rem;
    color: var(--color-charcoal);
}
.timeline-role li { margin: 0.35rem 0; }

.timeline-item-independent {
    background: #fff;
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-blue);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.5rem 1.5rem 2.25rem;
    margin-left: 2.25rem;
    box-shadow: var(--shadow-sm);
}
.timeline-item-independent::before { left: -2.25rem; }
.timeline-item-independent {
    /* override default left padding */
    padding-left: 1.5rem;
    margin-bottom: 2.5rem;
}

.timeline-item-earlier {
    background: var(--color-sky);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.5rem 1.5rem 2.25rem;
    margin-left: 0;
}
.timeline-item-earlier::before {
    background: var(--color-blue);
    border-color: #fff;
}
.earlier-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.earlier-list li {
    padding: 0.55rem 0;
    border-bottom: 1px dashed rgba(3, 45, 96, 0.15);
    font-size: 0.97rem;
    color: var(--color-charcoal);
}
.earlier-list li:last-child { border-bottom: 0; }
.earlier-list strong { color: var(--color-navy); }

/* ---------- skills ---------- */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.skill-group {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.skill-group:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.skill-group h3 {
    font-size: 1.15rem;
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-blue);
    display: inline-block;
}
.skill-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.skill-group li {
    padding: 0.4rem 0;
    color: var(--color-charcoal);
    font-size: 0.97rem;
}

@media (max-width: 880px) {
    .skills-grid { grid-template-columns: 1fr; }
}

/* ---------- certifications ---------- */
.trailblazer-link {
    display: inline-block;
    font-weight: 600;
    font-size: 1.025rem;
    margin-bottom: 1rem;
}
.cert-list {
    columns: 2;
    column-gap: 3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.cert-list li {
    break-inside: avoid;
    padding: 0.7rem 0 0.7rem 2rem;
    position: relative;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.99rem;
    min-height: 2.4rem;
}
.cert-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 1.25rem;
    height: 1.25rem;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300A1E0'><path d='M23 12l-2.44-2.78.34-3.68-3.61-.82-1.89-3.18L12 3 8.6 1.54 6.71 4.72l-3.61.81.34 3.68L1 12l2.44 2.78-.34 3.69 3.61.82 1.89 3.18L12 21l3.4 1.46 1.89-3.18 3.61-.82-.34-3.68L23 12zm-12.91 4.72l-3.8-3.81 1.48-1.48 2.32 2.33 5.85-5.87 1.48 1.48-7.33 7.35z'/></svg>");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

@media (max-width: 720px) {
    .cert-list { columns: 1; }
}

/* ---------- projects ---------- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.project-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.project-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.project-card h3 {
    font-size: 1.2rem;
    margin: 0 0 0.35rem;
}
.project-card .project-meta {
    color: var(--color-slate);
    font-size: 0.88rem;
    margin: 0 0 0.75rem;
}
.project-card p:last-child { margin: 0; }

@media (max-width: 880px) {
    .projects-grid { grid-template-columns: 1fr; }
}

/* ---------- volunteer + honor strip ---------- */
.strip-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.strip-card {
    background: var(--color-sky);
    border-left: 3px solid var(--color-blue);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 1.5rem 1.75rem;
}
.strip-card h3 {
    font-size: 1.2rem;
    margin: 0 0 0.25rem;
}
.strip-card .strip-meta {
    color: var(--color-slate);
    font-size: 0.9rem;
    margin: 0 0 0.75rem;
}
.strip-card p:last-child { margin: 0; }
.strip-card .section-eyebrow { margin-bottom: 0.5rem; }

@media (max-width: 720px) {
    .strip-grid { grid-template-columns: 1fr; }
}

/* ---------- testimonials ---------- */
.testimonial {
    margin: 0;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: box-shadow 0.2s var(--ease);
}
.testimonial:hover { box-shadow: var(--shadow-md); }
.testimonial::before {
    content: "“";
    position: absolute;
    top: 0.4rem;
    left: 1rem;
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
    color: var(--color-blue);
    opacity: 0.15;
}
.testimonial blockquote {
    margin: 0 0 1rem;
    padding: 0;
    position: relative;
    z-index: 1;
}
.testimonial blockquote p {
    font-family: var(--font-display);
    font-size: 1.02rem;
    color: var(--color-charcoal);
    line-height: 1.55;
    margin: 0;
    font-style: italic;
}
.testimonial figcaption {
    text-align: right;
    color: var(--color-slate);
    font-size: 0.9rem;
}
.testimonial figcaption strong { color: var(--color-navy); }

/* testimonial carousel variant */
.testimonial-carousel .carousel-track {
    padding: 0.75rem 0;
}
.testimonial-carousel .testimonial-slide {
    display: flex;
    justify-content: center;
    padding: 0 clamp(0.75rem, 3vw, 2rem);
}
.testimonial-carousel .testimonial {
    width: 100%;
    max-width: 900px;
    padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.75rem, 3.5vw, 2.75rem);
    min-height: 300px;
    display: flex;
    flex-direction: column;
}
.testimonial-carousel .testimonial::before {
    top: 0.75rem;
    left: 1.5rem;
    font-size: 5rem;
}
.testimonial-carousel .testimonial blockquote {
    flex: 1;
}
.testimonial-carousel .testimonial blockquote p {
    font-size: clamp(1.02rem, 1.25vw, 1.18rem);
    line-height: 1.6;
}
.testimonial-carousel .testimonial figcaption {
    font-size: 0.95rem;
}
.testimonial-carousel .carousel-dots {
    margin-top: 1.5rem;
}

@media (max-width: 720px) {
    .testimonial-carousel .testimonial { min-height: 260px; }
    .testimonial-carousel .testimonial-slide { padding: 0 0.25rem; }
}

/* ---------- contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}
.contact-list {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
}
.contact-list li {
    display: flex;
    gap: 1.25rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--color-border);
    font-size: 0.98rem;
}
.contact-list li:last-child { border-bottom: 1px solid var(--color-border); }
.contact-label {
    flex: 0 0 110px;
    color: var(--color-slate);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding-top: 2px;
}

.contact-form {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 1.1rem; }
.form-row label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-navy);
    margin-bottom: 0.4rem;
}
.form-row input,
.form-row textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font: inherit;
    color: var(--color-charcoal);
    background: #fff;
    transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(0, 161, 224, 0.18);
}
.form-row textarea { resize: vertical; min-height: 140px; }

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    margin: 1rem 0 0;
    font-size: 0.95rem;
    min-height: 1.2em;
}
.form-status.is-success { color: #1a7a3e; }
.form-status.is-error { color: #b3261e; }

@media (max-width: 880px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-list li { flex-direction: column; gap: 0.1rem; }
    .contact-label { flex-basis: auto; }
}

/* ---------- footer ---------- */
.site-footer {
    background: var(--color-navy);
    color: rgba(255, 255, 255, 0.78);
    padding: 2rem 0;
    font-size: 0.9rem;
}
.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-grid p { margin: 0; }
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.25rem;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.85);
}
.footer-links a:hover {
    color: #fff;
}

/* ---------- reveal animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
    will-change: opacity, transform;
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
}
