/* ICCFV · landing nova (Editorial reverente)
   Cormorant Garamond nos títulos · Cinzel nos rótulos · Inter no texto.
   Topo, Hero e rodapé em azul quase preto; seções do meio alternam claro e escuro. */

:root {
  --night: #00070d;
  --night-2: #000509;
  --deep: #000d18;
  --deep-2: #00121e;
  --navy: #00243a;
  --primary: #0076a8;
  --primary-hi: #0089c2;
  --primary-lo: #005c84;
  --sky: #8ccdea;
  --sky-2: #cfe9f8;
  --mist: #b9d3e4;
  --mist-2: #d7e7f1;
  --paper: #f2f8fc;
  --white: #ffffff;
  --ink: #00243a;
  --ink-2: #3c5a6d;
  --line: #c2d9e6;
  --gold: #e0a940;

  --f-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-label: "Cinzel", Georgia, serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --sec-y: clamp(72px, 10vw, 140px);
  --r: 8px;
  --r-lg: 12px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--night); color: var(--white); font: 400 16px/1.65 var(--f-body); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--sky); }
a:hover { color: var(--white); }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.light :focus-visible { outline-color: var(--primary); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: var(--r); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sec { padding-top: var(--sec-y); padding-bottom: var(--sec-y); }
.light { background: var(--paper); color: var(--ink); }
.white { background: var(--white); color: var(--ink); }

/* ---------- Tipografia ---------- */
.eyebrow { margin: 0; font: 600 13px/1.3 var(--f-label); letter-spacing: .3em; text-transform: uppercase; color: var(--sky); }
.light .eyebrow, .white .eyebrow { color: var(--primary); }
.h2 { margin: 0; font-family: var(--f-display); line-height: .98; letter-spacing: -.015em; text-wrap: balance; }
.h2 .l { display: block; font-weight: 300; font-size: clamp(2rem, 4.2vw, 3.6rem); }
.h2 .b { display: block; font-weight: 700; font-size: clamp(2.3rem, 5vw, 4.4rem); }
.h2 em, .em { font-style: italic; font-weight: 600; color: var(--sky); }
.light .h2 em, .white .h2 em { color: var(--primary); }
.lead { margin: 0; font-size: clamp(1.02rem, .5vw + .95rem, 1.2rem); line-height: 1.7; color: var(--mist-2); max-width: 580px; }
.light .lead, .white .lead { color: var(--ink-2); }
.head { display: flex; flex-direction: column; gap: 16px; max-width: 780px; }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: var(--r); border: 1px solid transparent; font: 600 15px/1 var(--f-body); text-decoration: none; cursor: pointer; transition: transform .3s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .3s; -webkit-tap-highlight-color: transparent; }
.btn .ar { transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .ar { transform: translateX(5px); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-hi); color: var(--white); box-shadow: 0 12px 28px -10px rgba(0,137,194,.7); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { color: var(--white); border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--white); color: var(--primary); border-color: var(--primary); }
.btn-ink { background: var(--deep-2); color: var(--white); }
.btn-ink:hover { background: var(--navy); color: var(--white); }
.btn-lg { min-height: 54px; padding: 0 28px; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn[disabled] { cursor: default; }

/* ---------- Topo ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(0,7,13,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(140,205,234,.12); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px 26px; font-size: 14px; font-weight: 500; }
.nav a:not(.btn) { color: var(--mist); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; position: relative; transition: color .2s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 2px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: var(--r); border: 1px solid rgba(140,205,234,.3); background: transparent; color: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span { position: relative; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease); }
.menu-btn span::before { transform: translateY(-6px); }
.menu-btn span::after { transform: translateY(6px); }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: rotate(45deg); }
.menu-open .menu-btn span::after { transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 40; background: rgba(0,5,9,.97); display: flex; flex-direction: column; padding: 108px var(--gutter) 40px; gap: 8px; visibility: hidden; opacity: 0; transition: opacity .35s ease, visibility 0s linear .35s; overflow-y: auto; }
.mobile-menu a { color: var(--white); text-decoration: none; font: 600 clamp(2rem, 9vw, 2.8rem)/1.15 var(--f-display); min-height: 52px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(140,205,234,.14); opacity: 0; transform: translateY(16px); transition: opacity .4s ease, transform .5s var(--ease), color .2s; }
.mobile-menu a span { font: 600 11px var(--f-label); letter-spacing: .24em; color: var(--sky); text-transform: uppercase; }
.mobile-menu .btn { margin-top: 24px; font-family: var(--f-body); font-size: 16px; justify-content: center; border-bottom: 0; }
.menu-open .mobile-menu { visibility: visible; opacity: 1; transition: opacity .35s ease; }
.menu-open .mobile-menu a { opacity: 1; transform: none; }
.menu-open .mobile-menu a:nth-child(1) { transition-delay: .06s; } .menu-open .mobile-menu a:nth-child(2) { transition-delay: .1s; }
.menu-open .mobile-menu a:nth-child(3) { transition-delay: .14s; } .menu-open .mobile-menu a:nth-child(4) { transition-delay: .18s; }
.menu-open .mobile-menu a:nth-child(5) { transition-delay: .22s; } .menu-open .mobile-menu a:nth-child(6) { transition-delay: .26s; }
.menu-open .mobile-menu a:nth-child(7) { transition-delay: .3s; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background-color: var(--night); background-image: radial-gradient(55% 65% at 70% 45%, rgba(0,92,132,.32) 0%, rgba(0,7,13,0) 70%), radial-gradient(60% 50% at 0% 100%, rgba(0,36,58,.55) 0%, rgba(0,7,13,0) 70%); }
.hero .wrap { display: flex; flex-wrap: wrap-reverse; align-items: center; gap: 24px 56px; padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(64px, 8vw, 112px); }
.hero-text { flex: 999 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero-kicker { margin: 0; font: 600 13px var(--f-label); letter-spacing: .32em; text-transform: uppercase; color: var(--sky); }
.hero h1 { margin: 0; font-family: var(--f-display); line-height: .92; letter-spacing: -.02em; text-wrap: balance; }
.hero h1 .a { display: block; font-weight: 300; font-size: clamp(2.3rem, 5.6vw, 4.9rem); color: var(--mist-2); }
.hero h1 .b { display: block; font-weight: 700; font-size: clamp(3rem, 8.4vw, 7.6rem); }
.hero h1 .c { display: block; font-weight: 600; font-style: italic; font-size: clamp(3rem, 8.4vw, 7.6rem); color: var(--sky); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.verse { margin: 10px 0 0; max-width: 560px; display: flex; gap: 16px; align-items: flex-start; }
.verse .q { font: 700 64px/.7 var(--f-display); color: var(--primary); }
.verse blockquote { margin: 0; font: italic 500 20px/1.45 var(--f-display); color: var(--sky-2); }
.verse figcaption { margin-top: 8px; font: 600 12px var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: var(--sky); }
.hero-art { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; }
.hero-art .col-wrap { width: min(100%, 380px); }
.replay { margin: 8px auto 0; display: flex; }

/* coluna animada */
.col-svg { width: 100%; height: auto; display: block; overflow: visible; }
.col-svg g { transform-box: fill-box; }
.st-stone { fill: url(#cStone); } .st-pageL { fill: url(#cPageL); } .st-pageR { fill: url(#cPageR); }
.anim .a-ground { animation: cFade .9s .05s ease-out both; }
.anim .a-base2 { animation: cRise .75s .15s var(--ease) both; }
.anim .a-base1 { animation: cSet .7s .65s var(--ease) both; }
.anim .a-f { transform-origin: 50% 100%; animation: cGrow .9s var(--ease) both; }
.anim .a-f1 { animation-delay: 1.1s; } .anim .a-f2 { animation-delay: 1.22s; } .anim .a-f3 { animation-delay: 1.34s; } .anim .a-f4 { animation-delay: 1.46s; }
.anim .a-cap { animation: cSet .75s 2.15s var(--ease) both; }
.anim .a-beam { animation: cBeam 2.8s 2.5s ease-out both; }
.anim .a-book { animation: cFade 1.1s 3s ease-out both; }
.anim .a-halo { animation: cFade 1.2s 3.7s ease-out both; }
.anim .a-halo circle { animation: cBreath 6s 4.9s ease-in-out infinite; }
.anim .a-float { animation: cFloat 5s 4.7s ease-in-out infinite; }
.anim .a-spark circle { animation: cSpark 2.2s ease-in both; }
.anim .a-spark circle:nth-child(1) { animation-delay: 2.65s; } .anim .a-spark circle:nth-child(2) { animation-delay: 2.85s; }
.anim .a-spark circle:nth-child(3) { animation-delay: 3.05s; } .anim .a-spark circle:nth-child(4) { animation-delay: 3.25s; }
@keyframes cRise { 0% { clip-path: inset(100% 0 0 0); transform: translateY(24px); } 100% { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes cSet { 0% { opacity: 0; transform: translateY(-40px); } 65% { opacity: 1; transform: translateY(5px); } 82% { transform: translateY(-2px); } 100% { opacity: 1; transform: none; } }
@keyframes cGrow { 0% { transform: scaleY(0); } 70% { transform: scaleY(1.02); } 100% { transform: scaleY(1); } }
@keyframes cFade { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes cBeam { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: .22; } }
@keyframes cBreath { 0%, 100% { opacity: .8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }
@keyframes cFloat { 0%, 100% { transform: none; } 50% { transform: translateY(-5px); } }
@keyframes cSpark { 0% { opacity: 0; transform: translateY(-140px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(190px); } }
.a-halo circle { transform-box: fill-box; transform-origin: 50% 50%; }

/* ---------- Reveal ao rolar ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); }
.no-js [data-reveal], .reduced [data-reveal] { opacity: 1; transform: none; }
@keyframes rise { from { opacity: .001; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ---------- Nossa História (Home) ---------- */
.hist-top { display: flex; flex-wrap: wrap; gap: 56px 80px; align-items: center; }
.hist-photos { flex: 1 1 400px; min-width: 0; position: relative; padding-bottom: 56px; }
.hist-main { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 70px -40px rgba(0,36,58,.6); }
.hist-main img, .hist-second img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hist-main img { object-position: 30% 60%; transition: transform 1.4s var(--ease); }
.hist-main:hover img { transform: scale(1.05); }
.hist-second { position: absolute; right: -8px; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; border: 6px solid var(--paper); box-shadow: 0 30px 50px -30px rgba(0,36,58,.7); transition: transform .6s var(--ease); }
.hist-second:hover { transform: translateY(-6px) rotate(-1.5deg); }
.hist-badge { position: absolute; left: 0; top: 32px; background: var(--navy); color: var(--white); padding: 16px 22px; border-radius: 0 10px 10px 0; display: flex; flex-direction: column; }
.hist-badge b { font: italic 700 52px/.9 var(--f-display); color: var(--sky); }
.hist-badge span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--sky-2); }
.hist-text { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hist-text p.body { margin: 0; color: var(--ink-2); font-size: 18px; line-height: 1.75; }
.hist-quote { margin: 0; padding-left: 20px; border-left: 2px solid var(--primary); font: italic 500 22px/1.4 var(--f-display); color: var(--ink); }
.timeline { position: relative; margin-top: 72px; }
.timeline .line { position: absolute; top: 8px; left: 9px; right: 0; height: 2px; background: var(--primary); transform-origin: left center; transform: scaleX(0); }
.timeline.in .line { animation: tlLine 1.6s .2s var(--ease-io) forwards; }
@keyframes tlLine { to { transform: scaleX(1); } }
.timeline ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; position: relative; }
.timeline li { position: relative; display: flex; flex-direction: column; gap: 6px; padding-top: 34px; min-width: 0; }
.timeline .dot { position: absolute; top: 0; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 2px solid var(--primary); transition: transform .3s, background-color .3s; }
.timeline li:last-child .dot { background: var(--primary); box-shadow: 0 0 0 6px rgba(0,118,168,.18); }
.timeline li:hover .dot { transform: scale(1.25); background: var(--primary); }
.timeline .when { font: 600 11px var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: var(--primary); }
.timeline strong { font: 700 26px/1.05 var(--f-display); color: var(--ink); }
.timeline .txt { color: var(--ink-2); font-size: 14px; line-height: 1.55; }

/* ---------- Agenda (três portas) ---------- */
.agenda { background-color: var(--deep); background-image: linear-gradient(180deg, var(--navy) 0%, var(--deep) 55%); }
.addr-mini { margin: 0; max-width: 360px; color: var(--mist); display: flex; gap: 10px; }
.addr-mini svg { flex: none; margin-top: 3px; }
.doors { display: flex; gap: 14px; height: 580px; margin-top: 48px; }
.door { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--navy); flex: 1 1 0; min-width: 0; transition: flex-grow .85s var(--ease-io), box-shadow .5s; }
.door.is-open { flex-grow: 5; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(140,205,234,.35); }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 1s ease, transform 6s var(--ease); }
.door.is-open img { filter: none; transform: scale(1.06); }
.door .tint { position: absolute; inset: 0; background: #00406a; mix-blend-mode: multiply; opacity: .85; transition: opacity 1s ease; }
.door.is-open .tint { opacity: 0; }
.door .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,7,13,0) 30%, rgba(0,7,13,.55) 58%, rgba(0,7,13,.95) 100%); }
.door .closed { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 26px 0; transition: opacity .4s ease; }
.door.is-open .closed { opacity: 0; }
.door .vert { writing-mode: vertical-rl; transform: rotate(180deg); display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.door .vert .d { font: 600 13px var(--f-label); letter-spacing: .3em; text-transform: uppercase; color: var(--sky); }
.door .vert .t { font: italic 600 30px var(--f-display); color: var(--white); }
.door .open { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 8px; min-width: 280px; opacity: 0; transform: translateY(24px); transition: opacity .6s ease .25s, transform .8s var(--ease) .2s; }
.door.is-open .open { opacity: 1; transform: none; }
.door .badge { align-self: flex-start; display: none; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--r); background: var(--primary); color: var(--white); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.door.is-next .badge { display: inline-flex; }
.door .badge i { width: 8px; height: 8px; border-radius: 50%; background: #bfe6f7; box-shadow: 0 0 0 4px rgba(191,230,247,.25); animation: livePulse 1.8s ease-in-out infinite; }
@keyframes livePulse { 50% { box-shadow: 0 0 0 7px rgba(191,230,247,0); } }
.door .day { font: 600 13px var(--f-label); letter-spacing: .3em; text-transform: uppercase; color: var(--sky); }
.door h3 { margin: 0; font: 700 clamp(2.1rem, 3.6vw, 3.2rem)/1 var(--f-display); color: var(--white); }
.door p { margin: 0; color: var(--sky-2); font-size: 16px; }
.door .time { margin-top: 6px; font: italic 600 clamp(2.8rem, 5vw, 4.4rem)/.9 var(--f-display); color: var(--white); }
.door .tz { font-size: 12px; letter-spacing: .08em; color: var(--mist); }
.door .hit { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; border: 0; cursor: pointer; border-radius: var(--r-lg); }
.door .hit:focus-visible { outline-offset: -4px; }

/* ---------- Galeria ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { min-height: 44px; padding: 0 18px; border-radius: var(--r); font: 600 14px var(--f-body); cursor: pointer; border: 1px solid var(--line); background: var(--white); color: var(--ink); transition: background-color .25s, color .25s, border-color .25s; }
.tab:hover { border-color: var(--primary); }
.tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.gal-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; margin-bottom: 18px; }
.gal-count { font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.chevs { display: flex; gap: 10px; }
.chev { width: 48px; height: 48px; border-radius: var(--r); border: 1px solid var(--navy); background: var(--white); color: var(--navy); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .25s, color .25s, transform .25s, opacity .25s; }
.chev.next { background: var(--navy); color: var(--white); }
.chev:hover:not(:disabled) { transform: translateY(-2px); background: var(--primary); border-color: var(--primary); color: var(--white); }
.chev:disabled { opacity: .3; cursor: default; }
.gal-view { overflow: hidden; border-radius: var(--r-lg); --per: 4; }
.gal-track { display: flex; gap: 20px; transition: transform .8s var(--ease-io); touch-action: pan-y; }
.gcard { position: relative; display: block; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 3 / 4; background: var(--navy); color: var(--white); text-decoration: none; flex: 0 0 calc((100% - (var(--per) - 1) * 20px) / var(--per)); min-width: 0; transition: transform .5s var(--ease), box-shadow .5s; }
.gcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .7s ease, transform 1.4s var(--ease); }
.gcard .tint { position: absolute; inset: 0; background: #00406a; mix-blend-mode: multiply; opacity: .85; transition: opacity .7s ease; }
.gcard .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,7,13,0) 38%, rgba(0,7,13,.9) 100%); }
.gcard .body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; display: flex; flex-direction: column; gap: 4px; transform: translateY(34px); transition: transform .6s var(--ease); }
.gcard .meta { font: 600 11px var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: var(--sky); }
.gcard .name { font: 700 28px/1.05 var(--f-display); }
.gcard .rule { display: block; height: 2px; width: 28px; background: var(--sky); margin-top: 8px; transition: width .6s var(--ease); }
.gcard .cta { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; opacity: 0; transition: opacity .4s ease .1s; }
.gcard:hover, .gcard:focus-visible { transform: translateY(-6px); box-shadow: 0 26px 50px -26px rgba(0,36,58,.65); color: var(--white); }
.gcard:hover img, .gcard:focus-visible img { filter: none; transform: scale(1.08); }
.gcard:hover .tint, .gcard:focus-visible .tint { opacity: 0; }
.gcard:hover .body, .gcard:focus-visible .body { transform: none; }
.gcard:hover .rule, .gcard:focus-visible .rule { width: 100%; }
.gcard:hover .cta, .gcard:focus-visible .cta { opacity: 1; }
.gcard:focus-visible { outline-color: var(--primary); }
@media (hover: none) { .gcard img { filter: none; } .gcard .tint { opacity: 0; } .gcard .body { transform: none; } .gcard .cta { opacity: 1; } }

/* ---------- Doações ---------- */
.give { background: var(--deep-2); }
.give-grid { display: flex; flex-wrap: wrap; align-items: stretch; }
.give-photo { flex: 1 1 420px; min-width: 0; min-height: 380px; position: relative; background: var(--navy); }
.give-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.give-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,18,30,0) 55%, rgba(0,18,30,1) 100%), linear-gradient(180deg, rgba(0,18,30,0) 55%, rgba(0,18,30,.7) 100%); }
.give-photo figure { position: absolute; z-index: 1; left: clamp(20px, 4vw, 48px); right: clamp(20px, 4vw, 48px); bottom: clamp(20px, 4vw, 44px); margin: 0; max-width: 460px; }
.give-photo blockquote { margin: 0; font: italic 500 clamp(1.2rem, 1.6vw, 1.55rem)/1.35 var(--f-display); color: var(--white); text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.give-photo figcaption { margin-top: 10px; font: 600 12px var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: var(--sky); }
.give-text { flex: 1 1 560px; min-width: 0; padding: clamp(56px, 6vw, 88px) clamp(16px, 5vw, 72px); display: flex; flex-direction: column; gap: 22px; }
.give-stack { display: grid; }
.give-intro, .give-data { grid-area: 1 / 1; transition: opacity .5s ease, transform .7s var(--ease), visibility 0s linear .7s; }
.give-intro { display: flex; flex-direction: column; gap: 20px; transition-delay: .15s, .15s, 0s; }
.give-intro ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.give-intro li { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 1px solid rgba(140,205,234,.25); }
.give-intro li svg { color: var(--sky); }
.give-intro strong { font: 700 22px var(--f-display); }
.give-intro li span { color: var(--mist); font-size: 13px; line-height: 1.5; }
.give-data { align-self: start; padding: 18px; border-radius: var(--r-lg); border: 1px solid rgba(140,205,234,.3); background: rgba(0,36,58,.75); display: flex; flex-direction: column; gap: 14px; opacity: 0; visibility: hidden; transform: translateY(18px); }
.give-row { display: flex; gap: 16px; align-items: center; min-width: 0; opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .6s var(--ease); }
.give.is-open .give-intro { opacity: 0; visibility: hidden; transform: translateY(-18px); transition-delay: 0s, 0s, 0s; }
.give.is-open .give-data { opacity: 1; visibility: visible; transform: none; transition-delay: .15s, .15s, 0s; }
.give.is-open .give-row { opacity: 1; transform: none; }
.give.is-open .give-row:nth-child(1) { transition-delay: .35s; }
.give.is-open .give-row:nth-child(2) { transition-delay: .5s; }
.qr { position: relative; background: var(--white); padding: 7px; border-radius: var(--r); flex: none; overflow: hidden; }
.qr img { width: 92px; height: 92px; }
.qr .scan { position: absolute; left: 4px; right: 4px; top: 4px; height: 3px; border-radius: 2px; background: var(--primary); box-shadow: 0 0 12px 2px rgba(0,137,194,.7); opacity: 0; }
.give.is-open .qr .scan { animation: qrScan 1.4s .7s ease-in-out 2 both; }
@keyframes qrScan { 0% { top: 4px; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: calc(100% - 7px); opacity: 0; } }
.lbl { font: 600 10px var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--sky); }
.pix-key { font: 700 24px/1.1 var(--f-display); overflow-wrap: anywhere; }
.bank { margin: 0; padding-top: 12px; border-top: 1px solid rgba(140,205,234,.2); display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 8px 18px; font-size: 13px; }
.bank dd { margin: 2px 0 0; }
.give-toggle .plus { display: inline-flex; transition: transform .5s var(--ease); }
.give.is-open .give-toggle .plus { transform: rotate(45deg); }
.give.is-open .give-toggle { background: transparent; border-color: rgba(255,255,255,.4); }

/* ---------- Contato ---------- */
.contact-grid { display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: flex-start; }
.contact-intro { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.cform { flex: 999 1 520px; min-width: 0; padding: clamp(22px, 4vw, 40px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(0,36,58,.35); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ff { position: relative; }
.ff.full { grid-column: 1 / -1; }
.ff input, .ff textarea { width: 100%; min-height: 58px; padding: 24px 14px 8px; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper); font: 500 16px var(--f-body); color: var(--ink); outline: none; transition: border-color .25s, background-color .25s, box-shadow .3s; }
.ff textarea { min-height: 150px; resize: vertical; padding-top: 28px; display: block; }
.ff label { position: absolute; left: 15px; top: 19px; font: 500 15px var(--f-body); color: var(--ink-2); pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .25s; }
.ff input:focus + label, .ff input:not(:placeholder-shown) + label, .ff textarea:focus + label, .ff textarea:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.76); color: var(--primary); font-weight: 600; }
.ff:focus-within input, .ff:focus-within textarea { border-color: var(--primary); background: var(--white); box-shadow: 0 10px 26px -16px rgba(0,118,168,.7); }
.ff .bar { position: absolute; left: 8px; right: 8px; bottom: 0; height: 2px; border-radius: 2px; background: var(--primary); transform: scaleX(0); transition: transform .45s var(--ease); }
.ff:focus-within .bar { transform: scaleX(1); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.send-btn { min-height: 56px; padding: 0 30px; overflow: hidden; }
.send-btn .ic { display: inline-flex; transition: transform .35s var(--ease); }
.send-btn:hover .ic { transform: translate(3px, -3px) rotate(8deg); }
.send-btn.sending .ic { animation: fly 1.1s cubic-bezier(.55,0,.75,.2) both; }
@keyframes fly { 0% { transform: none; opacity: 1; } 30% { transform: translate(-4px, 4px); } 100% { transform: translate(60px, -40px) rotate(18deg); opacity: 0; } }
.send-btn .check { display: none; }
.send-btn.sent .ic { display: none; }
.send-btn.sent .check { display: inline-flex; }
.send-btn .check path { stroke-dasharray: 30; stroke-dashoffset: 30; }
.send-btn.sent .check path { animation: draw .6s .1s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-status { font-size: 14px; color: var(--ink); }
.form-status.err { color: #b42318; }
.form-status:not(:empty) { animation: rise .6s var(--ease) both; }

/* ---------- Visite-nos + redes ---------- */
.visit { background-color: var(--night); background-image: radial-gradient(60% 80% at 50% 0%, rgba(0,92,132,.22) 0%, rgba(0,7,13,0) 70%); }
.visit-grid { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; margin-top: 44px; }
.map-box { flex: 999 1 560px; min-width: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(140,205,234,.18); min-height: 480px; background: #03111d; }
.map-box .mapa-wrap { position: absolute; inset: 0; }
.map-card { position: absolute; left: 18px; right: 18px; bottom: 18px; max-width: 390px; padding: 20px 22px; border-radius: var(--r-lg); background: rgba(0,7,13,.86); border: 1px solid rgba(140,205,234,.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: translateY(20px); transition: opacity .8s ease 2.6s, transform .9s var(--ease) 2.6s; }
.map-box.in .map-card { opacity: 1; transform: none; }
.map-card .addr { display: flex; gap: 12px; font-size: 15px; line-height: 1.5; }
.map-card .addr svg { color: var(--sky); flex: none; margin-top: 2px; }
.map-card .addr small { display: block; font-size: 14px; color: var(--mist); }
.map-card .btns { display: flex; flex-wrap: wrap; gap: 10px; }
.side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.cultos-card { position: relative; overflow: hidden; padding: 22px 24px 12px; border-radius: var(--r-lg); background-color: var(--primary); background-image: radial-gradient(90% 120% at 100% 0%, rgba(140,205,234,.35) 0%, rgba(0,118,168,0) 60%), linear-gradient(160deg, var(--primary-hi) 0%, var(--primary-lo) 100%); }
.cultos-card .ttl { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font: 600 12px var(--f-label); letter-spacing: .26em; text-transform: uppercase; }
.cultos-card .row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.18); }
.cultos-card .row span { display: flex; flex-direction: column; }
.cultos-card .row .d { font: 600 11px var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: var(--sky-2); }
.cultos-card .row .n { font-size: 14px; }
.cultos-card .row b { font: italic 700 32px/1 var(--f-display); }
.contact-card { padding: 18px 22px; border-radius: var(--r-lg); border: 1px solid rgba(140,205,234,.18); background: var(--deep-2); display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: var(--mist-2); }
.contact-card span { display: flex; gap: 12px; align-items: center; overflow-wrap: anywhere; }
.contact-card svg { color: var(--sky); flex: none; }
.soc { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: var(--r-lg); border: 1px solid rgba(140,205,234,.18); background: var(--deep-2); color: var(--white); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.soc:hover { color: var(--white); transform: translateY(-4px); border-color: rgba(140,205,234,.45); box-shadow: 0 24px 48px -24px rgba(0,0,0,.7); }
.soc .ic { width: 48px; flex: none; display: flex; align-items: center; justify-content: center; transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.soc:hover .ic { transform: scale(1.12) rotate(-4deg); }
.soc .t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.soc .t b { font: 700 26px/1 var(--f-display); }
.soc .t span { color: var(--mist); font-size: 13px; }
.soc .ar { margin-left: auto; color: var(--sky); font-size: 18px; transition: transform .3s var(--ease); }
.soc:hover .ar { transform: translate(3px, -3px); }

/* mapa */
.mapa { width: 100%; height: 100%; display: block; }
.mapa path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.mapa .mp-pinbody { fill: #fff; stroke: none; filter: drop-shadow(0 6px 8px rgba(0,0,0,.5)); }
.mapa .mp-logo { fill: var(--navy); stroke: none; }
.mp-park path { fill: #0a2a33; stroke: none; }
.mp-sv path { stroke: #0e2638; stroke-width: 1.6; }
.mp-mi path { stroke: #163650; stroke-width: 3; }
.mp-ma path { stroke: #21496a; stroke-width: 5; }
.mp-tr path { stroke: #2c5c82; stroke-width: 7; }
.mp-mw path { stroke: #346b95; stroke-width: 9; }
.mp-church { stroke: var(--sky); stroke-width: 6; }
.mp-church-glow { stroke: var(--sky); stroke-width: 16; opacity: 0; filter: blur(6px); }
.mp-sv path, .mp-mi path, .mp-ma path, .mp-tr path, .mp-mw path, .mp-church { stroke-dasharray: 1; stroke-dashoffset: 1; }
.mp-park, .mp-glow, .mp-drop, .mp-lbl { opacity: 0; }
.mp-ring { fill: none; stroke: var(--sky); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: 50% 50%; }
.mp-lbl { font: 600 13px var(--f-body); fill: var(--sky-2); letter-spacing: .06em; }
.mp-attr { font: 500 10px var(--f-body); fill: #6f8ea3; }
.in .mp-sv path, .in .mp-mi path, .in .mp-ma path, .in .mp-tr path, .in .mp-mw path, .in .mp-church { animation: mpDraw 1.6s var(--ease-io) forwards; }
.in .mp-mw path, .in .mp-tr path { animation-delay: .1s; } .in .mp-ma path { animation-delay: .35s; } .in .mp-mi path { animation-delay: .6s; } .in .mp-sv path { animation-delay: .85s; }
.in .mp-church { animation-delay: 1.6s; animation-duration: 1s; }
.in .mp-church-glow { animation: mpFade 1s 2.2s ease forwards; }
.in .mp-park { animation: mpFade 1.2s .8s ease forwards; }
.in .mp-glow { animation: mpFade 1s 2.2s ease forwards; }
.in .mp-drop { animation: mpDrop .8s 2.4s cubic-bezier(.34,1.56,.64,1) forwards; }
.in .mp-ring.r1 { animation: mpRing 2.6s 3.1s ease-out infinite; } .in .mp-ring.r2 { animation: mpRing 2.6s 4.4s ease-out infinite; }
.in .mp-lbl { animation: mpFade .8s 2.9s ease forwards; }
@keyframes mpDraw { to { stroke-dashoffset: 0; } }
@keyframes mpFade { to { opacity: 1; } }
@keyframes mpDrop { 0% { opacity: 0; transform: translateY(-60px); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes mpRing { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(4.5); } }

/* ---------- Faixa convite ---------- */
.band { background-image: linear-gradient(120deg, var(--primary-lo) 0%, var(--primary) 60%, var(--primary-hi) 100%); }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
.band h2 { margin: 0; font-family: var(--f-display); line-height: 1; }
.band h2 .l { font-weight: 300; font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.band h2 em { font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.2rem); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--night-2); border-top: 1px solid rgba(140,205,234,.12); }
.site-footer .wrap { padding-top: 80px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 56px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 44px; }
.foot-brand { display: flex; flex-direction: column; gap: 18px; }
.foot-brand img { width: 190px; height: auto; }
.foot-brand p { margin: 0; color: var(--mist); font-size: 14px; }
.foot-brand .tag { font: italic 500 18px var(--f-display); color: var(--sky); }
.foot-soc { display: flex; gap: 10px; }
.foot-soc a { width: 44px; height: 44px; border-radius: var(--r); border: 1px solid rgba(140,205,234,.3); color: var(--white); display: flex; align-items: center; justify-content: center; transition: background-color .25s, border-color .25s, transform .25s; }
.foot-soc a:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-2px); }
.foot-col { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.foot-col h3 { margin: 0 0 10px; font: 600 12px var(--f-label); letter-spacing: .22em; text-transform: uppercase; color: var(--sky); }
.foot-col a { color: var(--mist-2); text-decoration: none; min-height: 34px; display: inline-flex; align-items: center; transition: color .2s, transform .2s; }
.foot-col a:hover { color: var(--white); transform: translateX(3px); }
.foot-col p { margin: 0 0 10px; color: var(--mist-2); }
.foot-col strong { color: var(--white); font-weight: 600; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(140,205,234,.12); font-size: 13px; color: #9fbfd3; }

/* ---------- Quem Somos ---------- */
.qs-hero { position: relative; overflow: hidden; background-color: var(--night); background-image: radial-gradient(55% 70% at 80% 40%, rgba(0,92,132,.3) 0%, rgba(0,7,13,0) 70%); }
.qs-hero .ghost { position: absolute; right: -40px; top: 40px; height: 120%; width: auto; fill: rgba(140,205,234,.07); pointer-events: none; animation: ghostIn 2s .2s var(--ease) both; }
@keyframes ghostIn { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
.qs-hero .wrap { position: relative; padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(80px, 10vw, 136px); display: flex; flex-direction: column; gap: 26px; }
.crumbs { font-size: 13px; color: var(--mist); display: flex; gap: 8px; align-items: center; }
.crumbs a { color: var(--mist); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.crumbs a:hover { color: var(--white); }
.qs-hero h1 { margin: 0; font-family: var(--f-display); line-height: .92; letter-spacing: -.02em; max-width: 900px; }
.qs-hero h1 .a { display: block; font-weight: 300; font-size: clamp(2.3rem, 5.6vw, 4.9rem); color: var(--mist-2); }
.qs-hero h1 .b { display: block; font-weight: 700; font-size: clamp(2.8rem, 7.6vw, 6.8rem); }
.qs-hero h1 .c { display: block; font-weight: 600; font-style: italic; font-size: clamp(2.8rem, 7.6vw, 6.8rem); color: var(--sky); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 900px; border-top: 1px solid rgba(140,205,234,.2); margin-top: 12px; }
.stats div { padding: 22px 20px 0 0; }
.stats b { display: block; font: 700 clamp(2.2rem, 4vw, 3rem)/1 var(--f-display); }
.stats em { font-style: normal; color: var(--sky); }
.stats span { font-size: 13px; color: var(--mist); }
.chapters .wrap { max-width: 1240px; display: flex; flex-direction: column; gap: clamp(72px, 9vw, 120px); }
.chapter { display: flex; flex-wrap: wrap; gap: 40px 72px; align-items: center; }
.chapter.rev { flex-wrap: wrap-reverse; flex-direction: row-reverse; }
.chapter .txt { flex: 1.3 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.chapter .num { display: flex; align-items: baseline; gap: 18px; }
.chapter .num b { font: italic 300 72px/.8 var(--f-display); color: var(--primary); }
.chapter .num span { font: 600 12px var(--f-label); letter-spacing: .26em; text-transform: uppercase; color: var(--primary); }
.chapter h2 { margin: 0; font-family: var(--f-display); line-height: 1; letter-spacing: -.015em; text-wrap: balance; }
.chapter h2 .l { font-weight: 300; font-size: clamp(1.9rem, 3.6vw, 3rem); }
.chapter h2 .b { font-weight: 700; font-size: clamp(2.1rem, 4vw, 3.4rem); }
.chapter p { margin: 0; color: var(--ink-2); font-size: 17px; line-height: 1.8; }
.chapter .pic { flex: 1 1 420px; min-width: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; position: relative; box-shadow: 0 34px 60px -38px rgba(0,36,58,.6); }
.chapter .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.chapter .pic:hover img { transform: scale(1.05); }
.pastora { background-color: var(--navy); background-image: radial-gradient(80% 90% at 100% 0%, rgba(0,118,168,.28) 0%, rgba(0,36,58,0) 60%), linear-gradient(180deg, var(--navy) 0%, var(--deep) 100%); }
.pastora .wrap { max-width: 1100px; display: flex; flex-direction: column; gap: 28px; }
.pastora .bigq { font: 700 120px/.5 var(--f-display); color: var(--primary); height: 50px; }
.pastora blockquote { margin: 0; font: italic 500 clamp(1.6rem, 3.2vw, 2.7rem)/1.3 var(--f-display); text-wrap: balance; }
.pastora .sign { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; }
.pastora .sign b { font: 700 40px/1 var(--f-display); color: var(--sky); }
.pastora .sign span { font: 600 12px var(--f-label); letter-spacing: .26em; text-transform: uppercase; color: var(--mist); }
.pastora p { margin: 0; max-width: 720px; color: var(--sky-2); }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.pcard { padding: 32px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); display: flex; flex-direction: column; gap: 12px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.pcard:hover { transform: translateY(-6px); border-color: var(--primary); box-shadow: 0 24px 48px -28px rgba(0,36,58,.5); }
.pcard b { font: italic 300 56px/.8 var(--f-display); color: var(--primary); }
.pcard h3 { margin: 0; font: 700 32px var(--f-display); }
.pcard p { margin: 0; color: var(--ink-2); }
.impact { background-color: var(--deep); background-image: linear-gradient(180deg, rgba(0,7,13,.84) 0%, rgba(0,13,24,.94) 100%), url("../img/historia-louvor.webp"); background-size: cover; background-position: center 30%; }
.icard { padding: 28px; border-radius: var(--r-lg); border: 1px solid rgba(140,205,234,.25); background: rgba(0,36,58,.6); display: flex; flex-direction: column; gap: 10px; transition: transform .35s var(--ease), border-color .35s; }
.icard:hover { transform: translateY(-6px); border-color: rgba(140,205,234,.5); }
.icard h3 { margin: 0; font: 700 28px var(--f-display); }
.icard p { margin: 0; color: var(--sky-2); font-size: 15px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .gal-view { --per: 3; }
}
@media (max-width: 900px) {
  .timeline ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline .line { display: none; }
  .doors { flex-direction: column; height: auto; }
  .door { flex: none; min-height: 92px; transition: min-height .7s var(--ease-io); }
  .door.is-open { min-height: 440px; flex-grow: 0; }
  .door .closed { align-items: center; justify-content: flex-start; padding: 0 22px; }
  .door .vert { writing-mode: horizontal-tb; transform: none; }
  .door .open { min-width: 0; }
  .cards3 { grid-template-columns: 1fr; }
  .gal-view { --per: 2; }
  .hero-art .col-wrap { width: min(70%, 300px); }
}
@media (max-width: 640px) {
  .site-header .wrap { min-height: 64px; }
  .brand img { height: 34px; }
  .mobile-menu { padding-top: 92px; }
  .hero .wrap { padding-top: 24px; }
  .hero-art .col-wrap { width: min(58%, 230px); }
  .hero-actions .btn { flex: 1 1 auto; }
  .verse blockquote { font-size: 18px; }
  .hist-photos { padding-bottom: 40px; }
  .hist-second { width: 50%; right: 0; }
  .give-intro ul { grid-template-columns: 1fr; gap: 10px; }
  .give-intro li { flex-direction: row; align-items: center; gap: 12px; padding-top: 10px; }
  .give-intro li strong { min-width: 74px; }
  .bank { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .give-row { flex-wrap: wrap; }
  .cform { grid-template-columns: 1fr; }
  .map-box { min-height: 520px; }
  .map-card { left: 12px; right: 12px; bottom: 12px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats { grid-template-columns: 1fr; }
  .stats div { padding-top: 16px; }
  .gal-bar { margin-top: 28px; }
  .chapter .num b { font-size: 56px; }
}
@media (max-width: 520px) { .gal-view { --per: 1.15; } }
@media (max-width: 400px) {
  .timeline ol { grid-template-columns: 1fr; }
  .tab { padding: 0 14px; }
  .hero h1 .b, .hero h1 .c { font-size: 2.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
