/* Omega Fire Ministries Aberdeen — Power House */
:root {
  --navy: #13246b;
  --navy-deep: #0e1b52;
  --navy-ink: #0b1640;
  --royal: #1f3fae;
  --gold: #e2b340;
  --gold-soft: #f0cd6e;
  --cream: #faf6ef;
  --cream-2: #f3ede2;
  --ink: #1b2340;
  --muted: #5d6478;
  --line: #e6dfd1;
  --white: #ffffff;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 27, 82, 0.08);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0; color: inherit; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1em; height: 1em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--royal);
  padding-bottom: 14px;
  margin-bottom: 18px;
  position: relative;
}
.eyebrow::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 2px; background: var(--gold); }
.eyebrow.center::after { left: 50%; transform: translateX(-50%); }
.on-dark .eyebrow, .eyebrow.gold { color: var(--gold); }
.section-title { font-size: clamp(30px, 4vw, 44px); }
.section-title em { font-style: italic; color: var(--royal); }
.lead { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 4px;
  font-family: var(--sans); font-weight: 500; font-size: 15px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy-ink); }
.btn-gold:hover { background: var(--gold-soft); box-shadow: 0 8px 22px rgba(226,179,64,.35); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.04); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-royal { background: var(--royal); color: #fff; box-shadow: 0 8px 20px rgba(31,63,174,.25); }
.btn-royal:hover { background: #2a4cc4; }
.btn-outline { border-color: var(--line); color: var(--royal); background: #fff; }
.btn-outline:hover { border-color: var(--royal); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--royal); font-weight: 500; font-size: 15px; }
.link-arrow:hover { gap: 12px; }
.on-dark .link-arrow, .link-arrow.gold { color: var(--gold); }
.link-arrow, .btn { transition: gap .2s ease, transform .2s ease, background .2s ease; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(14, 27, 82, 0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; color: #fff; }
.brand img { width: 52px; height: 40px; object-fit: cover; border-radius: 3px; background: #fff; }
.brand-text { border-left: 1px solid rgba(255,255,255,.3); padding-left: 14px; line-height: 1.15; }
.brand-name { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .22em; }
.brand-sub { display: block; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: #fff; font-size: 14.5px; font-weight: 400; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links .btn { color: var(--navy-ink); padding: 10px 20px; font-size: 14px; }
.nav-links .btn:hover { color: var(--navy-ink); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 28px; cursor: pointer; padding: 6px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: #fff; overflow: hidden; padding: 120px 0 80px;
  background: var(--navy-deep);
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,27,82,.9) 0%, rgba(19,36,107,.72) 45%, rgba(19,36,107,.45) 100%); }
.hero .container { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(42px, 6.6vw, 82px); font-weight: 400; margin-bottom: 28px; }
.hero h1 em { display: block; font-style: italic; color: var(--gold); }
.hero p { max-width: 560px; font-size: 18px; color: rgba(255,255,255,.88); margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 28px; font-size: 14px; color: rgba(255,255,255,.8); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .icon { color: var(--gold); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(120deg, var(--navy-deep), var(--navy) 60%, #1a2f86);
  padding: 170px 0 90px;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: var(--hero-img); background-size: cover; background-position: center; opacity: .12; }
.page-hero .watermark {
  position: absolute; right: -10px; top: 70px; font-family: var(--serif); font-style: italic;
  font-size: clamp(120px, 18vw, 230px); line-height: 1; color: rgba(255,255,255,.06); pointer-events: none; white-space: nowrap;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); max-width: 720px; margin-bottom: 22px; }
.page-hero p { max-width: 640px; font-size: 17px; color: rgba(255,255,255,.85); margin-bottom: 26px; }
.scripture { border-left: 2px solid var(--gold); padding-left: 14px; font-family: var(--serif); font-style: italic; font-size: 18px; color: rgba(255,255,255,.9); }
.scripture cite { font-style: normal; font-size: 14px; color: rgba(255,255,255,.6); margin-left: 4px; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 110px 0; }
.section-sm { padding: 70px 0; }
.bg-cream-2 { background: var(--cream-2); }
.bg-white { background: #fff; }
.on-dark { background: var(--navy); color: #fff; }
.on-dark .lead, .on-dark p { color: rgba(255,255,255,.8); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.center { text-align: center; }
.center .lead { max-width: 560px; margin: 16px auto 0; }

/* Welcome */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.split .lead { font-size: 16px; }
.quote-inline { border-left: 2px solid var(--gold); padding: 4px 0 4px 16px; margin: 26px 0; font-family: var(--serif); font-style: italic; font-size: 22px; }
.quote-inline small { display: block; font-family: var(--sans); font-style: normal; font-size: 13px; color: var(--muted); margin-top: 4px; }
.arch-wrap { position: relative; }
.arch { border-radius: 999px 999px 18px 18px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-badge {
  position: absolute; left: -20px; bottom: -24px; background: var(--navy); color: #fff;
  padding: 20px 22px; border-radius: 4px; max-width: 220px; box-shadow: var(--shadow);
  font-family: var(--serif); font-size: 19px; line-height: 1.25;
}
.arch-badge .icon { color: var(--gold); font-size: 20px; display: block; margin-bottom: 10px; }

/* Cards */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 26px 26px 6px 6px;
  padding: 30px 24px; box-shadow: 0 2px 0 rgba(0,0,0,.02); position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .day { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: #b98f27; margin-bottom: 10px; }
.card h3 { font-size: 24px; margin-bottom: 10px; }
.card .time { display: flex; align-items: center; gap: 8px; color: var(--royal); font-size: 14px; font-weight: 500; margin-bottom: 14px; }
.card p { font-size: 14.5px; color: var(--muted); margin: 0; }
.corner::before { content: ""; position: absolute; left: 12px; top: 12px; width: 18px; height: 18px; border-left: 2px solid var(--gold); border-top: 2px solid var(--gold); opacity: .8; }

/* Carousel */
.carousel { position: relative; max-width: 900px; margin: 0 auto; }
.carousel-viewport { overflow: hidden; border-radius: 6px; box-shadow: 0 20px 50px rgba(0,0,0,.35); aspect-ratio: 16 / 9; background: #0b1640; }
.carousel-track { display: flex; height: 100%; transition: transform .6s cubic-bezier(.6,.05,.3,1); }
.slide { position: relative; flex: 0 0 100%; height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-caption { position: absolute; inset: auto 0 0 0; padding: 60px 26px 24px; background: linear-gradient(transparent, rgba(5,12,40,.85)); color: #fff; }
.slide-caption h3 { font-size: 26px; }
.slide-caption p { margin: 2px 0 0; font-size: 14px; color: rgba(255,255,255,.85); }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 20px; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(4px); }
.carousel-btn:hover { background: rgba(255,255,255,.32); }
.carousel-btn.prev { left: 14px; } .carousel-btn.next { right: 14px; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.dots button { width: 10px; height: 4px; border-radius: 2px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: width .3s, background .3s; padding: 0; }
.dots button.active { width: 26px; background: var(--gold); }

/* Leaders */
.leaders { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.leader { display: grid; grid-template-columns: 180px 1fr; gap: 26px; align-items: start; }
.leader img { width: 180px; height: 220px; object-fit: cover; border-radius: 90px 90px 6px 6px; box-shadow: var(--shadow); }
.leader h3 { font-size: 26px; }
.leader .with { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 17px; }
.leader .role { font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: #b98f27; margin: 8px 0 12px; }
.leader p { font-size: 14.5px; color: var(--muted); }

/* Partner band */
.partner {
  background: radial-gradient(ellipse at 70% 40%, rgba(60,90,200,.35), transparent 60%), linear-gradient(120deg, var(--navy-deep), var(--navy));
  color: #fff; padding: 90px 0;
}
.partner .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.partner h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 14px; }
.partner p { color: rgba(255,255,255,.82); max-width: 520px; margin: 0; }
.partner .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--navy-ink); color: rgba(255,255,255,.8); padding: 80px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.1fr 1.1fr; gap: 40px; }
.site-footer .brand { margin-bottom: 20px; }
.site-footer h4 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .24em; color: var(--gold); text-transform: uppercase; padding-bottom: 12px; margin-bottom: 20px; position: relative; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--gold); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer li .icon { color: var(--gold); margin-top: 4px; }
.site-footer a:hover { color: var(--gold); }
.site-footer .fb { color: var(--gold); display: inline-flex; gap: 8px; align-items: center; margin-top: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 60px; padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255,255,255,.55); }

/* About */
.charity-box { background: var(--cream-2); border: 1px solid var(--line); border-radius: 6px; padding: 24px; margin-top: 28px; }
.charity-box h3 { display: flex; align-items: center; gap: 10px; font-size: 22px; margin-bottom: 10px; }
.charity-box h3 .icon { color: var(--royal); }
.charity-box p { font-size: 14px; color: var(--muted); }
.photo-caption { text-align: center; font-size: 13px; color: var(--muted); margin-top: 14px; }
.belief { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 4px; padding: 28px 22px; }
.belief .icon { color: var(--gold); font-size: 24px; margin-bottom: 18px; }
.belief h3 { font-size: 22px; margin-bottom: 12px; color: #fff; }
.belief p { font-size: 14px; color: rgba(255,255,255,.75); margin: 0; }
.big-quote { max-width: 760px; margin: 60px auto 0; border-left: 2px solid var(--gold); padding-left: 20px; font-family: var(--serif); font-style: italic; font-size: 24px; }
.big-quote small { display: block; font-family: var(--sans); font-style: normal; font-size: 13px; color: rgba(255,255,255,.6); margin-top: 8px; }
.cta-center h2 { font-size: clamp(30px, 4vw, 42px); max-width: 560px; margin: 0 auto 32px; }
.cta-center .actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* Timeline (weekly activities) */
.timeline { max-width: 820px; margin: 0 auto; position: relative; padding-left: 60px; }
.timeline::before { content: ""; position: absolute; left: 13px; top: 10px; bottom: 10px; width: 2px; background: var(--gold); opacity: .55; }
.t-item { position: relative; margin-bottom: 28px; }
.t-item::before { content: ""; position: absolute; left: -54px; top: 12px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--gold); background: var(--cream); box-shadow: inset 0 0 0 3px var(--cream), inset 0 0 0 8px var(--gold); }
.t-item .card { border-radius: 40px 40px 6px 6px; padding: 30px 32px; }
.t-item .card h3 { font-size: 30px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 20px; color: var(--royal); font-size: 14px; font-weight: 500; margin-bottom: 14px; }
.meta-row span { display: inline-flex; align-items: center; gap: 7px; }
.info-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 820px; margin: 50px auto 0; padding-left: 60px; }
.info-card { padding: 32px 26px; border-radius: 4px; }
.info-card.dark { background: var(--navy); color: #fff; }
.info-card.light { background: #fff; border: 1px solid var(--line); }
.info-card .icon { font-size: 24px; color: var(--gold); margin-bottom: 18px; }
.info-card.light .icon { color: var(--royal); }
.info-card h3 { font-size: 24px; margin-bottom: 12px; }
.info-card p { font-size: 14px; }
.info-card.dark p { color: rgba(255,255,255,.8); }
.info-card.light p { color: var(--muted); }

/* Gallery */
.masonry { columns: 3; column-gap: 20px; }
.m-item { break-inside: avoid; margin-bottom: 20px; background: #fff; border-radius: 30px 30px 4px 4px; overflow: hidden; box-shadow: 0 4px 18px rgba(14,27,82,.07); cursor: zoom-in; transition: transform .25s, box-shadow .25s; border: 1px solid var(--line); }
.m-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.m-item img { width: 100%; }
.m-item .cap { padding: 16px 18px 18px; }
.m-item h3 { font-size: 19px; }
.m-item p { font-size: 13px; color: var(--muted); margin: 2px 0 0; }
.note-box { background: var(--cream-2); border: 1px solid var(--line); border-radius: 6px; padding: 40px 24px; text-align: center; margin-top: 30px; }
.note-box .serif { font-family: var(--serif); font-style: italic; font-size: 22px; margin-bottom: 8px; }
.note-box p { color: var(--muted); font-size: 14px; max-width: 460px; margin: 0 auto 22px; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,10,35,.92); display: none; align-items: center; justify-content: center; padding: 30px; flex-direction: column; gap: 14px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 80vh; max-width: 92vw; border-radius: 4px; }
.lightbox .lb-cap { color: #fff; text-align: center; font-family: var(--serif); font-size: 22px; }
.lightbox .lb-close { position: absolute; top: 18px; right: 22px; background: none; border: 0; color: #fff; font-size: 34px; cursor: pointer; }

/* Give */
.pull-quote { max-width: 760px; margin: 0 auto; border-left: 2px solid var(--gold); padding-left: 22px; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.45; }
.pull-quote small { display: block; font-family: var(--sans); font-style: normal; font-size: 13px; color: var(--muted); margin-top: 10px; }
.give-card { text-align: center; padding: 34px 22px; }
.give-card .circle { width: 48px; height: 48px; border-radius: 50%; background: var(--cream-2); color: #b98f27; display: grid; place-items: center; margin: 0 auto 16px; font-size: 22px; }
.give-card h3 { font-size: 22px; }
.copy-field { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 4px; padding: 14px 16px; margin-bottom: 12px; }
.copy-field small { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.copy-field strong { font-weight: 500; color: #fff; }
.copy-btn { background: none; border: 0; color: rgba(255,255,255,.7); cursor: pointer; font-size: 18px; padding: 4px; }
.copy-btn:hover { color: var(--gold); }
.dashed { border: 1px dashed rgba(226,179,64,.5); border-radius: 4px; padding: 18px; font-size: 13.5px; color: rgba(255,255,255,.8); }
.dashed .icon { color: var(--gold); font-size: 18px; margin-bottom: 8px; display: block; }
.dashed a { color: var(--gold); font-weight: 500; }
.panel { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 4px; padding: 30px 26px; }
.panel strong { color: #fff; }
.small-note { font-size: 13px; color: var(--muted); max-width: 640px; margin: 0 auto; text-align: center; }
.small-note a { color: var(--royal); font-weight: 600; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.c-list { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 20px; }
.c-list li { display: flex; gap: 16px; align-items: flex-start; }
.c-ico { width: 40px; height: 40px; border-radius: 50%; background: var(--cream-2); color: var(--royal); display: grid; place-items: center; font-size: 17px; flex: none; }
.c-list strong { display: block; font-weight: 500; }
.c-list a, .c-list span { font-size: 14px; color: var(--muted); }
.c-list a { color: var(--royal); }
.form-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 40px 40px 6px 6px; padding: 30px 26px; }
.form-card h3 { font-size: 24px; }
.form-card .sub { font-family: var(--serif); font-style: italic; color: var(--muted); margin-bottom: 18px; }
.field { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--cream); font: inherit; font-size: 14px; margin-bottom: 12px; color: var(--ink); }
.field:focus { outline: 2px solid rgba(31,63,174,.25); border-color: var(--royal); }
textarea.field { min-height: 110px; resize: vertical; }
.form-hint { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.map { border-radius: 6px; overflow: hidden; border: 1px solid var(--line); height: 640px; margin-top: 26px; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Chat assistant */
.chat-fab { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--gold); color: var(--navy-ink); font-size: 24px; display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 26px rgba(0,0,0,.25); transition: transform .2s; }
.chat-fab:hover { transform: scale(1.06); }
.chat-fab.open { background: var(--navy); color: #fff; }
.chat-panel { position: fixed; right: 22px; bottom: 92px; z-index: 60; width: min(370px, calc(100vw - 32px)); height: min(500px, calc(100vh - 140px)); background: var(--cream); border-radius: 8px; box-shadow: 0 24px 60px rgba(0,0,0,.3); display: none; flex-direction: column; overflow: hidden; }
.chat-panel.open { display: flex; }
.chat-head { background: var(--navy); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.chat-head .av { width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--navy-ink); display: grid; place-items: center; }
.chat-head strong { font-family: var(--serif); font-weight: 500; font-size: 17px; display: block; line-height: 1.1; }
.chat-head small { font-size: 12px; color: rgba(255,255,255,.7); }
.chat-head button { margin-left: auto; background: none; border: 0; color: #fff; font-size: 20px; cursor: pointer; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 6px; font-size: 13.5px; line-height: 1.5; }
.msg.bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; }
.msg.user { background: var(--royal); color: #fff; align-self: flex-end; }
.msg a { color: var(--royal); font-weight: 500; text-decoration: underline; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 12.5px; color: var(--royal); cursor: pointer; }
.chips button:hover { border-color: var(--royal); }
.chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: #fff; }
.chat-form input { flex: 1; border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; font: inherit; font-size: 14px; }
.chat-form button { width: 40px; border: 0; border-radius: 4px; background: var(--royal); color: #fff; cursor: pointer; display: grid; place-items: center; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .leaders { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 76px; left: 0; right: 0; background: var(--navy-deep);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 24px 24px;
    transform: translateY(-120%); transition: transform .3s ease; box-shadow: 0 20px 30px rgba(0,0,0,.25);
  }
  .nav-links.open { transform: none; }
  .nav-links li { width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links a { display: block; padding: 14px 0; font-size: 16px; }
  .nav-links li:last-child { border: 0; padding-top: 16px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .masonry { columns: 2; }
  .grid-2, .info-pair { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .arch-badge { left: 12px; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .brand-name { font-size: 11px; letter-spacing: .16em; }
  .brand-sub { font-size: 15px; }
  .brand img { width: 44px; height: 34px; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .leader { grid-template-columns: 1fr; }
  .leader img { width: 160px; height: 200px; }
  .timeline, .info-pair { padding-left: 34px; }
  .timeline::before { left: 4px; }
  .t-item::before { left: -37px; }
  .t-item .card { padding: 26px 22px; border-radius: 28px 28px 6px 6px; }
  .t-item .card h3 { font-size: 25px; }
  .hero { padding-top: 110px; }
  .map { height: 380px; }
  .page-hero { padding: 140px 0 70px; }
}

/* Five-up schedule grid and social links */
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(226,179,64,.45); color: var(--gold); font-size: 17px; transition: background .2s, color .2s; }
.socials a:hover { background: var(--gold); color: var(--navy-ink); }
.site-footer .socials a:hover { color: var(--navy-ink); }

/* Slideshow: show whole photo over a soft blurred copy so portrait shots are not cropped */
.carousel-viewport { aspect-ratio: 4 / 3; }
.slide { overflow: hidden; background: #0b1640; }
.slide-bg { position: absolute; inset: -30px; background-size: cover; background-position: center; filter: blur(28px) brightness(.55); transform: scale(1.1); }
.slide img { position: relative; object-fit: contain; }
.slide-caption { z-index: 2; }
@media (max-width: 600px) { .carousel-viewport { aspect-ratio: 4 / 5; } }

/* Leader photos: gentle corners so no heads are trimmed */
.leader img { border-radius: 14px; object-position: center top; }

/* Slides are pre-cropped to 4:3 around faces: fill the frame */
.carousel-viewport { aspect-ratio: 4 / 3 !important; }
.slide img { object-fit: cover !important; }
.slide-bg { display: none; }
@media (max-width: 600px) {
  .slide-caption { padding: 34px 14px 10px; }
  .slide-caption h3 { font-size: 17px; }
  .slide-caption p { font-size: 12px; }
  .carousel-btn { width: 34px; height: 34px; font-size: 17px; }
}
