/* ============================================================
   Christian Academy PE — Design System
   Warm heritage editorial: cream / deep marine / muted gold
   ============================================================ */

:root {
    --cream: #F8F7F4;
    --off: #ede9e2;
    --marine: #0e2b46;
    --marine-deep: #0a2036;
    --gold: #cea84e;
    --gold-dark: #b8933d;
    --gold-soft: #fce1b6;
    --text: #3A4A57;
    --serif: 'EB Garamond', Georgia, serif;
    --sans: 'Jost', 'Segoe UI', sans-serif;
    --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .serif {
    font-family: var(--serif);
    color: var(--marine);
    font-weight: 500;
    line-height: 1.15;
}

h1 em, h2 em, h3 em {
    font-style: italic;
    color: var(--gold-dark);
}

img { max-width: 100%; }

::selection { background: var(--gold); color: var(--marine); }

/* ---------- Mini title (gold kicker with line) ---------- */
.mini-title {
    display: flex;
    align-items: center;
    gap: 18px;
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 1.4rem;
}
.mini-title::before {
    content: "";
    width: 60px;
    height: 1px;
    background: var(--gold);
    flex: none;
}
.mini-title.centered { justify-content: center; }
.mini-title.centered::after {
    content: "";
    width: 60px;
    height: 1px;
    background: var(--gold);
    flex: none;
}
.on-dark .mini-title { color: var(--gold); }

/* ---------- Headings ---------- */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.2rem;
}
.section-lead {
    font-size: 1.15rem;
    max-width: 640px;
    color: var(--text);
}
.section-block { padding: 6rem 0; }
.section-block.tight { padding: 4rem 0; }
.bg-off { background: var(--off); }
.bg-marine { background: var(--marine-deep); color: #e9e4d8; }
.bg-marine h1, .bg-marine h2, .bg-marine h3, .bg-marine .serif { color: #fff; }

/* ---------- Buttons ---------- */
.btn-ca {
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.95rem 2.4rem;
    border-radius: 999px;
    border: 1px solid var(--gold);
    background: var(--gold);
    color: var(--marine);
    transition: all 0.35s var(--ease-out);
    cursor: pointer;
}
.btn-ca:hover {
    background: transparent;
    color: var(--gold);
    transform: translateY(-2px);
}
.btn-ca.ghost {
    background: transparent;
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}
.btn-ca.ghost:hover { background: #fff; color: var(--marine); border-color: #fff; }
.btn-ca.outline {
    background: transparent;
    border-color: var(--marine);
    color: var(--marine);
}
.btn-ca.outline:hover { background: var(--marine); color: #fff; }

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.4rem 0;
    transition: padding 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}
.site-header .navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.site-header .navbar-brand img {
    height: 44px;
    width: auto;
    transition: height 0.4s ease;
}
.site-header .brand-name {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.01em;
    transition: color 0.4s ease;
}
.site-header .nav-link {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    padding: 0.5rem 0.9rem !important;
    position: relative;
    transition: color 0.3s ease;
}
.site-header .nav-link::after {
    content: "";
    position: absolute;
    left: 0.9rem; right: 0.9rem; bottom: 0.15rem;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease-out);
}
.site-header .nav-link:hover::after,
.site-header .nav-link.active::after { transform: scaleX(1); }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--gold); }
.site-header .nav-cta {
    border: 1px solid var(--gold);
    border-radius: 999px;
    padding: 0.45rem 1.4rem !important;
    color: var(--gold) !important;
    margin-left: 0.6rem;
}
.site-header .nav-cta::after { display: none; }
.site-header .nav-cta:hover { background: var(--gold); color: var(--marine) !important; }

.site-header.scrolled {
    background: rgba(248, 247, 244, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.65rem 0;
    box-shadow: 0 1px 0 rgba(14, 43, 70, 0.08), 0 6px 24px rgba(14, 43, 70, 0.06);
}
.site-header.scrolled .brand-name { color: var(--marine); }
.site-header.scrolled .navbar-brand img { height: 36px; }
.site-header.scrolled .nav-link { color: var(--text); }
.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active { color: var(--gold-dark); }
.site-header.scrolled .nav-cta { color: var(--gold-dark) !important; }
.site-header.scrolled .nav-cta:hover { background: var(--gold); color: var(--marine) !important; }
.site-header .navbar-toggler { border: none; color: #fff; font-size: 1.4rem; }
.site-header.scrolled .navbar-toggler { color: var(--marine); }

@media (max-width: 991.98px) {
    .site-header .navbar-collapse {
        background: var(--marine-deep);
        padding: 1.2rem;
        border-radius: 12px;
        margin-top: 0.8rem;
    }
    .site-header.scrolled .navbar-collapse { background: var(--marine-deep); }
    .site-header.scrolled .nav-link { color: rgba(255,255,255,0.85); }
    .site-header .nav-cta { margin: 0.5rem 0 0; display: inline-block; }
}

/* ---------- Hero (designed marine panel, no photography) ---------- */
.hero {
    position: relative;
    min-height: 96vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(1100px 520px at 50% -12%, rgba(206,168,78,0.18), transparent 62%),
        linear-gradient(160deg, #0a2036 0%, #0e2b46 55%, #143d60 100%);
}
/* repeating arch colonnade pattern */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='120' viewBox='0 0 140 120'%3E%3Cpath d='M24 118 V58 A46 46 0 0 1 116 58 V118' fill='none' stroke='%23cea84e' stroke-opacity='0.10' stroke-width='1'/%3E%3Cpath d='M40 118 V66 A30 30 0 0 1 100 66 V118' fill='none' stroke='%23fce1b6' stroke-opacity='0.07' stroke-width='1'/%3E%3C/svg%3E");
}
/* large thin-line cross motif */
.hero::after {
    content: "";
    position: absolute;
    right: -3%;
    top: 50%;
    transform: translateY(-50%);
    width: min(400px, 40vw);
    aspect-ratio: 110/134;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 134'%3E%3Cpath d='M46 8 h18 v32 h32 v18 h-32 v68 h-18 v-68 h-32 v-18 h32 z' fill='none' stroke='%23fce1b6' stroke-opacity='0.16' stroke-width='1.5'/%3E%3C/svg%3E") center/contain no-repeat;
    pointer-events: none;
}
.hero.has-image { background-size: cover; background-position: center; }
.hero.has-image::before { display: none; }
.hero.has-image::after {
    inset: 0;
    width: auto;
    aspect-ratio: auto;
    transform: none;
    background: linear-gradient(180deg, rgba(10,32,54,0.6) 0%, rgba(10,32,54,0.42) 45%, rgba(10,32,54,0.78) 100%);
}
.hero .gold-rule {
    width: 68px; height: 2px;
    background: var(--gold);
    margin: 0 auto 1.8rem;
    position: relative;
}
.hero .gold-rule::after {
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    width: 8px; height: 8px;
    background: var(--gold);
    transform: translate(-50%,-50%) rotate(45deg);
    outline: 3px solid var(--marine-deep);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 880px;
    padding: 8rem 1.5rem 6rem;
    color: #fff;
}
.hero-content .mini-title { justify-content: center; color: var(--gold-soft); }
.hero-content .mini-title::after {
    content: ""; width: 60px; height: 1px; background: var(--gold); flex: none;
}
.hero-content h1 {
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    color: #fff;
    margin-bottom: 1.4rem;
}
.hero-content h1 em { color: var(--gold); }
.hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255,255,255,0.88);
    max-width: 620px;
    margin: 0 auto 2.4rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
    position: absolute;
    bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.7);
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    text-decoration: none;
}
.hero-scroll span {
    display: block;
    width: 1px; height: 44px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    margin: 10px auto 0;
    animation: scrollHint 2.2s ease-in-out infinite;
}
@keyframes scrollHint {
    0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- Page banner (sub-pages) ---------- */
.page-banner {
    position: relative;
    min-height: 52vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background:
        radial-gradient(900px 380px at 20% -20%, rgba(206,168,78,0.14), transparent 60%),
        linear-gradient(150deg, #0a2036 0%, #0e2b46 60%, #143d60 100%);
}
.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='120' viewBox='0 0 140 120'%3E%3Cpath d='M24 118 V58 A46 46 0 0 1 116 58 V118' fill='none' stroke='%23cea84e' stroke-opacity='0.09' stroke-width='1'/%3E%3C/svg%3E");
}
.page-banner.has-image { background-size: cover; background-position: center; }
.page-banner.has-image::before { display: none; }
.page-banner::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,32,54,0.0) 0%, rgba(10,32,54,0.35) 100%);
}
.page-banner.has-image::after {
    background: linear-gradient(180deg, rgba(10,32,54,0.5) 0%, rgba(10,32,54,0.8) 100%);
}
.page-banner .banner-inner { position: relative; z-index: 2; }
.page-banner .banner-inner::after {
    content: "";
    display: block;
    width: 68px; height: 2px;
    background: var(--gold);
    margin-top: 1.6rem;
}
.page-banner .banner-inner {
    position: relative; z-index: 2;
    width: 100%;
    padding: 10rem 0 3.5rem;
    color: #fff;
}
.page-banner h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    color: #fff;
    margin-bottom: 0.6rem;
}
.page-banner h1 em { color: var(--gold); }
.page-banner .crumb {
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-soft);
}
.page-banner .crumb a { color: rgba(255,255,255,0.75); text-decoration: none; }
.page-banner .crumb a:hover { color: var(--gold); }

/* ---------- Verse ribbon ---------- */
.verse-ribbon {
    background: var(--cream);
    border-top: 1px solid rgba(206, 168, 78, 0.45);
    border-bottom: 1px solid rgba(206, 168, 78, 0.45);
    padding: 0.9rem 0;
    overflow: hidden;
    position: relative;
}
.verse-track {
    display: flex;
    width: max-content;
    animation: verseScroll 60s linear infinite;
}
.verse-ribbon:hover .verse-track { animation-play-state: paused; }
.verse-track span {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--marine);
    white-space: nowrap;
    padding: 0 1.5rem;
}
.verse-track b {
    font-family: var(--sans);
    font-style: normal;
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-left: 0.6rem;
}
@keyframes verseScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-slides .slide { animation: none; opacity: 0; }
    .hero-slides .slide:first-child { opacity: 1; }
    .verse-track { animation: none; }
}

/* ---------- Welcome / overlap quote ---------- */
.img-frame {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}
.img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s var(--ease-out);
}
.img-frame:hover img { transform: scale(1.04); }
.quote-overlap {
    position: relative;
    background: var(--marine);
    color: #fff;
    border-left: 4px solid var(--gold);
    border-radius: 6px;
    padding: 2rem 2.2rem;
    font-family: var(--serif);
    font-size: 1.35rem;
    line-height: 1.5;
    font-style: italic;
    box-shadow: 0 24px 60px rgba(10, 32, 54, 0.25);
}
.quote-overlap small {
    display: block;
    margin-top: 0.9rem;
    font-family: var(--sans);
    font-style: normal;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ---------- Ornament divider (diamond + rules) ---------- */
.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 auto 1.2rem;
}
.ornament::before, .ornament::after {
    content: "";
    width: 52px; height: 1px;
    background: linear-gradient(to right, transparent, var(--gold));
}
.ornament::after { background: linear-gradient(to left, transparent, var(--gold)); }
.ornament span {
    width: 7px; height: 7px;
    background: var(--gold);
    transform: rotate(45deg);
    flex: none;
}
.ornament.left { justify-content: flex-start; }
.ornament.left::before { display: none; }

/* ---------- Drop cap ---------- */
.dropcap::first-letter {
    font-family: var(--serif);
    font-size: 3.3em;
    float: left;
    line-height: 0.82;
    padding: 0.05em 0.14em 0 0;
    color: var(--gold-dark);
    font-weight: 500;
}

/* ---------- Verse panel (welcome section) ---------- */
.verse-panel {
    position: relative;
    background:
        radial-gradient(600px 260px at 80% 0%, rgba(206,168,78,0.14), transparent 60%),
        linear-gradient(150deg, var(--marine-deep), #16405f);
    color: #fff;
    border-radius: 12px;
    border-left: 4px solid var(--gold);
    padding: clamp(2rem, 4vw, 3.2rem);
    overflow: hidden;
    box-shadow: 0 28px 60px rgba(10,32,54,0.22);
}
.verse-panel::before {
    content: "";
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='120' viewBox='0 0 140 120'%3E%3Cpath d='M24 118 V58 A46 46 0 0 1 116 58 V118' fill='none' stroke='%23cea84e' stroke-opacity='0.08' stroke-width='1'/%3E%3C/svg%3E");
}
.verse-panel > * { position: relative; z-index: 1; }
.verse-panel .mini-title { color: var(--gold); }
.verse-panel .vp-verse {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.5rem;
    line-height: 1.5;
    color: #fff;
    margin-bottom: 0.6rem;
}
.verse-panel .vp-verse.vp-small { font-size: 1.15rem; color: rgba(255,255,255,0.85); }
.verse-panel .vp-ref {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0;
}
.verse-panel .vp-rule {
    border: none;
    border-top: 1px solid rgba(206,168,78,0.35);
    margin: 1.8rem 0;
}
.vp-cross {
    position: absolute;
    right: 1.8rem; top: 1.8rem;
    width: 34px; height: 44px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 134'%3E%3Cpath d='M46 8 h18 v32 h32 v18 h-32 v68 h-18 v-68 h-32 v-18 h32 z' fill='none' stroke='%23cea84e' stroke-opacity='0.5' stroke-width='3'/%3E%3C/svg%3E") center/contain no-repeat;
    z-index: 1;
}

/* ---------- Stats band ---------- */
.stats-band {
    padding: 4.5rem 0;
    border-top: 1px solid rgba(206,168,78,0.35);
    border-bottom: 1px solid rgba(206,168,78,0.35);
}
.stat { text-align: center; padding: 1rem; }
.stat .value {
    font-family: var(--serif);
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    color: var(--gold);
    line-height: 1;
    display: block;
    margin-bottom: 0.6rem;
}
.stat .label {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
}

/* ---------- Program / news cards ---------- */
.ca-card {
    background: #fff;
    border: 1px solid rgba(14, 43, 70, 0.08);
    border-radius: 10px;
    height: 100%;
    padding: 2.2rem;
    transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.45s;
    position: relative;
}
.ca-card::before {
    content: "";
    position: absolute;
    top: 0; left: 2.2rem;
    width: 44px; height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--ease-out);
}
.ca-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(10, 32, 54, 0.12);
    border-color: rgba(206, 168, 78, 0.5);
}
.ca-card:hover::before { transform: scaleX(1); }
.ca-card h3, .ca-card h5 {
    font-size: 1.55rem;
    margin-bottom: 0.7rem;
}
.ca-card .tag {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-dark);
    display: block;
    margin-bottom: 0.8rem;
}
.module-list { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.module-list li {
    padding: 0.55rem 0 0.55rem 1.6rem;
    border-bottom: 1px solid rgba(14,43,70,0.07);
    font-size: 0.98rem;
    position: relative;
}
.module-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 1.05rem;
    width: 7px; height: 7px;
    background: var(--gold);
}
.module-list li:last-child { border-bottom: none; }
.modules-toggle {
    background: none; border: none; padding: 0;
    font-size: 0.8rem; font-weight: 500;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--marine);
    margin-top: 1.2rem;
    cursor: pointer;
}
.modules-toggle:hover { color: var(--gold-dark); }
.modules-toggle .fa { transition: transform 0.3s; }
.modules-toggle[aria-expanded="true"] .fa { transform: rotate(180deg); }

/* ---------- Progression steps ---------- */
.steps { position: relative; }
.steps::before {
    content: "";
    position: absolute;
    left: 27px; top: 10px; bottom: 10px;
    width: 1px;
    background: rgba(206, 168, 78, 0.4);
}
.step {
    position: relative;
    padding: 0 0 3rem 5rem;
}
.step:last-child { padding-bottom: 0; }
.step .num {
    position: absolute;
    left: 0; top: 0;
    width: 55px; height: 55px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    background: var(--cream);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif);
    font-size: 1.4rem;
    color: var(--gold-dark);
    transition: all 0.4s ease;
}
.step.in .num { background: var(--marine); color: var(--gold); border-color: var(--marine); }
.step h3 { font-size: 1.6rem; margin-bottom: 0.4rem; }
.step .step-tag {
    font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--gold-dark); font-weight: 500; display: block; margin-bottom: 0.5rem;
}
.step p { max-width: 560px; margin: 0; }

/* ---------- Team ---------- */
.team-row { padding: 3.5rem 0; border-bottom: 1px solid rgba(14,43,70,0.08); }
.team-row:last-child { border-bottom: none; }
.arch-img {
    width: min(300px, 78%);
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid rgba(206,168,78,0.55);
    padding: 9px;
    background: var(--cream);
    display: block;
    margin: 0 auto;
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.arch-img:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(10,32,54,0.16); }
.arch-placeholder {
    width: min(300px, 78%);
    aspect-ratio: 1/1;
    border-radius: 50%;
    border: 1px dashed rgba(206,168,78,0.7);
    background: var(--off);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--marine);
}
.arch-placeholder .initials {
    font-family: var(--serif);
    font-size: 4rem;
    color: var(--gold-dark);
    line-height: 1;
}
.arch-placeholder small {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text);
    margin-top: 0.8rem;
}
.team-info h3 { font-size: 2rem; margin-bottom: 0.3rem; }
.team-info .role {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 1.2rem;
    display: block;
}
.team-info .facts {
    margin-top: 1.4rem;
    padding: 1.3rem 1.5rem;
    background: #fff;
    border-left: 3px solid var(--gold);
    border-radius: 0 8px 8px 0;
}
.team-info .facts p {
    margin: 0.3rem 0;
    font-size: 0.95rem;
}
.team-info .facts i { color: var(--gold-dark); margin-right: 10px; width: 16px; }
.order-badge {
    font-family: var(--serif);
    font-size: 4.5rem;
    line-height: 1;
    color: rgba(206, 168, 78, 0.25);
    display: block;
    margin-bottom: 0.5rem;
}

/* ---------- Gallery ---------- */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 3rem;
}
.gallery-filters .chip {
    border: 1px solid rgba(14,43,70,0.25);
    background: transparent;
    color: var(--text);
    border-radius: 999px;
    padding: 0.45rem 1.4rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}
.gallery-filters .chip:hover { border-color: var(--gold); color: var(--gold-dark); }
.gallery-filters .chip.active {
    background: var(--marine);
    border-color: var(--marine);
    color: var(--gold);
}
.gallery-grid {
    columns: 3;
    column-gap: 1.4rem;
}
@media (max-width: 991px) { .gallery-grid { columns: 2; } }
@media (max-width: 575px) { .gallery-grid { columns: 1; } }
.gallery-item {
    break-inside: avoid;
    margin-bottom: 1.4rem;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: zoom-in;
    border: none;
    padding: 0;
    background: none;
    width: 100%;
    display: block;
}
.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.7s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .meta {
    position: absolute;
    inset: auto 0 0 0;
    padding: 2.2rem 1.2rem 1rem;
    background: linear-gradient(to top, rgba(10,32,54,0.85), transparent);
    color: #fff;
    text-align: left;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.gallery-item:hover .meta { opacity: 1; }
.gallery-item .meta .year {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
}
.gallery-item .meta .cap { font-family: var(--serif); font-size: 1.1rem; font-style: italic; }
.gallery-empty {
    text-align: center;
    padding: 5rem 1rem;
    color: var(--text);
}
.gallery-empty .serif { font-size: 1.8rem; font-style: italic; margin-bottom: 0.6rem; }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 32, 54, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s;
    padding: 2rem;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure {
    max-width: min(1000px, 92vw);
    margin: 0;
    transform: translateY(24px);
    transition: transform 0.35s var(--ease-out);
}
.lightbox.open figure { transform: none; }
.lightbox img {
    max-height: 78vh;
    width: auto;
    max-width: 100%;
    border-radius: 6px;
    display: block;
    margin: 0 auto;
}
.lightbox figcaption {
    text-align: center;
    color: rgba(255,255,255,0.85);
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.1rem;
    margin-top: 1rem;
}
.lightbox .lb-close {
    position: absolute;
    top: 1.4rem; right: 1.8rem;
    background: none; border: none;
    color: #fff; font-size: 2rem;
    cursor: pointer; line-height: 1;
}
.lightbox .lb-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    background: none; border: none;
    color: rgba(255,255,255,0.75);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 1rem;
}
.lightbox .lb-nav:hover { color: var(--gold); }
.lightbox .lb-prev { left: 0.6rem; }
.lightbox .lb-next { right: 0.6rem; }

/* ---------- News ---------- */
.news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(14,43,70,0.08);
    transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(10,32,54,0.12);
    color: inherit;
}
.news-card .thumb {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--off);
}
.news-card .thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out);
}
.news-card:hover .thumb img { transform: scale(1.06); }
.news-card .body { padding: 1.6rem 1.8rem 1.8rem; }
.news-card .date {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-dark);
    font-weight: 500;
    display: block;
    margin-bottom: 0.6rem;
}
.news-card h3 { font-size: 1.45rem; margin-bottom: 0.6rem; }
.news-card p { font-size: 0.98rem; margin: 0; color: var(--text); }
.article-body { font-size: 1.12rem; line-height: 1.9; }
.article-body img { border-radius: 10px; margin: 1.5rem 0; }

/* ---------- Fees ---------- */
.fees-table {
    width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(14,43,70,0.08);
    box-shadow: 0 18px 45px rgba(10,32,54,0.07);
}
.fees-table table { width: 100%; border-collapse: collapse; margin: 0; }
.fees-table th {
    background: var(--marine);
    color: var(--gold);
    font-family: var(--sans);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 1.1rem 1.4rem;
    text-align: left;
}
.fees-table td {
    padding: 1.15rem 1.4rem;
    border-top: 1px solid rgba(14,43,70,0.07);
    font-size: 1rem;
    color: var(--text);
}
.fees-table td:first-child {
    font-family: var(--serif);
    font-size: 1.2rem;
    color: var(--marine);
}
.fees-table tbody tr { transition: background 0.25s ease; }
.fees-table tbody tr:hover { background: rgba(206,168,78,0.08); }
.fee-note {
    border-left: 3px solid var(--gold);
    background: #fff;
    padding: 1.4rem 1.8rem;
    border-radius: 0 10px 10px 0;
}

/* ---------- Forms ---------- */
.ca-form .form-label {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--marine);
    margin-bottom: 0.45rem;
}
.ca-form .form-control, .ca-form .form-select {
    border: 1px solid rgba(14,43,70,0.18);
    border-radius: 8px;
    padding: 0.8rem 1.1rem;
    font-family: var(--sans);
    font-size: 1rem;
    color: var(--text);
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.ca-form .form-control:focus, .ca-form .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(206,168,78,0.18);
}
.form-shell {
    background: #fff;
    border: 1px solid rgba(14,43,70,0.08);
    border-radius: 14px;
    padding: clamp(1.8rem, 4vw, 3.2rem);
    box-shadow: 0 24px 60px rgba(10,32,54,0.08);
}
.alert-ca-success {
    background: rgba(206,168,78,0.12);
    border: 1px solid var(--gold);
    color: var(--marine);
    border-radius: 10px;
    padding: 1rem 1.4rem;
}

/* ---------- CTA band ---------- */
.cta-band {
    position: relative;
    background: linear-gradient(135deg, var(--gold) 0%, #dfc06f 100%);
    padding: 5rem 0;
    text-align: center;
    color: var(--marine);
    border-top: 3px double rgba(14,43,70,0.35);
    border-bottom: 3px double rgba(14,43,70,0.35);
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='120' viewBox='0 0 140 120'%3E%3Cpath d='M24 118 V58 A46 46 0 0 1 116 58 V118' fill='none' stroke='%230e2b46' stroke-opacity='0.07' stroke-width='1'/%3E%3C/svg%3E");
}
.cta-band > .container { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.8rem; }
.cta-band p { max-width: 560px; margin: 0 auto 2rem; font-size: 1.1rem; }
.cta-band .btn-ca { background: var(--marine); border-color: var(--marine); color: var(--gold); }
.cta-band .btn-ca:hover { background: transparent; color: var(--marine); }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--marine-deep);
    color: rgba(255,255,255,0.72);
    padding: 4.5rem 0 2rem;
    border-top: 3px solid var(--gold);
}
.site-footer h5 {
    color: #fff;
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.3rem;
}
.site-footer a {
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    transition: color 0.3s ease;
}
.site-footer a:hover { color: var(--gold); }
.site-footer .footer-brand {
    font-family: var(--serif);
    font-size: 1.5rem;
    color: #fff;
}
.site-footer .footer-brand img { height: 40px; margin-right: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 0.55rem; }
.site-footer .footer-verse {
    font-family: var(--serif);
    font-style: italic;
    color: var(--gold-soft);
    font-size: 1.05rem;
}
.site-footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 3rem;
    padding-top: 1.6rem;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem;
}
