/* ============================================================
   Voice Of Clarity Ministries — Design System
   Editorial / apostolic layout, blue brand palette
   ============================================================ */

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

:root {
    /* Brand blues */
    --deep-navy:   #071426;
    --navy:        #0E2645;
    --navy-light:  #1B3E6B;
    --blue:        #1D62D8;
    --blue-light:  #4C8DF6;
    --blue-pale:   #A9C6F4;
    --blue-dark:   #12408F;
    --blue-muted:  rgba(29, 98, 216, 0.14);
    --blue-line:   rgba(29, 98, 216, 0.22);

    /* Light grounds */
    --mist:        #F1F5FB;
    --mist-dark:   #E4EBF6;
    --off-white:   #F9FBFE;
    --white:       #FFFFFF;

    /* Type */
    --text-primary:   #0B1B2E;
    --text-secondary: #46566D;
    --text-muted:     #8393A8;

    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans:    'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

    --section-padding: clamp(4rem, 8vw, 8rem);
    --container-max:   1320px;

    --radius-img: 16px;

    --shadow-blue: 0 6px 30px rgba(29, 98, 216, 0.28);
    --shadow-deep: 0 22px 60px rgba(11, 27, 46, 0.16);
    --shadow-card: 0 2px 22px rgba(11, 27, 46, 0.07);

    --ease-smooth:   cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    background: var(--off-white);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.75;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; }

/* ---------- Layout primitives ---------- */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.section { padding: var(--section-padding) 0; }
.bg-mist { background: var(--mist); }
.bg-mist-dark { background: var(--mist-dark); }
.bg-off-white { background: var(--off-white); }
.bg-navy { background: var(--deep-navy); color: var(--white); }

/* ---------- Eyebrow label ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: .75rem;
    font-size: .7rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
    color: var(--blue); margin-bottom: 1.25rem;
}
.eyebrow::before { content: ""; width: 38px; height: 1px; background: var(--blue); opacity: .75; }
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::after { content: ""; width: 38px; height: 1px; background: var(--blue); opacity: .75; }
.eyebrow.on-dark { color: var(--blue-pale); }
.eyebrow.on-dark::before, .eyebrow.on-dark::after { background: var(--blue-pale); }

/* ---------- Headings ---------- */
.display {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.1rem, 4.4vw, 3.5rem);
    line-height: 1.12;
    letter-spacing: -0.015em;
    color: var(--text-primary);
}
.display em { font-style: italic; color: var(--blue); }
.display.on-dark { color: var(--white); }
.display.on-dark em { color: var(--blue-light); }

.lede { font-size: clamp(1rem, 1.3vw, 1.1rem); color: var(--text-secondary); max-width: 62ch; }
.lede.on-dark { color: rgba(255,255,255,.78); }

.section-head { max-width: 720px; }
.section-head.centered { margin: 0 auto; text-align: center; }
.section-head .lede { margin-top: 1.25rem; }
.section-head.centered .lede { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    padding: 1rem 2.1rem;
    font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
    border: 1px solid transparent; border-radius: 2px;
    transition: all .38s var(--ease-smooth);
    white-space: nowrap;
}
.btn-solid { background: var(--blue); color: var(--white); }
.btn-solid:hover { background: var(--blue-dark); box-shadow: var(--shadow-blue); transform: translateY(-2px); }
.btn-outline { border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }
.btn-light { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-light:hover { background: var(--white); color: var(--deep-navy); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--deep-navy); }
.btn-white:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }
.btn-lg { padding: 1.15rem 2.6rem; }

.text-link {
    display: inline-flex; align-items: center; gap: .55rem;
    font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
    color: var(--blue); transition: gap .3s var(--ease-smooth);
}
.text-link::after { content: "→"; transition: transform .3s var(--ease-smooth); }
.text-link:hover { gap: .9rem; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 900;
    background: linear-gradient(to bottom, rgba(7,20,38,.62), rgba(7,20,38,0));
    transition: background .5s var(--ease-smooth), box-shadow .5s var(--ease-smooth), padding .4s var(--ease-smooth);
    padding: .5rem 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; }
.nav-logo img { height: 46px; width: auto; filter: brightness(0) invert(1); transition: filter .4s var(--ease-smooth), height .4s var(--ease-smooth); }

.nav-links { display: flex; align-items: center; gap: 2.4rem; list-style: none; }
.nav-links a {
    position: relative; font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
    color: rgba(255,255,255,.88); transition: color .3s var(--ease-smooth); padding: .35rem 0;
}
.nav-links a::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
    background: var(--blue-light); transition: width .35s var(--ease-smooth);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--white); }

.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-flags { display: flex; gap: .4rem; }
.nav-flags img { width: 21px; height: auto; border-radius: 1px; opacity: .85; transition: opacity .3s, transform .3s; }
.nav-flags img:hover { opacity: 1; transform: translateY(-2px); }
.nav-cta { padding: .78rem 1.6rem; font-size: .68rem; }

/* Scrolled / solid state */
.nav.scrolled, .nav.solid {
    background: var(--white);
    box-shadow: 0 1px 0 rgba(11,27,46,.07), 0 12px 34px rgba(11,27,46,.07);
}
.nav.scrolled .nav-logo img, .nav.solid .nav-logo img { filter: none; height: 40px; }
.nav.scrolled .nav-links a, .nav.solid .nav-links a { color: var(--text-secondary); }
.nav.scrolled .nav-links a:hover, .nav.solid .nav-links a:hover,
.nav.scrolled .nav-links a.active, .nav.solid .nav-links a.active { color: var(--blue); }
.nav.scrolled .nav-links a::after, .nav.solid .nav-links a::after { background: var(--blue); }
.nav.scrolled .nav-cta, .nav.solid .nav-cta { background: var(--blue); color: var(--white); border-color: var(--blue); }
.nav.scrolled .burger-line, .nav.solid .burger-line { background: var(--text-primary); }

/* Open mobile menu: bar turns white so the colour logo and burger stay visible */
.nav.menu-open { background: var(--white); box-shadow: none; }
.nav.menu-open .nav-logo img { filter: none; }
.nav.menu-open .burger-line { background: var(--text-primary); }

/* Burger */
.burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 34px; height: 34px; }
.burger-line { width: 24px; height: 1.6px; background: var(--white); transition: all .35s var(--ease-smooth); }
.burger.active .burger-line:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.burger.active .burger-line:nth-child(2) { opacity: 0; }
.burger.active .burger-line:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* Background slideshow */
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease-smooth); }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.hero-controls {
    position: absolute; z-index: 3;
    right: clamp(1.25rem, 4vw, 2.5rem); bottom: 2.4rem;
    display: flex; align-items: center; gap: 1.1rem;
}
.hero-dots { display: flex; align-items: center; gap: .55rem; }
.hero-dot {
    width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.42); transition: background .35s var(--ease-smooth), transform .35s var(--ease-smooth);
}
.hero-dot:hover { background: rgba(255,255,255,.75); }
.hero-dot.is-active { background: var(--blue-light); transform: scale(1.35); }
.hero-pause {
    width: 30px; height: 30px; display: grid; place-items: center;
    border: 1px solid rgba(255,255,255,.38); border-radius: 50%; color: #fff;
    transition: background .3s var(--ease-smooth), border-color .3s var(--ease-smooth);
}
.hero-pause:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.7); }
.hero-pause-icon { width: 8px; height: 10px; border-left: 2.5px solid currentColor; border-right: 2.5px solid currentColor; }
.hero-pause.is-paused .hero-pause-icon {
    width: 0; height: 0; border: 0; margin-left: 3px;
    border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.hero-scrim {
    position: absolute; inset: 0;
    background:
        linear-gradient(to right, rgba(7,20,38,.93) 0%, rgba(7,20,38,.86) 38%, rgba(7,20,38,.58) 70%, rgba(7,20,38,.36) 100%),
        linear-gradient(to top, rgba(7,20,38,.9) 0%, rgba(7,20,38,0) 55%);
}
.hero .container { position: relative; z-index: 2; padding-top: 8rem; padding-bottom: 6rem; }
.hero-inner { max-width: 820px; }
.hero-kicker {
    display: block; font-size: .72rem; font-weight: 600; letter-spacing: .38em; text-transform: uppercase;
    color: #C2D8F9; margin-bottom: 1.6rem;
}
.hero h1 {
    font-family: var(--font-display); font-weight: 500; color: var(--white);
    font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1.05; letter-spacing: -0.02em;
}
.hero h1 em { font-style: italic; color: #7FB0FF; }
.hero p.hero-lede { margin-top: 1.8rem; max-width: 60ch; font-size: clamp(1rem, 1.35vw, 1.15rem); color: rgba(255,255,255,.8); }
.hero-rule { display: flex; align-items: center; gap: 1rem; margin: 2.2rem 0; }
.hero-rule span { font-size: .7rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: #C2D8F9; }
.hero-rule i { flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-light); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }

.hero-founder { margin-top: 3rem; padding-left: 1.4rem; border-left: 2px solid var(--blue-light); }
.hero-founder strong { display: block; font-family: var(--font-display); font-size: 1.28rem; font-weight: 500; color: var(--white); }
.hero-founder span { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: #C2D8F9; }

.scroll-cue {
    position: absolute; left: 50%; bottom: 2.2rem; transform: translateX(-50%); z-index: 3;
    display: flex; flex-direction: column; align-items: center; gap: .7rem;
    font-size: .62rem; letter-spacing: .34em; text-transform: uppercase; color: rgba(255,255,255,.62);
}
.scroll-cue i { display: block; width: 1px; height: 52px; background: linear-gradient(to bottom, rgba(255,255,255,.65), transparent); }

/* Interior page hero */
.page-hero { position: relative; min-height: 58vh; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .hero-scrim { background: linear-gradient(to top, rgba(7,20,38,.94) 0%, rgba(7,20,38,.62) 60%, rgba(7,20,38,.5) 100%); }
.page-hero .container { position: relative; z-index: 2; padding-top: 10rem; padding-bottom: 4.5rem; }
.page-hero h1 { font-family: var(--font-display); font-weight: 500; color: var(--white); font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.08; letter-spacing: -0.02em; }
.page-hero p { margin-top: 1.2rem; max-width: 58ch; color: rgba(255,255,255,.78); }
.crumbs { display: flex; gap: .6rem; align-items: center; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 1.2rem; }
.crumbs a:hover { color: var(--white); }

/* ============================================================
   SCRIPTURE BAND
   ============================================================ */
.scripture { background: var(--mist-dark); padding: clamp(3rem, 6vw, 5rem) 0; text-align: center; }
.scripture blockquote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1.5; color: var(--navy); max-width: 46ch; margin: 0 auto; }
.scripture cite { display: block; margin-top: 1.3rem; font-style: normal; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--blue); }

/* ============================================================
   SPLIT / ABOUT
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split.align-top { align-items: start; }
/* Stretch a column to the full height of its partner, so a photo ends level with the copy */
.split.align-stretch { align-items: stretch; }
.framed-photo.fill, .framed-photo.fill img { height: 100%; }
.framed-photo.fill img { aspect-ratio: auto; min-height: 320px; }

.collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.collage figure { position: relative; aspect-ratio: 5/4; overflow: hidden; border-radius: var(--radius-img); box-shadow: var(--shadow-card); }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out-expo); }
.collage figure:hover img { transform: scale(1.05); }

.framed-photo { position: relative; isolation: isolate; }
.framed-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-img); box-shadow: var(--shadow-deep); }
.framed-photo::after { content: ""; position: absolute; inset: 1.6rem -1.6rem -1.6rem 1.6rem; border: 1px solid var(--blue-line); border-radius: var(--radius-img); z-index: 0; }

.prose p + p { margin-top: 1.15rem; }
.prose p { color: var(--text-secondary); }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.8rem; padding-top: 2.4rem; border-top: 1px solid var(--mist-dark); }
.pillar h4 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; margin-bottom: .35rem; }
.pillar span { display: block; width: 24px; height: 2px; background: var(--blue); margin-bottom: .9rem; }
.pillar p { font-size: .875rem; line-height: 1.6; color: var(--text-muted); }

/* ============================================================
   CARD GRIDS (values / expressions)
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }

.card {
    position: relative; background: var(--white); border: 1px solid rgba(11,27,46,.07);
    border-radius: 2px; padding: clamp(1.8rem, 3vw, 2.6rem);
    transition: transform .45s var(--ease-out-expo), box-shadow .45s var(--ease-smooth), border-color .45s;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out-expo); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-deep); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card-index { font-size: .68rem; letter-spacing: .24em; color: var(--blue); font-weight: 600; }
.card-icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--blue-muted); color: var(--blue); font-size: 1.3rem; margin-bottom: 1.4rem; }
.card h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; margin-bottom: .8rem; line-height: 1.25; }
.card p { font-size: .925rem; line-height: 1.7; color: var(--text-secondary); }
.card .text-link { margin-top: 1.4rem; }

.card.feature { background: var(--navy); border-color: transparent; color: var(--white); }
.card.feature h3 { color: var(--white); }
.card.feature p { color: rgba(255,255,255,.76); }
.card.feature .card-icon { background: rgba(255,255,255,.1); color: var(--blue-light); }

/* ---------- Vision / Mission ---------- */
.vm { display: grid; grid-template-columns: 1fr 1fr; }
.vm-panel { padding: clamp(2.6rem, 5vw, 4.5rem); }
.vm-panel h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 500; margin-bottom: 1.2rem; }
.vm-panel p { line-height: 1.8; }
.vm-vision { background: var(--navy); color: var(--white); }
.vm-vision p { color: rgba(255,255,255,.78); }
.vm-mission { background: var(--blue); color: var(--white); }
.vm-mission p { color: rgba(255,255,255,.86); }
.vm-mark { font-size: 1.6rem; color: rgba(255,255,255,.55); margin-bottom: 1.4rem; display: block; }

/* ---------- People ---------- */
.person { background: var(--white); border: 1px solid rgba(11,27,46,.07); border-radius: var(--radius-img); overflow: hidden; transition: transform .45s var(--ease-out-expo), box-shadow .45s; }
.person:hover { transform: translateY(-6px); box-shadow: var(--shadow-deep); }
.person-photo { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--mist-dark); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .8s var(--ease-out-expo); filter: saturate(.92); }
.person:hover .person-photo img { transform: scale(1.05); }
.person-body { padding: 1.6rem 1.5rem 1.9rem; }
.person-role { font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
.person-body h3 { font-family: var(--font-display); font-size: 1.22rem; font-weight: 500; margin: .5rem 0 .8rem; line-height: 1.3; }
.person-body p { font-size: .875rem; line-height: 1.7; color: var(--text-secondary); }

/* ---------- Books ---------- */
.book { display: flex; flex-direction: column; background: var(--white); border: 1px solid rgba(11,27,46,.07); border-radius: var(--radius-img); overflow: hidden; transition: transform .45s var(--ease-out-expo), box-shadow .45s var(--ease-smooth); }
.book:hover { transform: translateY(-6px); box-shadow: var(--shadow-deep); }
.book-cover { position: relative; aspect-ratio: 3/2; overflow: hidden; background: var(--mist-dark); }
.book-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out-expo); }
.book:hover .book-cover img { transform: scale(1.04); }
.book-body { display: flex; flex-direction: column; flex: 1; padding: 1.8rem 1.7rem 2rem; }
.book-kicker { font-size: .64rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--blue); }
.book-body h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; line-height: 1.25; margin: .6rem 0 .4rem; }
.book-sub { font-family: var(--font-display); font-style: italic; font-size: .98rem; color: var(--text-muted); margin-bottom: .95rem; }
.book-body p { font-size: .9rem; line-height: 1.7; color: var(--text-secondary); }
.book-body .text-link { margin-top: auto; padding-top: 1.5rem; }

/* ---------- Feature / checklist ---------- */
.checklist { list-style: none; margin-top: 2rem; display: grid; gap: 1rem; }
.checklist li { display: flex; gap: .9rem; align-items: flex-start; font-size: .95rem; color: var(--text-secondary); }
.checklist li::before { content: "✦"; color: var(--blue); font-size: .8rem; line-height: 1.9; }

/* ---------- Stats ---------- */
.stats { background: var(--deep-navy); color: var(--white); padding: clamp(3.5rem, 7vw, 6rem) 0; position: relative; overflow: hidden; }
.stats::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 20% 0%, rgba(29,98,216,.28), transparent 60%); pointer-events: none; }
.stats .container { position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat { text-align: center; padding: 0 1rem; border-left: 1px solid rgba(255,255,255,.1); }
.stat:first-child { border-left: none; }
.stat-num { font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 500; color: var(--blue-light); line-height: 1; }
.stat-label { margin-top: .9rem; font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--white); }
.stat-note { margin-top: .5rem; font-size: .82rem; color: rgba(255,255,255,.5); }

/* ---------- Nations marquee ---------- */
.marquee-wrap { overflow: hidden; padding: 2.4rem 0; -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.marquee { display: flex; gap: 3.5rem; width: max-content; animation: marquee 34s linear infinite; }
.marquee-item { display: flex; align-items: center; gap: .8rem; font-family: var(--font-display); font-size: clamp(1.2rem, 2.2vw, 1.8rem); color: var(--navy); white-space: nowrap; }
.marquee-item img { width: 30px; height: auto; border-radius: 3px; box-shadow: 0 1px 6px rgba(11,27,46,.16); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: clamp(4.5rem, 9vw, 8rem) 0; overflow: hidden; color: var(--white); text-align: center; }
.cta-band-media { position: absolute; inset: 0; }
.cta-band-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band-scrim {
    position: absolute; inset: 0;
    background:
        linear-gradient(135deg, rgba(7,20,38,.86), rgba(18,64,143,.74)),
        radial-gradient(70% 90% at 50% 55%, rgba(7,20,38,.5), transparent 70%);
}
.cta-band .container { position: relative; z-index: 2; }
/* Photographic backdrop lifts the midtones, so the accent needs a lighter blue here */
.cta-band .display em { color: #7FB0FF; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.4rem; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--mist-dark); padding: clamp(3rem, 6vw, 5rem) 0; }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.newsletter-form { display: flex; gap: .75rem; }
.newsletter-form input {
    flex: 1; padding: 1.05rem 1.2rem; background: var(--white);
    border: 1px solid rgba(11,27,46,.1); border-radius: 2px; outline: none;
    transition: border-color .3s, box-shadow .3s;
}
.newsletter-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-muted); }

/* ============================================================
   FORMS
   ============================================================ */
.form-card { background: var(--white); border: 1px solid rgba(11,27,46,.07); border-radius: 2px; padding: clamp(1.8rem, 4vw, 3rem); box-shadow: var(--shadow-card); }
.field { margin-bottom: 1.35rem; }
.field label { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .55rem; }
.field label .req { color: var(--blue); }
.field input, .field select, .field textarea {
    width: 100%; padding: .95rem 1.1rem; background: var(--off-white);
    border: 1px solid rgba(11,27,46,.12); border-radius: 2px; outline: none;
    transition: border-color .3s, box-shadow .3s, background .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px var(--blue-muted); }
.field textarea { resize: vertical; min-height: 150px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field-hint { font-size: .78rem; color: var(--text-muted); margin-top: .45rem; }
.check-row { display: flex; align-items: flex-start; gap: .7rem; font-size: .88rem; color: var(--text-secondary); margin-bottom: 1.5rem; }
.check-row input { width: 17px; height: 17px; margin-top: .25rem; accent-color: var(--blue); flex: 0 0 auto; }

.amount-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-bottom: 1.2rem; }
.amount-btn {
    padding: 1rem .5rem; background: var(--off-white); border: 1px solid rgba(11,27,46,.12); border-radius: 2px;
    font-family: var(--font-display); font-size: 1.15rem; transition: all .3s var(--ease-smooth);
}
.amount-btn:hover { border-color: var(--blue); color: var(--blue); }
.amount-btn.is-active { background: var(--blue); border-color: var(--blue); color: var(--white); box-shadow: var(--shadow-blue); }

/* ---------- Contact tiles ---------- */
.contact-tile { background: var(--white); border: 1px solid rgba(11,27,46,.07); border-radius: 2px; padding: 2rem 1.8rem; transition: transform .45s var(--ease-out-expo), box-shadow .45s; }
.contact-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-deep); }
.contact-tile .card-icon { margin-bottom: 1.1rem; }
.contact-tile h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; margin-bottom: .7rem; }
.contact-tile a, .contact-tile p { display: block; font-size: .9rem; color: var(--text-secondary); line-height: 1.7; }
.contact-tile a:hover { color: var(--blue); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--deep-navy); color: rgba(255,255,255,.7); padding: clamp(3.5rem, 7vw, 6rem) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.4fr; gap: clamp(2rem, 5vw, 4rem); padding-bottom: 3.5rem; }
.footer-logo img { height: 52px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1.4rem; }
.footer p { font-size: .9rem; line-height: 1.8; }
.footer h4 { font-size: .7rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--white); margin-bottom: 1.5rem; }
.footer-links { list-style: none; display: grid; gap: .8rem; }
.footer-links a { font-size: .9rem; transition: color .3s, padding-left .3s; }
.footer-links a:hover { color: var(--blue-light); padding-left: .4rem; }
.footer-contact { display: grid; gap: 1.1rem; }
.footer-contact > div { display: flex; gap: .85rem; align-items: flex-start; }
.footer-contact .fc-icon { color: var(--blue-light); font-size: .95rem; line-height: 1.6; flex: 0 0 auto; }
.footer-contact a, .footer-contact p { display: block; font-size: .88rem; line-height: 1.7; }
.footer-contact a:hover { color: var(--blue-light); }
.footer-flags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.footer-flags img { width: 26px; border-radius: 2px; opacity: .8; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1); padding: 1.8rem 0; display: flex;
    flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
    font-size: .8rem; color: rgba(255,255,255,.5);
}
.footer-bottom a { transition: color .3s; }
.footer-bottom a:hover { color: var(--blue-light); }
.footer-bottom-links { display: flex; gap: 1.6rem; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { transition: opacity .9s var(--ease-out-expo), transform .9s var(--ease-out-expo); }
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }
.d5 { transition-delay: .4s; }

/* Directional + scale variants */
.js .reveal-left  { opacity: 0; transform: translateX(-38px); }
.js .reveal-right { opacity: 0; transform: translateX(38px); }
.js .reveal-scale { opacity: 0; transform: scale(.94); }
.js .reveal-left.visible, .js .reveal-right.visible, .js .reveal-scale.visible { opacity: 1; transform: none; }

/* Image wipe — the photo uncovers itself rather than fading */
.reveal-mask { transition: clip-path 1.15s var(--ease-out-expo); }
.js .reveal-mask { clip-path: inset(0 0 100% 0); }
.js .reveal-mask.visible { clip-path: inset(0 0 0 0); }

/* Staggered children: JS assigns the delay, CSS supplies the from-state */
.js [data-stagger] > * { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out-expo), transform .8s var(--ease-out-expo); }
.js [data-stagger] > *.visible { opacity: 1; transform: none; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 1000;
    background: linear-gradient(to right, var(--blue), var(--blue-light));
    transform: scaleX(0); transform-origin: 0 50%; will-change: transform;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
    position: fixed; left: clamp(1.1rem, 3vw, 2rem); bottom: clamp(1.1rem, 3vw, 2rem); z-index: 950;
    width: 54px; height: 54px; display: grid; place-items: center;
    /* A deeper WhatsApp green than #25D366 so the white glyph clears 3:1 (WCAG 1.4.11) */
    background: #1DA851; color: #fff; border-radius: 50%;
    box-shadow: 0 8px 26px rgba(11, 27, 46, .28);
    transition: transform .35s var(--ease-out-expo), background .3s var(--ease-smooth), box-shadow .3s;
}
.wa-float:hover { background: #17924a; transform: translateY(-3px) scale(1.04); box-shadow: 0 12px 30px rgba(11, 27, 46, .34); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; position: relative; z-index: 1; }

/* Soft outward pulse to draw the eye without moving the button */
.wa-float::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(29, 168, 81, .5);
    animation: waPulse 2.8s cubic-bezier(.4, 0, .2, 1) infinite;
}
@keyframes waPulse { to { box-shadow: 0 0 0 18px rgba(29, 168, 81, 0); } }

.wa-label {
    position: absolute; left: calc(100% + 12px); top: 50%;
    transform: translateY(-50%) translateX(-8px);
    white-space: nowrap; background: var(--deep-navy); color: #fff;
    padding: .5rem .85rem; border-radius: 3px;
    font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    opacity: 0; pointer-events: none;
    transition: opacity .3s var(--ease-smooth), transform .3s var(--ease-out-expo);
}
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { opacity: 1; transform: translateY(-50%); }
.js .wa-float { opacity: 0; animation: heroIn .7s var(--ease-out-expo) 1.1s forwards; }

/* ---------- Back to top ---------- */
.to-top {
    position: fixed; right: clamp(1.1rem, 3vw, 2rem); bottom: clamp(1.1rem, 3vw, 2rem); z-index: 950;
    width: 46px; height: 46px; display: grid; place-items: center;
    background: var(--blue); color: #fff; border-radius: 50%;
    box-shadow: var(--shadow-blue);
    opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9);
    transition: opacity .4s var(--ease-smooth), transform .4s var(--ease-out-expo), visibility .4s, background .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-dark); transform: translateY(-3px); }
.to-top svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; }

/* ---------- Hero entrance ---------- */
.js .hero-inner > * { opacity: 0; animation: heroIn .95s var(--ease-out-expo) forwards; }
.js .hero-inner > *:nth-child(1) { animation-delay: .20s; }
.js .hero-inner > *:nth-child(2) { animation-delay: .32s; }
.js .hero-inner > *:nth-child(3) { animation-delay: .44s; }
.js .hero-inner > *:nth-child(4) { animation-delay: .56s; }
.js .hero-inner > *:nth-child(5) { animation-delay: .68s; }
.js .hero-inner > *:nth-child(6) { animation-delay: .80s; }
.js .scroll-cue, .js .hero-controls { opacity: 0; animation: heroIn .9s var(--ease-out-expo) .95s forwards; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* Slow drift on the active hero slide keeps the still photography alive */
.hero-slide.is-active img { animation: heroDrift 14s ease-out forwards; }
@keyframes heroDrift { from { transform: scale(1.06); } to { transform: scale(1); } }

/* ---------- Micro-interactions ---------- */
.card-icon { transition: transform .45s var(--ease-spring, cubic-bezier(.34,1.56,.64,1)), background .35s var(--ease-smooth); }
.card:hover .card-icon, .contact-tile:hover .card-icon { transform: translateY(-3px) rotate(-6deg) scale(1.06); }
.btn { position: relative; overflow: hidden; }
.btn > * { position: relative; z-index: 1; }
.pillar span { transition: width .5s var(--ease-out-expo); }
.reveal.visible .pillar span, .visible .pillar span { width: 24px; }
.js .pillar span { width: 0; }
.stat-num { transition: transform .5s var(--ease-out-expo); }
.stat:hover .stat-num { transform: translateY(-4px); }
.footer-flags img, .nav-flags img { transition: opacity .3s, transform .35s var(--ease-out-expo); }
.footer-flags img:hover { opacity: 1; transform: translateY(-3px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
    .stat:nth-child(3) { border-left: none; }
}

@media (max-width: 900px) {
    .nav-links {
        position: fixed; inset: 0 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0;
        background: var(--white); padding: 6rem 2rem 2.5rem;
        box-shadow: 0 20px 50px rgba(11,27,46,.16);
        transform: translateY(-100%); opacity: 0; pointer-events: none;
        transition: transform .5s var(--ease-out-expo), opacity .4s;
    }
    .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
    .nav-logo, .nav-actions { position: relative; z-index: 2; }
    .nav-links li { width: 100%; border-bottom: 1px solid var(--mist-dark); }
    .nav-links a { display: block; width: 100%; padding: 1.05rem 0; font-size: .82rem; color: var(--text-primary) !important; }
    .burger { display: flex; }
    .nav-flags { display: none; }
    .nav-cta { display: none; }

    .split, .vm, .newsletter-inner { grid-template-columns: 1fr; }
    .split.reverse > :first-child { order: 0; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .framed-photo::after { display: none; }
    .framed-photo.fill, .framed-photo.fill img { height: auto; }
    .framed-photo.fill img { aspect-ratio: 4/3; min-height: 0; }
    .hero .container { padding-top: 7rem; }
}

@media (max-width: 680px) {
    .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
    .pillars { grid-template-columns: 1fr; gap: 1.6rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat { border-left: none; border-top: 1px solid rgba(255,255,255,.1); padding-top: 2rem; }
    .stat:first-child { border-top: none; padding-top: 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .amount-grid { grid-template-columns: repeat(2, 1fr); }
    .newsletter-form { flex-direction: column; }
    .collage figure { margin-top: 0 !important; }
    .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .scroll-cue { display: none; }
    .hero-controls { bottom: 1.4rem; }
    .wa-float { width: 50px; height: 50px; }
    .wa-float svg { width: 25px; height: 25px; }
    .wa-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js .reveal, .js .reveal-left, .js .reveal-right, .js .reveal-scale,
    .js [data-stagger] > * { opacity: 1 !important; transform: none !important; }
    .js .reveal-mask { clip-path: none !important; }
    .js .hero-inner > *, .js .scroll-cue, .js .hero-controls { opacity: 1 !important; animation: none !important; }
    .hero-slide, .hero-slide.is-active img { transition: none; animation: none !important; }
    .js .pillar span { width: 24px; }
    .to-top { transition: opacity .01ms; }
    .wa-float::before { animation: none; }
    .js .wa-float { opacity: 1; animation: none; }
}
