/* ═══════════════════════════════════════════════
   Parroquia Nuestra Señora de Lourdes — theme.css
   Full design-faithful CSS (no Tailwind CDN needed)
   ═══════════════════════════════════════════════ */

/* ── Design tokens ── */
:root {
    /* Colors */
    --navy-dark:        hsl(222, 55%, 14%);   /* #192644 */
    --navy:             hsl(222, 55%, 24%);   /* #2a3f6f */
    --navy-light:       hsl(222, 40%, 35%);   /* #3d5587 */
    --gold:             hsl(43,  52%, 54%);   /* #c4963e */
    --gold-light:       hsl(43,  52%, 70%);   /* #d9b975 */
    --gold-dark:        hsl(43,  52%, 40%);   /* #9d7530 */
    --warm-bg:          hsl(40,  30%, 98%);   /* #faf8f5 */
    --warm-bg-alt:      hsl(40,  20%, 95%);   /* #f5f2ee */
    --foreground:       hsl(222, 50%, 23%);   /* #253060 */
    --foreground-muted: hsl(222, 15%, 50%);   /* #6b7299 */
    --border:           hsl(40,  15%, 90%);   /* #e8e4db */
    --card-bg:          #ffffff;
    --white:            #ffffff;

    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --container-max: 1400px;
    --section-px:    1rem;
    --section-py:    4rem;

    /* Radius */
    --radius-sm:  0.375rem;
    --radius:     0.5rem;
    --radius-lg:  0.75rem;
    --radius-xl:  1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

/* ── Reset / Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--foreground);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); line-height: 1.2; }

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

a { text-decoration: none; color: inherit; }

button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Layout ── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: 2rem;
}

.section-padding {
    padding: var(--section-py) var(--section-px);
}

.bg-warm { background-color: var(--warm-bg); }

.text-center { text-align: center; }
.text-muted  { color: var(--foreground-muted); font-size: .875rem; }
.text-lg     { font-size: 1.125rem; }
.text-sm     { font-size: .875rem; }
.text-primary { color: var(--navy); }
.text-white   { color: var(--white); }

.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-sm      { gap: .5rem; }

/* ── Section helpers ── */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
}

.section-divider {
    width: 4rem;
    height: 2px;
    background: var(--gold);
    margin-inline: auto;
}

/* ── Gradient helpers ── */
.gradient-navy {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
}
.gradient-gold {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
}

/* ── Text gold gradient ── */
.text-gold-gradient {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Placeholder image tiles ── */
.placeholder-image {
    background: linear-gradient(135deg, hsl(222 55% 24% / .85), var(--navy-dark));
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
}
.placeholder-image::after {
    content: '✝';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: hsl(43 52% 54% / .2);
    font-family: var(--font-heading);
    /* Centering trick for pseudo-element without flex */
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ── Icon colours ── */
.icon-gold   { color: var(--gold); }
.icon-accent { color: var(--gold); }

/* ── Buttons ── */
.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--navy-dark);
    font-weight: 600;
    font-size: .9375rem;
    transition: opacity .2s;
    border: none;
    cursor: pointer;
}
.btn-gold:hover { opacity: .9; }

.btn-full { width: 100%; }

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    border: 2px solid hsl(0 0% 100% / .3);
    color: var(--white);
    font-weight: 600;
    font-size: .9375rem;
    transition: background-color .2s;
}
.btn-outline-white:hover { background-color: hsl(0 0% 100% / .1); }

.btn-outline-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .75rem 2rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--gold);
    color: var(--gold);
    font-weight: 600;
    font-size: .9375rem;
    transition: background-color .2s, color .2s;
}
.btn-outline-accent:hover {
    background-color: var(--gold);
    color: var(--navy-dark);
}

.link-accent {
    font-size: .875rem;
    font-weight: 600;
    color: var(--gold);
    transition: color .2s;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: inline;
}
.link-accent:hover { color: var(--gold-dark); }

/* ── Card base ── */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: box-shadow .2s, border-color .2s;
}
.card:hover {
    box-shadow: 0 10px 30px -5px hsl(222 55% 24% / .15);
    border-color: hsl(43 52% 54% / .3);
}

/* ═══════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════ */
.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    transition: background-color .3s, padding .3s, box-shadow .3s;
    padding-block: 1rem;
    background-color: transparent;
}
.site-nav.scrolled {
    background-color: hsl(222 55% 24% / .95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px hsl(222 55% 14% / .3);
    padding-block: .5rem;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.nav-logo { display: flex; align-items: center; gap: .75rem; }
.nav-logo-icon {
    width: 2.5rem; height: 2.5rem;
    border-radius: var(--radius-full);
    border: 2px solid var(--gold);
    background: hsl(222 55% 24% / .5);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.nav-logo-text {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    display: none;
}
@media (min-width: 640px) { .nav-logo-text { display: block; } }

/* Desktop nav links */
.nav-links-desktop { display: none; align-items: center; gap: 2rem; }
@media (min-width: 1024px) { .nav-links-desktop { display: flex; } }

.nav-link {
    font-size: .875rem;
    font-weight: 500;
    color: hsl(0 0% 100% / .8);
    transition: color .2s;
}
.nav-link:hover { color: var(--gold); }

/* Mobile toggle */
.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    padding: .25rem;
    background: none;
    border: none;
    cursor: pointer;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }

/* Mobile menu */
.nav-mobile {
    background-color: hsl(222 55% 24% / .95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid hsl(43 52% 54% / .2);
}
.nav-mobile[hidden] { display: none; }

.nav-mobile-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-block: 1rem;
}
.nav-mobile-link {
    color: hsl(0 0% 100% / .8);
    font-weight: 500;
    transition: color .2s;
}
.nav-mobile-link:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero-section {
    position: relative;
    min-height: 100svh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        hsl(222 55% 14% / .7) 0%,
        hsl(222 55% 24% / .6) 50%,
        hsl(222 55% 14% / .8) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding-inline: 1rem;
    max-width: 56rem;
    margin-inline: auto;
}

.hero-logo {
    width: 6rem; height: 6rem;
    margin-inline: auto;
    margin-bottom: 2rem;
    border-radius: var(--radius-full);
    border: 2px solid hsl(43 52% 54% / .6);
    background: hsl(222 55% 24% / .4);
    backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
}
.hero-logo-cross {
    color: var(--gold);
    font-size: 2.5rem;
    font-family: var(--font-heading);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 7vw, 4.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    color: hsl(0 0% 100% / .8);
    font-style: italic;
    margin-bottom: 2.5rem;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}
@media (min-width: 640px) {
    .hero-ctas { flex-direction: row; }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}
.scroll-indicator > div {
    width: 1.5rem; height: 2.5rem;
    border-radius: var(--radius-full);
    border: 2px solid hsl(0 0% 100% / .3);
    display: flex; align-items: flex-start; justify-content: center;
    padding-top: .5rem;
}
.scroll-indicator-dot {
    width: .375rem; height: .75rem;
    border-radius: var(--radius-full);
    background: hsl(43 52% 54% / .6);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(-8px); }
}

/* ═══════════════════════════════════════════════
   MASS SCHEDULE
   ═══════════════════════════════════════════════ */
.schedule-grid {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .schedule-grid { grid-template-columns: repeat(3, 1fr); }
}

.schedule-card {
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    text-align: center;
    background: var(--card-bg);
    border: 1px solid var(--border);
    transition: box-shadow .2s;
}
.schedule-card:hover { box-shadow: 0 8px 24px hsl(222 55% 24% / .1); }

.schedule-card--highlight {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    color: var(--white);
    border: none;
    outline: 2px solid hsl(43 52% 54% / .3);
    outline-offset: 0;
}

.schedule-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-bottom: 1rem;
}

.schedule-day {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
}

.schedule-times { display: flex; flex-direction: column; gap: .5rem; }

.schedule-time {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--foreground);
}
.schedule-time--highlight { color: hsl(0 0% 100% / .9); }

.schedule-badge {
    display: inline-block;
    margin-top: 1rem;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--gold);
}

/* ═══════════════════════════════════════════════
   SACRAMENTS
   ═══════════════════════════════════════════════ */
.sacraments-grid {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 640px)  { .sacraments-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px)  { .sacraments-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .sacraments-grid { grid-template-columns: repeat(5, 1fr); } }

.sacrament-card {
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sacrament-icon-wrap {
    width: 3.5rem; height: 3.5rem;
    margin-inline: auto;
    margin-bottom: 1rem;
    border-radius: var(--radius-full);
    background: var(--warm-bg-alt);
    display: flex; align-items: center; justify-content: center;
    transition: background-color .2s;
}
.sacrament-card:hover .sacrament-icon-wrap {
    background: hsl(43 52% 54% / .1);
}

.sacrament-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: .5rem;
}
.sacrament-short {
    font-size: .875rem;
    color: var(--foreground-muted);
    flex: 1;
    margin-bottom: 1rem;
    line-height: 1.6;
}
.sacrament-btn { font-size: .875rem; }

/* Modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: hsl(222 55% 14% / .6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 1rem;
}
.modal-overlay[hidden] { display: none; }

.modal-box {
    background: var(--card-bg);
    border-radius: var(--radius-2xl);
    max-width: 32rem;
    width: 100%;
    padding: 2rem;
    box-shadow: 0 25px 60px hsl(222 55% 14% / .3);
    position: relative;
    animation: fadeUp .3s ease-out;
}
.modal-close {
    position: absolute;
    top: 1rem; right: 1rem;
    color: var(--foreground-muted);
    padding: .25rem;
    border-radius: var(--radius-sm);
    transition: color .2s;
}
.modal-close:hover { color: var(--foreground); }

.modal-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
}
.modal-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
}
.modal-body {
    color: var(--foreground);
    line-height: 1.7;
}
.modal-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════
   GROUPS & MINISTRIES
   ═══════════════════════════════════════════════ */
.youth-featured {
    border-radius: var(--radius-2xl);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}
@media (min-width: 768px) {
    .youth-featured {
        flex-direction: row;
        padding: 3rem;
    }
}

.youth-text { flex: 1; }

.youth-badge {
    display: inline-block;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: .5rem;
}
.youth-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}
.youth-desc {
    color: hsl(0 0% 100% / .8);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}
.youth-placeholder {
    width: 12rem;
    height: 12rem;
    border-radius: var(--radius-2xl);
    flex-shrink: 0;
}

.ministries-grid {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 640px) { .ministries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ministries-grid { grid-template-columns: repeat(4, 1fr); } }

.ministry-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.ministry-icon-wrap {
    width: 3rem; height: 3rem;
    border-radius: var(--radius-full);
    background: var(--warm-bg-alt);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
}
.ministry-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: .5rem;
}
.ministry-desc {
    font-size: .875rem;
    color: var(--foreground-muted);
    flex: 1;
    margin-bottom: 1rem;
    line-height: 1.6;
}
.ministry-join { font-size: .875rem; }

/* ═══════════════════════════════════════════════
   EVENTS
   ═══════════════════════════════════════════════ */
.events-grid {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 640px)  { .events-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .events-grid { grid-template-columns: repeat(4, 1fr); } }

.event-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow .2s;
}
.event-card:hover { box-shadow: 0 10px 30px hsl(222 55% 24% / .15); }

.event-img-wrap { position: relative; height: 10rem; overflow: hidden; }
.event-img { width: 100%; height: 100%; object-fit: cover; }

.event-date-badge {
    position: absolute;
    bottom: .75rem; left: .75rem;
    background: var(--gold);
    color: var(--navy-dark);
    font-size: .75rem;
    font-weight: 700;
    padding: .25rem .75rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}
.event-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.event-name {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: .5rem;
}
.event-desc { font-size: .875rem; color: var(--foreground-muted); flex: 1; line-height: 1.6; }

/* ═══════════════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════════════ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
}
@media (min-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
@media (min-width: 1024px) {
    .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

.gallery-item {
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    transition: opacity .2s;
}
.gallery-item:hover { opacity: .9; }
.gallery-img { width: 100%; height: 100%; object-fit: cover; }
.gallery-placeholder:hover { opacity: .85; }

/* ═══════════════════════════════════════════════
   ABOUT / HISTORY
   ═══════════════════════════════════════════════ */
.about-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 768px) {
    .about-grid { grid-template-columns: repeat(2, 1fr); }
}

.pull-quote {
    border-left: 4px solid var(--gold);
    padding-left: 1.5rem;
    padding-block: 1rem;
    margin-block: 2rem;
}
.pull-quote-text {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    font-style: italic;
    color: var(--gold-dark);
    font-weight: 500;
}

.about-image-placeholder {
    height: 20rem;
    border-radius: var(--radius-2xl);
}
@media (min-width: 768px) { .about-image-placeholder { height: 28rem; } }

/* ═══════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════ */
.contact-grid {
    display: grid;
    gap: 3rem;
}
@media (min-width: 768px) {
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.contact-info-icon { margin-top: .125rem; flex-shrink: 0; }
.contact-info-label { font-weight: 600; color: var(--navy); margin-bottom: .25rem; }

.contact-map {
    margin-top: .5rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    height: 14rem;
}

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; }
.form-label {
    font-size: .875rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: .25rem;
}
.form-input {
    width: 100%;
    padding: .75rem 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--card-bg);
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: outline .15s, box-shadow .15s;
    outline: 2px solid transparent;
    outline-offset: 0;
}
.form-input:focus {
    outline: 2px solid hsl(43 52% 54% / .5);
    outline-offset: 0;
    border-color: transparent;
}
.form-textarea { resize: none; }

.contact-success {
    background: hsl(140 60% 95%);
    color: hsl(140 60% 25%);
    border: 1px solid hsl(140 60% 70%);
    border-radius: var(--radius-lg);
    padding: 1rem;
    margin-bottom: 1rem;
}
.contact-success[hidden] { display: none; }
.contact-error {
    background: hsl(0 60% 95%);
    color: hsl(0 60% 35%);
    border: 1px solid hsl(0 60% 70%);
    border-radius: var(--radius-lg);
    padding: 1rem;
    margin-bottom: 1rem;
}
.contact-error[hidden] { display: none; }

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.site-footer { color: var(--white); }

.footer-inner { padding-block: 3rem; }
@media (min-width: 768px) { .footer-inner { padding-block: 4rem; } }

.footer-grid {
    display: grid;
    gap: 2.5rem;
}
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

.footer-brand { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.footer-brand-name { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 600; }
.footer-brand-sub  { font-size: .75rem; color: hsl(0 0% 100% / .6); }
.footer-desc { font-size: .875rem; color: hsl(0 0% 100% / .6); line-height: 1.6; }

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .5rem;
}
.footer-link {
    font-size: .875rem;
    color: hsl(0 0% 100% / .7);
    transition: color .2s;
}
.footer-link:hover { color: var(--gold); }

.footer-social { display: flex; gap: 1rem; }
.footer-social-icon {
    width: 2.5rem; height: 2.5rem;
    border-radius: var(--radius-full);
    border: 1px solid hsl(0 0% 100% / .2);
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    transition: border-color .2s, color .2s;
}
.footer-social-icon:hover { border-color: var(--gold); color: var(--gold); }

.footer-bottom {
    border-top: 1px solid hsl(0 0% 100% / .1);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    text-align: center;
}
.footer-bottom p { font-size: .75rem; color: hsl(0 0% 100% / .5); }

/* ═══════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════ */
.animated-section {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease-out, transform .6s ease-out;
    transition-delay: var(--delay, 0s);
}
.animated-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive section padding ── */
@media (min-width: 768px) {
    :root {
        --section-px: 2rem;
        --section-py: 6rem;
    }
}
@media (min-width: 1024px) {
    :root {
        --section-px: 4rem;
    }
}

/* ── Skip link (accessibility) ── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--gold);
    color: var(--navy-dark);
    padding: .5rem 1rem;
    border-radius: 0 0 var(--radius) var(--radius);
    font-weight: 600;
    z-index: 200;
    transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ── Prose / page content ── */
.entry-content {
    line-height: 1.7;
    color: var(--foreground);
    max-width: 65ch;
}
.entry-content h2, .entry-content h3 { color: var(--navy); margin-bottom: .75rem; margin-top: 2rem; }
.entry-content p { margin-bottom: 1rem; }
.entry-content a { color: var(--gold-dark); text-decoration: underline; }

/* ── Posts grid ── */
.posts-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Utility ── */
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}
