/* =================================================
   SHARED.CSS — all styles for all pages
   Page-specific conflicts scoped with body.page-X
   ================================================= */

/* ── VARIABLES & RESET ── */
:root {
    --cream: #fff7ed;
    --paper: #fffdf9;
    --ink: #1a1a1a;
    --muted: rgba(26,26,26,.68);
    --line: rgba(26,26,26,.10);
    --sun: #ffb703;
    --coral: #fb7185;
    --sky: #7dd3fc;
    --mint: #86efac;
    --shadow: 0 18px 48px rgba(0,0,0,.12);
    --shadow2: 0 26px 70px rgba(0,0,0,.12);
    --r: 22px;
    --r2: 34px;
    --pill: 999px;
    --max: 1120px;
}

* { box-sizing: border-box; }

html, body { max-width: 100%; overflow-x: hidden; }

/* Default background on body (index, about, contact) */
body {
    margin: 0;
    color: var(--ink);
    font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
    background:
        radial-gradient(900px 520px at 15% 10%, rgba(255,183,3,.34), transparent 55%),
        radial-gradient(900px 520px at 80% 20%, rgba(251,113,133,.22), transparent 55%),
        radial-gradient(900px 520px at 65% 85%, rgba(134,239,172,.22), transparent 55%),
        linear-gradient(180deg, var(--cream), #ffffff);
}

/* ceremonies + certifications: background lives on html element for full-page coverage */
body.page-ceremonies,
body.page-certifications {
    min-height: 100vh;
    background: transparent;
}

html:has(body.page-ceremonies),
html:has(body.page-certifications) {
    min-height: 100%;
    background:
        radial-gradient(900px 520px at 15% 10%, rgba(255,183,3,.34), transparent 55%),
        radial-gradient(900px 520px at 80% 20%, rgba(251,113,133,.22), transparent 55%),
        radial-gradient(900px 520px at 65% 85%, rgba(134,239,172,.22), transparent 55%),
        linear-gradient(180deg, var(--cream), #ffffff);
    background-repeat: no-repeat;
    background-size: cover;
}

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

.wrap { width: min(var(--max), calc(100% - 44px)); margin: 0 auto; }

main { position: relative; z-index: 5; }

/* ── GRAIN ── */
.grain {
    position: fixed; inset: 0;
    pointer-events: none; z-index: 1;
    opacity: .055; mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
    background-size: 220px 220px;
}

/* ── NAV ── */
.nav {
    position: sticky; top: 0; z-index: 30;
    background: rgba(255,253,249,.74);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(26,26,26,.08);
}

.nav .inner {
    height: 76px; display: flex;
    align-items: center; justify-content: space-between; gap: 16px;
}

.brand { display: flex; align-items: center; gap: 12px; min-width: 240px; }

.markWrap { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }

.mark {
    width: 40px; height: 40px; border-radius: 14px;
    background:
        radial-gradient(circle at 30% 25%, rgba(255,255,255,.75), transparent 45%),
        linear-gradient(135deg, rgba(255,183,3,.95), rgba(251,113,133,.75));
    box-shadow: 0 14px 26px rgba(251,113,133,.18);
    position: relative; overflow: hidden;
    display: grid; place-items: center;
}

.mark::after {
    content: ""; position: absolute; inset: -35%;
    transform: rotate(18deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
    animation: sheen 4.6s ease-in-out infinite;
    opacity: .8; pointer-events: none;
}

@keyframes sheen {
    0%, 60% { transform: translateX(-20%) rotate(18deg); opacity: 0; }
    70%      { opacity: .9; }
    100%     { transform: translateX(55%) rotate(18deg); opacity: 0; }
}

.iapwoBadgeInMark {
    width: 30px; height: 30px; object-fit: contain;
    border-radius: 10px;
    background: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.55);
    box-shadow: 0 8px 16px rgba(0,0,0,.10);
    position: relative; z-index: 2; pointer-events: none;
}

.iapwoUnderLogo {
    font-size: 11px; color: rgba(26,26,26,.60);
    line-height: 1; display: inline-flex; gap: 6px; align-items: center;
}
.iapwoUnderLogo:hover { text-decoration: underline; }

.brand .t1 { font-weight: 650; font-size: 14px; line-height: 1.1; }
.brand .t2 { margin-top: 3px; font-size: 12px; color: var(--muted); line-height: 1.1; }

.links { display: flex; align-items: center; gap: 6px; font-size: 14px; color: rgba(26,26,26,.72); }
.links a { padding: 10px 12px; border-radius: var(--pill); transition: background .2s ease, transform .15s ease; }
.links a:hover { background: rgba(255,183,3,.16); transform: translateY(-1px); }

.navCtas { display: flex; gap: 10px; align-items: center; }

/* ── BUTTONS ── */
.btn {
    height: 42px; padding: 0 14px;
    border-radius: var(--pill);
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-size: 14px; font-weight: 650; cursor: pointer;
    border: 1px solid transparent;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
    user-select: none; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn.soft { background: rgba(26,26,26,.05); border-color: rgba(26,26,26,.10); }
.btn.soft:hover { background: rgba(26,26,26,.07); border-color: rgba(26,26,26,.14); transform: translateY(-1px); }

.btn.primary {
    background: linear-gradient(135deg, var(--sun), var(--coral));
    color: #14110b; box-shadow: 0 18px 38px rgba(251,113,133,.22);
}
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 22px 46px rgba(251,113,133,.28); }

.btn.full { width: auto; padding: 0 18px; }

/* ── BURGER ── */
.burger {
    display: none; width: 44px; height: 44px; border-radius: var(--pill);
    border: 1px solid rgba(26,26,26,.10); background: rgba(255,255,255,.65);
    box-shadow: 0 10px 22px rgba(0,0,0,.06);
    cursor: pointer; align-items: center; justify-content: center;
    transition: transform .15s ease, background .2s ease;
}
.burger:hover { transform: translateY(-1px); background: rgba(255,183,3,.12); }
.burger:active { transform: translateY(1px); }

.burgerBars { width: 18px; height: 12px; display: block; position: relative; }
.burgerBars::before, .burgerBars::after {
    content: ""; position: absolute; left: 0; right: 0;
    height: 2px; border-radius: 99px; background: rgba(26,26,26,.78);
}
.burgerBars::before { top: 0; box-shadow: 0 5px 0 rgba(26,26,26,.78); }
.burgerBars::after  { bottom: 0; }

/* ── DRAWER ── */
.drawerOverlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.18);
    opacity: 0; pointer-events: none;
    transition: opacity .2s ease; z-index: 40;
}

.drawer {
    position: fixed; top: 0; right: 0;
    height: 100vh; width: min(360px, 92vw);
    background: rgba(255,253,249,.94); backdrop-filter: blur(10px);
    border-left: 1px solid rgba(26,26,26,.10);
    box-shadow: 0 26px 70px rgba(0,0,0,.18);
    transform: translateX(105%); transition: transform .22s ease;
    z-index: 50; padding: 14px;
    display: flex; flex-direction: column; gap: 14px;
}

.drawerHead { display: flex; justify-content: space-between; align-items: center; padding: 8px 6px 2px; }
.drawerTitle { font-weight: 650; letter-spacing: .02em; }
.drawerClose {
    width: 40px; height: 40px; border-radius: var(--pill);
    border: 1px solid rgba(26,26,26,.10); background: rgba(255,255,255,.75); cursor: pointer;
}

.drawerNav { display: flex; flex-direction: column; gap: 8px; padding: 4px 6px; }
.drawerLink {
    padding: 12px; border-radius: 16px;
    border: 1px solid rgba(26,26,26,.10); background: rgba(255,255,255,.70);
    color: rgba(26,26,26,.78); transition: transform .15s ease, background .2s ease;
}
.drawerLink:hover { transform: translateY(-1px); background: rgba(255,183,3,.12); }

.drawerCtas { margin-top: auto; padding: 6px; display: flex; gap: 10px; flex-wrap: wrap; }

body.menuOpen { overflow: hidden; }
body.menuOpen .drawerOverlay { opacity: 1; pointer-events: auto; }
body.menuOpen .drawer { transform: translateX(0); }

.links a.active, .drawerLink.active {
    background: rgba(251,113,133,.12);
    border-color: rgba(251,113,133,.22);
    color: rgba(26,26,26,.90);
}

/* ── SHARED COMPONENTS ── */
@keyframes in { to { opacity: 1; transform: translateY(0); } }

.badge {
    padding: 8px 12px; border-radius: var(--pill);
    border: 1px dashed rgba(26,26,26,.20);
    background: rgba(255,183,3,.12);
    font-size: 13px; color: rgba(26,26,26,.78);
}
.badgeRow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; position: relative; }
.hand { font-family: "Caveat", cursive; font-size: 18px; color: rgba(26,26,26,.70); }

h1 {
    font-family: "Fraunces", ui-serif, Georgia, serif;
    font-weight: 650; font-size: 52px;
    letter-spacing: -.3px; line-height: 1.02; margin: 14px 0 10px;
}

.lead { margin: 0; color: rgba(26,26,26,.74); font-size: 16px; line-height: 1.65; }

.k { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(26,26,26,.55); margin-bottom: 8px; }

.card {
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(26,26,26,.10);
    border-radius: var(--r2); box-shadow: var(--shadow);
    padding: 18px; position: relative; overflow: hidden;
}

.card p { margin: 0; color: rgba(26,26,26,.70); line-height: 1.7; font-size: 14px; }
.card b { display: block; font-size: 15px; margin-bottom: 6px; }

.pillList { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.pill {
    padding: 10px 12px; border-radius: var(--pill);
    border: 1px solid rgba(26,26,26,.10); background: rgba(255,255,255,.70);
    font-weight: 650; font-size: 13px;
}

.sectionHead {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 18px; flex-wrap: wrap; margin-bottom: 18px;
}

.ico {
    width: 44px; height: 44px; border-radius: 18px;
    display: grid; place-items: center;
    border: 1px solid rgba(26,26,26,.10); background: rgba(255,255,255,.72);
    flex: 0 0 auto; font-size: 18px;
}

/* ── FOOTER ── */
footer {
    position: relative; z-index: 5;
    padding: 26px 0 34px;
    border-top: 1px solid rgba(26,26,26,.08);
    background: rgba(255,253,249,.70);
    backdrop-filter: blur(8px);
}

.footerGrid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; align-items: start; }
.footerTitle { font-weight: 650; margin: 0 0 6px; }
.footerNote { margin: 0; color: rgba(26,26,26,.68); line-height: 1.6; font-size: 13px; }
.footerLinks { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.footerLinks a {
    padding: 8px 10px; border-radius: var(--pill);
    border: 1px solid rgba(26,26,26,.10); background: rgba(255,255,255,.65);
    font-size: 12px; color: rgba(26,26,26,.70);
    transition: transform .15s ease, background .2s ease;
}
.footerLinks a:hover { transform: translateY(-1px); background: rgba(255,183,3,.12); }
.copy { margin-top: 12px; color: rgba(26,26,26,.55); font-size: 12px; }

/* ── PAGE: INDEX ── */
.page-index .header { padding: 56px 0 18px; }

.page-index .headerCard {
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(26,26,26,.10);
    border-radius: var(--r2); box-shadow: var(--shadow2);
    padding: 34px 34px 28px; position: relative; overflow: hidden;
    opacity: 0; transform: translateY(10px); animation: in .75s ease forwards;
}
.page-index .headerCard::before {
    content: ""; position: absolute; inset: -1px; pointer-events: none;
    background:
        radial-gradient(520px 280px at 10% 18%, rgba(255,183,3,.22), transparent 60%),
        radial-gradient(520px 280px at 92% 22%, rgba(251,113,133,.14), transparent 60%),
        radial-gradient(520px 320px at 62% 120%, rgba(125,211,252,.12), transparent 60%);
    opacity: .95;
}

.page-index .headerActions {
    position: relative; display: flex; gap: 12px; flex-wrap: wrap;
    margin-top: 18px; align-items: center; justify-content: space-between;
}
.page-index .headerActions .cta { display: flex; gap: 12px; flex-wrap: wrap; }

.page-index .statsBar {
    position: relative; margin-top: 18px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}

.page-index .stat {
    border-radius: 22px; border: 1px solid rgba(26,26,26,.10);
    background: rgba(255,253,249,.72); padding: 12px;
    min-height: 74px; display: flex; flex-direction: column; justify-content: center;
}
.page-index .stat .n { font-family: "Fraunces", ui-serif, Georgia, serif; font-weight: 650; font-size: 22px; letter-spacing: -.2px; margin-bottom: 2px; }
.page-index .stat .l { color: rgba(26,26,26,.66); font-size: 12px; line-height: 1.35; }

.page-index .content { padding: 26px 0 40px; }

.page-index .layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; align-items: start; }
.page-index .col { display: flex; flex-direction: column; gap: 18px; }

.page-index .card { display: flex; flex-direction: column; }

.page-index .timeline { position: relative; padding-left: 18px; margin-top: 10px; }
.page-index .timeline::before {
    content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px;
    width: 2px; background: rgba(26,26,26,.12); border-radius: 99px;
}
.page-index .step {
    position: relative; padding: 12px 12px 12px 16px; margin: 10px 0;
    border-radius: 18px; background: rgba(255,255,255,.72);
    border: 1px solid rgba(26,26,26,.10); transition: transform .16s ease;
}
.page-index .step:hover { transform: translateY(-1px); }
.page-index .step::before {
    content: ""; position: absolute; left: -14px; top: 18px;
    width: 12px; height: 12px; border-radius: 99px;
    background: linear-gradient(135deg, var(--sun), var(--coral));
    box-shadow: 0 0 0 8px rgba(255,183,3,.16);
}
.page-index .step b { display: block; margin-bottom: 3px; }
.page-index .step span { display: block; color: rgba(26,26,26,.70); font-size: 13px; line-height: 1.45; }

.page-index .photoCard {
    border-radius: var(--r2); border: 1px solid rgba(26,26,26,.10);
    background: rgba(255,255,255,.72); overflow: hidden;
    position: relative; box-shadow: var(--shadow);
    min-height: 320px; display: flex; flex-direction: column;
}
.page-index .headshotImg {
    width: 100%; height: 100%; min-height: 320px;
    object-fit: cover; display: block;
    transform: scale(1.01); transition: transform .6s ease;
    filter: saturate(1.02) contrast(1.02);
}
.page-index .photoCard:hover .headshotImg { transform: scale(1.04); }

.page-index .miniMeta {
    position: absolute; left: 12px; right: 12px; bottom: 12px;
    background: rgba(255,255,255,.86); border: 1px solid rgba(26,26,26,.10);
    border-radius: 18px; padding: 10px 12px;
    display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    box-shadow: 0 12px 26px rgba(0,0,0,.12); font-size: 13px; color: rgba(26,26,26,.72); align-items: center;
}
.page-index .miniMeta b { color: rgba(26,26,26,.85); font-weight: 650; }

.page-index .proofItem {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 12px; border-radius: 22px;
    border: 1px solid rgba(26,26,26,.10); background: rgba(255,183,3,.10);
    margin-top: 12px; min-height: 76px;
}
.page-index .proofItem:nth-child(3) { background: rgba(251,113,133,.10); }
.page-index .proofItem:nth-child(4) { background: rgba(125,211,252,.10); }
.page-index .proofItem b { display: block; margin-bottom: 2px; }
.page-index .proofItem span { display: block; color: rgba(26,26,26,.70); font-size: 13px; line-height: 1.45; }

.page-index .nextStepCtas { margin-top: 10px; display: flex; gap: 12px; flex-wrap: wrap; }

.page-index .gallery { padding: 8px 0 80px; }
.page-index .galleryHead {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 16px; flex-wrap: wrap; margin-bottom: 14px;
}
.page-index .gTitle { font-family: "Fraunces", ui-serif, Georgia, serif; font-weight: 650; font-size: 32px; margin: 0; letter-spacing: -.2px; }
.page-index .gSub { margin: 8px 0 0; color: rgba(26,26,26,.68); font-size: 14px; line-height: 1.65; max-width: 78ch; }

.page-index .galleryGrid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.page-index .gCard {
    background: rgba(255,255,255,.78); border: 1px solid rgba(26,26,26,.10);
    border-radius: var(--r2); box-shadow: var(--shadow);
    overflow: hidden; position: relative; min-height: 330px;
}
.page-index .gImg {
    width: 100%; height: 100%; min-height: 330px;
    object-fit: cover; display: block; transform: scale(1.01); transition: transform .6s ease;
}
.page-index .gCard:hover .gImg { transform: scale(1.04); }
.page-index .gStack { display: flex; flex-direction: column; gap: 18px; height: 100%; }
.page-index .gSmall { min-height: 156px; }
.page-index .gSmall .gImg { min-height: 156px; }

/* ── PAGE: ABOUT ── */
.page-about .hero { padding: 58px 0 28px; }

.page-about .heroGrid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; align-items: stretch; }

.page-about .panel {
    background: rgba(255,255,255,.78); border: 1px solid rgba(26,26,26,.10);
    border-radius: var(--r2); box-shadow: var(--shadow2); position: relative; overflow: hidden;
}
.page-about .panel::before {
    content: ""; position: absolute; inset: -1px; pointer-events: none;
    background:
        radial-gradient(520px 300px at 10% 14%, rgba(255,183,3,.24), transparent 60%),
        radial-gradient(520px 300px at 92% 20%, rgba(251,113,133,.16), transparent 60%),
        radial-gradient(520px 340px at 62% 110%, rgba(125,211,252,.14), transparent 60%);
    opacity: .95;
}

.page-about .heroCopy {
    padding: 32px 32px 28px; opacity: 0; transform: translateY(10px);
    animation: in .7s ease forwards; position: relative;
}
.page-about .heroSide {
    padding: 18px; opacity: 0; transform: translateY(14px);
    animation: in .85s ease .10s forwards;
    display: flex; flex-direction: column; gap: 14px; position: relative;
}

.page-about .ctaRow { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

.page-about .photoCard {
    border-radius: var(--r2); border: 1px solid rgba(26,26,26,.10);
    background: rgba(255,255,255,.72); overflow: hidden;
    position: relative; box-shadow: var(--shadow); min-height: 360px;
}
.page-about .photoFrame {
    height: 100%; width: 100%; background-size: cover; background-position: center;
    transform: scale(1.02); transition: transform .6s ease;
    background-image:
        linear-gradient(180deg, rgba(255,247,237,.05) 20%, rgba(255,247,237,.95) 100%),
        url("./images/charles-maria.png");
}
.page-about .photoCard:hover .photoFrame { transform: scale(1.05); }

.page-about .photoOverlay {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 16px; gap: 10px;
}
.page-about .photoMeta {
    background: rgba(255,255,255,.86); border: 1px solid rgba(26,26,26,.10);
    border-radius: 18px; padding: 12px; box-shadow: 0 12px 26px rgba(0,0,0,.12);
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: center;
}
.page-about .metaBlock .label { font-size: 12px; color: rgba(26,26,26,.55); margin-bottom: 4px; }
.page-about .metaBlock .value { font-weight: 650; font-size: 14px; }

.page-about .section { padding: 34px 0 80px; }

.page-about .title { font-family: "Fraunces", ui-serif, Georgia, serif; font-size: 34px; margin: 0; letter-spacing: -.2px; }
.page-about .sub { margin: 0; color: var(--muted); line-height: 1.65; max-width: 74ch; }

.page-about .grid2 { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; align-items: start; margin-top: 18px; }

.page-about .statGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.page-about .stat {
    border-radius: 22px; border: 1px solid rgba(26,26,26,.10);
    background: rgba(255,253,249,.72); padding: 12px;
}
.page-about .stat .n { font-family: "Fraunces", ui-serif, Georgia, serif; font-weight: 650; font-size: 22px; letter-spacing: -.2px; margin-bottom: 2px; }
.page-about .stat .l { color: rgba(26,26,26,.66); font-size: 12px; line-height: 1.35; }

.page-about .iconRow {
    display: flex; align-items: flex-start; gap: 12px; padding: 12px;
    border-radius: 22px; border: 1px solid rgba(26,26,26,.10);
    background: rgba(255,183,3,.10); margin-top: 12px;
}
.page-about .icon {
    width: 44px; height: 44px; border-radius: 18px;
    display: grid; place-items: center;
    border: 1px solid rgba(26,26,26,.10); background: rgba(255,255,255,.70); flex: 0 0 auto;
}
.page-about .iconRow:nth-child(3) { background: rgba(251,113,133,.10); }
.page-about .iconRow:nth-child(4) { background: rgba(125,211,252,.10); }
.page-about .iconRow b { margin-bottom: 2px; }
.page-about .iconRow span { display: block; color: rgba(26,26,26,.70); font-size: 13px; line-height: 1.45; }

/* ── PAGE: CEREMONIES ── */
.page-ceremonies .pageHead { padding: 56px 0 18px; }

.page-ceremonies .headCard {
    background: rgba(255,255,255,.78); border: 1px solid var(--line);
    border-radius: var(--r2); box-shadow: var(--shadow2);
    padding: 34px 34px 28px; position: relative; overflow: hidden;
    opacity: 0; transform: translateY(10px); animation: in .75s ease forwards;
}
.page-ceremonies .headCard::before {
    content: ""; position: absolute; inset: -1px; pointer-events: none;
    background:
        radial-gradient(520px 280px at 10% 18%, rgba(255,183,3,.22), transparent 60%),
        radial-gradient(520px 280px at 92% 22%, rgba(251,113,133,.14), transparent 60%),
        radial-gradient(520px 320px at 62% 120%, rgba(125,211,252,.12), transparent 60%);
}

.page-ceremonies .jumpRow { position: relative; margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.page-ceremonies .chip {
    padding: 10px 12px; border-radius: var(--pill);
    border: 1px solid var(--line); background: rgba(255,255,255,.70);
    font-weight: 650; font-size: 13px; cursor: pointer;
    transition: transform .15s ease, background .2s ease, border-color .2s ease; user-select: none;
}
.page-ceremonies .chip:hover { transform: translateY(-1px); background: rgba(255,183,3,.12); }
.page-ceremonies .chip.active {
    background: linear-gradient(135deg, rgba(255,183,3,.30), rgba(251,113,133,.18));
    border-color: rgba(251,113,133,.18);
}

.page-ceremonies .section { padding: 26px 0 84px; }
.page-ceremonies .sectionHead { justify-content: space-between; }
.page-ceremonies .title { font-family: "Fraunces", ui-serif, Georgia, serif; font-size: 34px; font-weight: 650; margin: 0; letter-spacing: -.2px; }
.page-ceremonies .sub { margin: 8px 0 0; color: var(--muted); line-height: 1.65; max-width: 78ch; font-size: 14px; }

.page-ceremonies .grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; align-items: stretch; }
.page-ceremonies .card { height: 100%; display: flex; flex-direction: column; }
.page-ceremonies .stack { display: flex; flex-direction: column; gap: 18px; height: 100%; }

.page-ceremonies .row {
    display: flex; gap: 12px; align-items: flex-start; padding: 12px;
    border-radius: 22px; border: 1px solid var(--line);
    background: rgba(255,183,3,.10); margin-top: 12px;
}
.page-ceremonies .row:nth-child(3) { background: rgba(251,113,133,.10); }
.page-ceremonies .row:nth-child(4) { background: rgba(125,211,252,.10); }
.page-ceremonies .row b { display: block; margin-bottom: 2px; font-size: 15px; }
.page-ceremonies .row span { display: block; color: rgba(26,26,26,.70); font-size: 13px; line-height: 1.45; }

.page-ceremonies .pkgGrid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
.page-ceremonies .pkg {
    border-radius: 22px; border: 1px solid var(--line);
    background: rgba(255,253,249,.72); padding: 12px;
    transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease; cursor: pointer;
}
.page-ceremonies .pkg:hover { transform: translateY(-1px); box-shadow: 0 16px 34px rgba(0,0,0,.10); border-color: rgba(26,26,26,.14); }
.page-ceremonies .pkgTop { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.page-ceremonies .pkgName { font-weight: 650; font-size: 14px; }
.page-ceremonies .tag {
    padding: 6px 10px; border-radius: var(--pill); border: 1px solid var(--line);
    background: rgba(255,255,255,.65); font-size: 12px; color: rgba(26,26,26,.72); white-space: nowrap;
}
.page-ceremonies .pkgDesc { margin-top: 6px; color: rgba(26,26,26,.70); font-size: 13px; line-height: 1.45; }
.page-ceremonies .bul { margin: 10px 0 0; padding: 0 0 0 18px; color: rgba(26,26,26,.68); font-size: 13px; line-height: 1.55; }
.page-ceremonies .bul li { margin: 6px 0; }

.page-ceremonies .acc { margin-top: 12px; border-radius: 22px; border: 1px solid var(--line); background: rgba(255,253,249,.72); overflow: hidden; }
.page-ceremonies .accBtn {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    gap: 10px; padding: 12px 14px; border: 0; background: transparent;
    cursor: pointer; font-weight: 650; font-size: 14px; color: rgba(26,26,26,.86);
}
.page-ceremonies .accBtn:hover { background: rgba(255,183,3,.10); }
.page-ceremonies .chev {
    width: 34px; height: 34px; border-radius: 18px; border: 1px solid var(--line);
    display: grid; place-items: center; background: rgba(255,255,255,.70); transition: transform .2s ease;
}
.page-ceremonies .accBody { padding: 0 14px 14px; color: rgba(26,26,26,.72); font-size: 13px; line-height: 1.6; display: none; }
.page-ceremonies .acc.open .accBody { display: block; }
.page-ceremonies .acc.open .chev { transform: rotate(180deg); }

.page-ceremonies .otherGrid { align-items: stretch; }
.page-ceremonies .otherLeft { display: flex; flex-direction: column; }
.page-ceremonies .otherRight { height: 100%; }

.page-ceremonies .miniCta {
    margin-top: auto; padding: 14px; border-radius: 22px;
    border: 1px solid rgba(26,26,26,.10); background: rgba(255,183,3,.10);
    display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: center;
}
.page-ceremonies .miniTitle { font-weight: 650; margin-bottom: 2px; }
.page-ceremonies .miniText { color: rgba(26,26,26,.70); font-size: 13px; line-height: 1.4; }
.page-ceremonies .miniCtaAction { display: flex; justify-content: flex-end; }

.page-ceremonies .faqGrid { grid-template-columns: 1fr; }
.page-ceremonies .includedGrid { align-items: stretch; }
.page-ceremonies .includedRight { height: 100%; display: grid; grid-template-rows: auto 1fr; gap: 18px; min-height: 0; }
.page-ceremonies .notesCard { display: flex; flex-direction: column; }
.page-ceremonies .notesText { margin: 0; line-height: 1.65; }
.page-ceremonies .notesCta { margin-top: 16px; padding-top: 6px; }
.page-ceremonies .contactCard { min-height: 0; display: flex; flex-direction: column; justify-content: center; }
.page-ceremonies .contactText { margin: 0; line-height: 1.7; }

#weddings .grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
#weddings .grid > .card { height: 100%; display: flex; flex-direction: column; min-height: 0; }
#weddings .leftBlocks { margin-top: 10px; display: grid; gap: 10px; }
#weddings .pkg.featurePkg { cursor: default; padding: 10px 12px; border-radius: 20px; }
#weddings .pkg.featurePkg:hover { transform: none; box-shadow: none; border-color: var(--line); }
#weddings .pkgTop.featureTop { align-items: center; gap: 10px; margin-bottom: 4px; }
#weddings .iconPill {
    width: 38px; height: 38px; border-radius: 14px;
    display: grid; place-items: center; border: 1px solid var(--line);
    background: rgba(255,255,255,.72); font-size: 16px; flex: 0 0 auto;
}
#weddings .featurePkg .pkgDesc { margin-top: 4px; color: rgba(26,26,26,.70); font-size: 12.75px; line-height: 1.4; }
#weddings .featureBul { margin: 6px 0 0; padding: 0 0 0 16px; color: rgba(26,26,26,.68); font-size: 12.75px; line-height: 1.4; }
#weddings .featureBul li { margin: 3px 0; }
#weddings .card > p { line-height: 1.62; }

/* ── PAGE: CERTIFICATIONS ── */
.page-certifications .pageHead { padding: 56px 0 18px; }
.page-certifications .headCard { background: #fff; border-radius: var(--r2); box-shadow: var(--shadow2); padding: 34px; }
.page-certifications h1 { font-family: "Fraunces", serif; font-size: 46px; margin: 0 0 10px; }
.page-certifications .lead { color: rgba(26,26,26,.74); }
.page-certifications .section { padding: 26px 0 84px; }
.page-certifications .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.page-certifications .card { background: #fff; cursor: pointer; padding: 0; }
.page-certifications .thumb { width: 100%; height: 220px; object-fit: cover; }
.page-certifications .meta { padding: 14px 16px; }
.page-certifications .title { font-weight: 650; margin: 0 0 6px; font-size: 14px; font-family: inherit; letter-spacing: normal; }
.page-certifications .desc { font-size: 12px; color: rgba(26,26,26,.66); }

.page-certifications .modal {
    position: fixed; inset: 0; background: rgba(0,0,0,.52);
    display: none; align-items: center; justify-content: center; z-index: 999;
}
.page-certifications .modal.open { display: flex; }
.page-certifications .modalPanel { width: min(980px, 100%); background: #fff; border-radius: 28px; overflow: hidden; }
.page-certifications .modalTop { display: flex; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid #eee; }
.page-certifications .modalImg { width: 100%; max-height: 78vh; object-fit: contain; }

.page-certifications footer {
    background: transparent; backdrop-filter: none;
    border-top: 1px solid rgba(26,26,26,.08);
}
.page-certifications .footerGrid { grid-template-columns: 1.2fr .8fr; }

/* ── PAGE: CONTACT ── */
.page-contact .hero { padding: 58px 0 28px; }
.page-contact .panel {
    background: rgba(255,255,255,.78); border: 1px solid rgba(26,26,26,.10);
    border-radius: var(--r2); box-shadow: var(--shadow2); position: relative; overflow: hidden;
}
.page-contact .panel::before {
    content: ""; position: absolute; inset: -1px; pointer-events: none;
    background:
        radial-gradient(520px 300px at 10% 14%, rgba(255,183,3,.24), transparent 60%),
        radial-gradient(520px 300px at 92% 20%, rgba(251,113,133,.16), transparent 60%),
        radial-gradient(520px 340px at 62% 110%, rgba(125,211,252,.14), transparent 60%);
    opacity: .95;
}
.page-contact .heroCopy {
    padding: 32px 32px 28px; opacity: 0; transform: translateY(10px);
    animation: in .7s ease forwards; position: relative;
}

.page-contact .contactWrap { padding: 18px 0 80px; }
.page-contact .contactGrid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 18px; align-items: start; }

.page-contact .infoRow { display: flex; flex-direction: column; gap: 14px; margin-top: 10px; }
.page-contact .infoItem {
    padding: 12px; border-radius: 22px;
    border: 1px solid rgba(26,26,26,.10); background: rgba(255,253,249,.72);
}
.page-contact .infoItem .label { font-size: 12px; color: rgba(26,26,26,.55); margin-bottom: 4px; }
.page-contact .infoItem .value { font-weight: 650; font-size: 14px; }

.page-contact form { display: grid; gap: 12px; margin-top: 10px; }
.page-contact input, .page-contact textarea {
    width: 100%; padding: 12px 14px; border-radius: 14px;
    border: 1px solid rgba(26,26,26,.18); background: rgba(255,255,255,.78);
    font-family: inherit; font-size: 14px; outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.page-contact input:focus, .page-contact textarea:focus {
    border-color: rgba(251,113,133,.45); box-shadow: 0 0 0 6px rgba(251,113,133,.14);
}
.page-contact textarea { min-height: 130px; resize: vertical; }
.page-contact .formActions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 2px; }
.page-contact .note { margin-top: 10px; color: rgba(26,26,26,.62); font-size: 13px; line-height: 1.55; }

.page-contact footer { background: transparent; backdrop-filter: none; }
.page-contact .footerRow {
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    color: rgba(26,26,26,.60); font-size: 12px; line-height: 1.5;
}

/* ── RESPONSIVE ── */
@media (max-width: 980px) {
    .links { display: none; }
    .burger { display: inline-flex; }
    .footerGrid { grid-template-columns: 1fr; }
    .footerLinks { justify-content: flex-start; }

    h1 { font-size: 44px; }

    .page-index .statsBar { grid-template-columns: 1fr 1fr; }
    .page-index .layout { grid-template-columns: 1fr; }
    .page-index .galleryGrid { grid-template-columns: 1fr; }

    .page-about .heroGrid { grid-template-columns: 1fr; }
    .page-about .grid2 { grid-template-columns: 1fr; }
    .page-about .statGrid { grid-template-columns: 1fr; }
    .page-about .photoMeta { grid-template-columns: 1fr; }

    .page-ceremonies .grid { grid-template-columns: 1fr; }
    .page-ceremonies .miniCta { grid-template-columns: 1fr; }
    .page-ceremonies .miniCtaAction { justify-content: flex-start; }
    #weddings .grid { grid-template-columns: 1fr; }
    #weddings .leftBlocks { gap: 12px; }
    #weddings .pkg.featurePkg { padding: 12px; }
    #weddings .iconPill { width: 44px; height: 44px; font-size: 18px; }
    #weddings .featurePkg .pkgDesc, #weddings .featureBul { font-size: 13px; line-height: 1.45; }
    #weddings .featureBul li { margin: 5px 0; }

    .page-certifications .grid { grid-template-columns: 1fr 1fr; }
    .page-certifications .footerGrid { grid-template-columns: 1fr; }

    .page-contact .contactGrid { grid-template-columns: 1fr; }
    .page-contact .heroCopy { padding: 24px 22px 20px; }
}

@media (max-width: 640px) {
    .navCtas { display: none; }
}

@media (max-width: 620px) {
    .page-certifications .grid { grid-template-columns: 1fr; }
    .page-certifications .navCtas { display: none; }
}

@media (max-width: 520px) {
    h1 { font-size: 36px; }
    .nav .inner { gap: 10px; }
    .brand { min-width: 0; }
    .wrap { width: calc(100% - 28px); }

    .page-index .headerCard { padding: 24px 22px 20px; }
    .page-index .statsBar { grid-template-columns: 1fr; }
    .page-index .gCard, .page-index .gImg { min-height: 260px; }
    .page-index .gSmall, .page-index .gSmall .gImg { min-height: 180px; }

    .page-about .heroCopy { padding: 24px 22px 20px; }

    .page-ceremonies .headCard { padding: 24px 22px 20px; }
}
