:root {
  --navy: #081426;
  --blue: #183f4a;
  --accent: #FE9D1B;
  --gold: var(--accent);
  --gold-soft: #f4d891;
  --cream: #fbfaf7;
  --mist: #e9f3f3;
  --sand: #f4efe5;
  --clay: #d85f45;
  --ink: #081426;
  --muted: #5f6c7a;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img,
iframe {
  max-width: 100%;
}

img {
  display: block;
}

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

.skip-link,
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
  z-index: 100;
  width: auto;
  height: auto;
  clip: auto;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--gold);
  color: var(--navy);
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 14px;
  left: 0;
  width: 100%;
  padding: 0 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(8, 20, 38, 0.78);
  color: var(--white);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 950;
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 950;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  border-radius: 999px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 850;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links .current-menu-item a {
  background: var(--white);
  color: var(--navy);
}

.nav-give,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 950;
}

.nav-give,
.primary {
  background: var(--gold);
  color: var(--navy);
}

.secondary {
  background: var(--white);
  color: var(--navy);
}

.ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  padding: 11px 15px;
  font-weight: 950;
}

.menu-toggle-lines {
  display: grid;
  gap: 5px;
  width: 22px;
}

.menu-toggle-lines span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.hero-media,
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.hero video.hero-media {
  object-fit: cover;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
}

.hero-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: mcciHeroSlide 20s infinite;
}

@keyframes mcciHeroSlide {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  8%,
  25% {
    opacity: 0.82;
  }
  33%,
  100% {
    opacity: 0;
    transform: scale(1.06);
  }
}

.hero::after,
.page-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 20, 38, 0.92), rgba(8, 20, 38, 0.34)),
    linear-gradient(0deg, rgba(8, 20, 38, 0.72), rgba(8, 20, 38, 0.05));
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.72fr;
  align-items: end;
  gap: 46px;
  padding: 150px 0 58px;
}

.eyebrow,
.kicker {
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  padding: 9px 14px;
  color: var(--gold-soft);
}

.small {
  font-size: 11px;
}

h1,
h2,
h3 {
  letter-spacing: -0.018em;
}

h1 {
  max-width: 900px;
  margin: 24px 0 0;
  font-size: clamp(52px, 8vw, 112px);
  line-height: 0.92;
}

h2 {
  margin: 10px 0 0;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.02;
}

h3 {
  margin: 8px 0 0;
  font-size: 24px;
}

.lead,
.hero-copy {
  max-width: 680px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 20px;
  line-height: 1.7;
}

.muted {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.glass {
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.17);
  padding: 24px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px);
}

.glass h2 {
  font-size: 26px;
}

.glass p:not(.kicker) {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 22px 0;
}

.countdown div {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  padding: 14px 8px;
  text-align: center;
}

.countdown strong,
.countdown span {
  display: block;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--navy);
  font-weight: 950;
}

.text-link.light {
  color: var(--white);
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 42px 0;
}

.quick-actions a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 94px;
  border-radius: 28px;
  background: var(--white);
  padding: 18px;
  box-shadow: 0 18px 46px rgba(8, 20, 38, 0.08);
  font-weight: 950;
}

.quick-actions span,
.time-dot {
  display: grid;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 950;
}

.section,
.content-section {
  padding: 86px 0;
}

.section-head {
  max-width: 780px;
}

.section-head.center {
  margin: 0 auto;
  text-align: center;
}

.row-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.two-col,
.split,
.article-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: start;
}

.split {
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
}

.stack {
  display: grid;
  gap: 16px;
}

.service-card,
.content-card,
.side-panel {
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(8, 20, 38, 0.08);
}

.service-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  padding: 24px;
}

.time-dot {
  width: 66px;
  height: 66px;
  background: var(--gold);
  color: var(--navy);
}

.tint {
  background: var(--mist);
}

.sand {
  background: var(--sand);
}

.dark {
  background: var(--navy);
  color: var(--white);
}

.dark .muted {
  color: rgba(255, 255, 255, 0.72);
}

.image-panel {
  height: 520px;
  overflow: hidden;
  border-radius: 36px;
}

.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.stats div {
  border-radius: 24px;
  background: var(--white);
  padding: 22px;
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  color: var(--navy);
  font-size: 36px;
}

.stats span {
  margin-top: 5px;
  color: var(--muted);
}

.card-grid,
.content-grid,
.sermon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 38px;
}

.content-grid,
.sermon-grid {
  grid-template-columns: repeat(2, 1fr);
}

.image-card,
.event-card,
.story-card,
.sermon-card {
  overflow: hidden;
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(8, 20, 38, 0.08);
}

.image-card img,
.event-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.image-card > div,
.event-card > div,
.content-card,
.story-card,
.sermon-card > div:last-child {
  padding: 24px;
}

.card-placeholder {
  min-height: 240px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 32px;
  background:
    linear-gradient(rgba(8, 20, 38, 0.2), rgba(8, 20, 38, 0.6)),
    url("https://images.unsplash.com/photo-1493225457124-a3eb161ffa5f?auto=format&fit=crop&w=1300&q=82") center / cover;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame.compact,
.video-frame.sermon-single {
  background-color: var(--navy);
}

.play-mark {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 950;
}

.event-rail {
  display: flex;
  gap: 18px;
  margin-top: 36px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.event-rail .event-rail {
  margin-top: 0;
}

.event-rail .event-card {
  min-width: 330px;
}

.hub-embed {
  width: 100%;
  overflow: hidden;
  border-radius: 32px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(8, 20, 38, 0.08);
}

.hub-embed iframe {
  display: block;
  width: 100%;
  min-height: 720px;
  border: 0;
}

.story-card p {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.6;
}

.story-card strong {
  display: block;
  margin-top: 18px;
  color: var(--muted);
}

.heritage-band {
  background: #b8a883;
  color: var(--white);
}

.heritage-band .kicker,
.heritage-band h2,
.heritage-band p {
  color: var(--white);
}

.leader-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.leader-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(8, 20, 38, 0.08);
  text-align: center;
}

.leader-card img,
.leader-placeholder {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: linear-gradient(135deg, #f3f5f7, #dfe6ea);
}

.leader-card div:last-child {
  padding: 20px;
}

.leader-card h3 {
  color: #2878c8;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.leader-card p {
  color: var(--muted);
  font-size: 14px;
}

.newsletter {
  display: flex;
  max-width: 560px;
  gap: 8px;
  margin-top: 30px;
  border-radius: 999px;
  background: var(--white);
  padding: 8px;
  box-shadow: 0 18px 46px rgba(8, 20, 38, 0.08);
}

.newsletter input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0 18px;
  font: inherit;
  outline: 0;
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feed-grid img {
  aspect-ratio: 1;
  border-radius: 28px;
  object-fit: cover;
}

.feed-grid img:nth-child(even) {
  transform: translateY(28px);
}

.cta {
  background: var(--blue);
  color: var(--white);
  padding: 72px 0;
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.page-hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: end;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  padding: 160px 0 72px;
}

.page-hero .shell {
  position: relative;
  z-index: 2;
}

.article-body {
  max-width: 820px;
  font-size: 18px;
  line-height: 1.8;
}

.article-body img {
  border-radius: 24px;
}

.side-panel {
  padding: 28px;
}

.site-footer {
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  padding: 92px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.35fr) 0.75fr 0.85fr 0.85fr;
  gap: clamp(34px, 5vw, 84px);
  align-items: start;
}

.footer-intro {
  max-width: 520px;
}

.footer-logo-link {
  display: inline-flex;
  margin-bottom: 34px;
}

.footer-logo-img {
  width: min(var(--footer-logo-width, 240px), 100%);
  height: auto;
  object-fit: contain;
}

.site-footer h2 {
  margin: 0 0 24px;
  color: var(--white);
  font-size: var(--footer-heading-size, 18px);
  line-height: 1.1;
}

.site-footer p,
.site-footer a,
.footer-links a {
  color: rgba(255, 255, 255, 0.74);
  font-size: var(--footer-body-size, 16px);
  line-height: 1.75;
}

.footer-intro p {
  margin: 0;
  font-size: var(--footer-intro-size, 17px);
  line-height: 1.65;
}

.footer-links {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--accent);
}

.footer-contact p {
  margin: 0 0 14px;
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 78px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 30px;
}

.footer-bottom p {
  margin: 0;
  font-size: calc(var(--footer-body-size, 16px) - 2px);
  line-height: 1.5;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    flex-wrap: wrap;
    border-radius: 28px;
  }

  .nav-links {
    display: none;
    width: 100%;
    order: 4;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    display: flex;
  }

  .nav-give {
    margin-left: auto;
  }

  .hero-grid,
  .two-col,
  .split,
  .article-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quick-actions,
  .card-grid,
  .content-grid,
  .sermon-grid,
  .leader-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 140px;
  }

  h1 {
    font-size: 56px;
  }

  .image-panel {
    height: 380px;
  }

  .row-head,
  .cta-row,
  .newsletter,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-header {
    top: 8px;
  }

  .site-nav {
    padding: 10px;
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  .service-card {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }
}

/* Final sharper rectangular logo-system overrides */
:root {
  --navy: #071b49;
  --blue: #0a5f9f;
  --accent: #FE9D1B;
  --gold: var(--accent);
  --gold-soft: #bffaff;
  --cream: #f7f8fa;
  --mist: #eef4f6;
  --sand: #ffffff;
  --clay: #c98a24;
  --ink: #07172e;
  --muted: #667085;
  --white: #ffffff;
}

.site-nav {
  border-radius: 8px;
  background: rgba(3, 17, 47, 0.9);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 70px rgba(3, 17, 47, 0.34);
}

.brand strong {
  display: block;
  font-size: 23px;
  letter-spacing: 0.12em;
}

.brand-wordmark {
  display: none;
  width: 132px;
  height: auto;
  filter: drop-shadow(0 0 14px rgba(191, 250, 255, 0.2));
}

.brand small {
  margin-top: 5px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.brand-copy {
  min-width: 0;
}

.nav-links a,
.button,
.nav-give,
.menu-toggle {
  border-radius: 6px;
}

.nav-give,
.primary {
  background: var(--accent);
  color: #03112f;
}

.nav-give:hover,
.primary:hover {
  filter: brightness(0.96);
}

.secondary {
  border: 1px solid rgba(254, 157, 27, 0.55);
}

.hero::after,
.page-hero::after {
  background:
    linear-gradient(90deg, rgba(3, 17, 47, 0.97), rgba(3, 17, 47, 0.72) 56%, rgba(3, 17, 47, 0.46)),
    linear-gradient(0deg, rgba(3, 17, 47, 0.72), rgba(3, 17, 47, 0.04));
}

.hero-media,
.hero-bg {
  opacity: 0.9;
}

.eyebrow {
  border: 0;
  border-radius: 2px;
  background: transparent;
  padding: 0;
  color: var(--gold-soft);
}

.kicker {
  color: var(--gold);
}

.glass {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.glass::before {
  display: block;
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  border-radius: 4px;
  background: url("../img/mcci-logo-icon-white.png") center / cover no-repeat;
  content: "";
}

.button,
.nav-give,
.quick-actions a,
.glass,
.service-card,
.content-card,
.side-panel,
.image-panel,
.stats div,
.image-card,
.event-card,
.story-card,
.sermon-card,
.video-frame,
.hub-embed,
.leader-card,
.feed-grid img,
.newsletter {
  border-radius: 8px;
}

.nav-links a,
.menu-toggle,
.time-dot,
.quick-actions span,
.countdown div,
.play-mark {
  border-radius: 4px;
}

.quick-actions a,
.service-card,
.content-card,
.side-panel,
.stats div,
.image-card,
.event-card,
.story-card,
.sermon-card,
.hub-embed,
.leader-card {
  box-shadow: 0 18px 50px rgba(3, 17, 47, 0.08);
}

.time-dot,
.quick-actions span {
  background: var(--navy);
  color: var(--white);
}

.tint {
  background: var(--mist);
}

.sand {
  background: var(--white);
}

.dark,
.site-footer {
  background: #03112f;
}

.cta {
  background: var(--navy);
}

.quick-actions {
  display: none;
}

.quickbar {
  position: relative;
  z-index: 4;
  margin-top: -34px;
  margin-bottom: 34px;
}

.quickbar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 30px 90px rgba(3, 17, 47, 0.16);
}

.quick-info {
  display: block;
  min-height: 126px;
  padding: 26px;
  border-right: 1px solid rgba(7, 27, 73, 0.12);
  background: var(--white);
}

.quick-info:last-child {
  border-right: 0;
}

.quick-info span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.quick-info strong {
  display: block;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.hub-promo {
  padding: 26px 0 42px;
}

.hub-promo-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  border: 1px solid rgba(7, 27, 73, 0.12);
  border-radius: 8px;
  background: var(--white);
  padding: 30px;
  box-shadow: 0 18px 50px rgba(3, 17, 47, 0.08);
}

.hub-promo-card h2 {
  max-width: 760px;
  font-size: clamp(28px, 3vw, 44px);
}

.hub-promo-card .muted {
  max-width: 760px;
  margin-top: 14px;
}

@media (max-width: 980px) {
  .site-nav {
    border-radius: 8px;
  }

  .quickbar-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-info:nth-child(2) {
    border-right: 0;
  }

  .hub-promo-card {
    grid-template-columns: 1fr;
  }
}

/* WordPress dropdown menu support */
.nav-links li {
  position: relative;
}

.nav-links .menu-item-has-children {
  display: flex;
  align-items: center;
}

.nav-links .menu-item-has-children > a::after {
  content: "⌄";
  margin-left: 8px;
  color: currentColor;
  font-size: 12px;
  line-height: 1;
}

.submenu-toggle {
  display: none;
}

.nav-links .sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 70;
  display: grid;
  min-width: 230px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(3, 17, 47, 0.98);
  box-shadow: 0 24px 70px rgba(3, 17, 47, 0.34);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-links .sub-menu .sub-menu {
  top: -8px;
  left: calc(100% + 8px);
}

.nav-links li:hover > .sub-menu,
.nav-links li:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-links .sub-menu a {
  display: flex;
  width: 100%;
  justify-content: space-between;
  border-radius: 6px;
  padding: 11px 12px;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
}

.nav-links .sub-menu a:hover,
.nav-links .sub-menu .current-menu-item > a {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

@media (max-width: 980px) {
  .nav-links .menu-item-has-children {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: stretch;
  }

  .nav-links .menu-item-has-children > a::after {
    content: "";
    margin: 0;
  }

  .submenu-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    margin: 4px 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    cursor: pointer;
    font: inherit;
    font-weight: 950;
  }

  .nav-links .sub-menu,
  .nav-links .sub-menu .sub-menu {
    position: static;
    grid-column: 1 / -1;
    display: none;
    min-width: 0;
    margin: 0 0 6px 14px;
    padding: 4px 0 4px 10px;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-links .submenu-open > .sub-menu {
    display: grid;
  }

  .nav-links li:hover > .sub-menu,
  .nav-links li:focus-within > .sub-menu {
    transform: none;
  }

  .nav-links .sub-menu a {
    white-space: normal;
  }
}

@media (max-width: 620px) {
  .quickbar {
    margin-top: -20px;
  }

  .quickbar-grid {
    grid-template-columns: 1fr;
  }

  .quick-info {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(7, 27, 73, 0.12);
  }

  .quick-info:last-child {
    border-bottom: 0;
  }
}

/* Homepage parity with approved square mockup */
.hero {
  min-height: 94vh;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
  min-height: 94vh;
  padding: 158px 0 78px;
}

.hero-mark {
  position: absolute;
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: 54px;
  z-index: 1;
  width: min(420px, 38vw);
  opacity: 0.16;
  filter: grayscale(0.35) drop-shadow(0 34px 70px rgba(0, 0, 0, 0.28));
}

.hero-service-panel {
  position: relative;
  z-index: 2;
}

.hero-service-panel h2 {
  display: none;
}

.white-section {
  background: var(--white);
}

.navy-section {
  background:
    radial-gradient(circle at 84% 8%, rgba(26, 166, 176, 0.08), transparent 30%),
    #03112f;
  color: var(--white);
}

.navy-section .muted,
.navy-section .section-head p {
  color: rgba(255, 255, 255, 0.68);
}

.section-head.row-head {
  max-width: none;
}

.row-head > p,
.row-head > .muted {
  max-width: 520px;
}

.intro-copy {
  margin-top: 22px;
}

.dark-kicker {
  color: var(--navy);
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.value {
  border: 1px solid rgba(7, 27, 73, 0.12);
  border-radius: 6px;
  background: var(--white);
  padding: 22px;
}

.value i {
  display: block;
  width: 36px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 3px;
  background: var(--gold);
}

.value b {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
}

.value p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.image-stack {
  position: relative;
  min-height: 520px;
}

.photo {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(3, 17, 47, 0.16);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-main {
  height: 460px;
}

.photo-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  height: 240px;
  border: 10px solid var(--cream);
}

.ministry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.ministry {
  min-height: 265px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(3, 17, 47, 0.08);
}

.ministry-image {
  height: 132px;
  background: linear-gradient(135deg, #061233, #103a66);
}

.ministry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ministry-body {
  padding: 22px;
}

.ministry-body p {
  color: var(--muted);
  font-size: 14px;
}

.event-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 20px;
  margin-top: 34px;
}

.feature-event {
  display: grid;
  align-content: end;
  min-height: 430px;
  padding: 28px;
  border-radius: 8px;
  background:
    linear-gradient(rgba(3, 17, 47, 0.2), rgba(3, 17, 47, 0.86)),
    url("https://images.unsplash.com/photo-1511632765486-a01980e01a18?auto=format&fit=crop&w=1000&q=84") center / cover;
}

.hub-feature-event {
  background-position: center;
  background-size: cover;
}

.feature-event h3 {
  margin-top: 16px;
}

.feature-event .button {
  margin-top: 18px;
}

.feature-event .muted {
  color: rgba(255, 255, 255, 0.78);
}

.date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  border-radius: 4px;
  background: var(--white);
  color: var(--navy);
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
}

.tag {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 28px;
  border-radius: 4px;
  padding: 0 10px;
  background: rgba(26, 166, 176, 0.14);
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-list {
  display: grid;
  gap: 14px;
}

.hub-events:empty {
  display: flex;
  min-height: 160px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.hub-events:empty::before {
  content: "More upcoming events will appear here.";
  color: rgba(255, 255, 255, 0.72);
}

.event-list-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.16);
}

.event-list-card .date {
  margin: 0;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.media-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 20px;
  margin-top: 34px;
}

.media-video {
  min-height: 438px;
  aspect-ratio: auto;
}

.play-overlay {
  position: absolute;
  left: 32px;
  bottom: 32px;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  align-items: center;
  color: var(--white);
}

.media-side {
  display: grid;
  gap: 16px;
}

.media-card {
  padding: 22px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: none;
}

.media-card .muted {
  font-size: 15px;
}

.giving-visit {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
}

.giving-card,
.visit-card {
  padding: 34px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(3, 17, 47, 0.16);
}

.impact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 28px 0;
}

.impact div,
.visit-row div {
  border-radius: 6px;
  background: rgba(7, 27, 73, 0.06);
  padding: 18px;
}

.impact strong {
  display: block;
  color: var(--navy);
  font-size: 28px;
}

.visit-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.visit-row div {
  border: 1px solid rgba(7, 27, 73, 0.12);
  background: var(--white);
}

.cta-box {
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  padding: 56px;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}

.cta-inner p:not(.kicker) {
  max-width: 680px;
  margin-top: 18px;
}

@media (max-width: 980px) {
  .site-header {
    top: 10px;
    padding: 0 10px;
  }

  .site-nav {
    padding: 10px;
  }

  .event-layout,
  .media-grid,
  .giving-visit,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .ministry-grid,
  .values {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-mark {
    right: -48px;
    bottom: 24px;
    width: 320px;
    opacity: 0.2;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 36px, 560px);
  }

  .site-header {
    top: 12px;
    padding: 0 12px;
  }

  .site-nav {
    min-height: 66px;
    border-radius: 12px;
    gap: 8px;
    padding: 8px 10px;
    flex-wrap: wrap;
  }

  .brand {
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
    order: 1;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
  }

  .brand strong {
    display: none;
  }

  .brand-wordmark {
    display: block;
    width: min(104px, 26vw);
  }

  .nav-give {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 42px;
    order: 2;
    margin-left: auto;
    padding: 10px 13px;
    font-size: 13px;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 42px;
    width: 42px;
    min-height: 42px;
    order: 3;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: #061b3d;
    color: var(--white);
    padding: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: stretch;
    padding: 180px 0 44px;
  }

  .hero-grid > div:first-child {
    max-width: 100%;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(48px, 15vw, 70px);
    line-height: 0.95;
  }

  .lead {
    max-width: 20ch;
    font-size: 24px;
    line-height: 1.45;
  }

  .actions {
    display: grid;
    gap: 14px;
    max-width: 320px;
  }

  .actions .button {
    width: 100%;
  }

  .glass {
    width: 100%;
    max-width: none;
    padding: 24px;
  }

  .glass::before {
    width: 64px;
    height: 64px;
  }

  .hero-service-panel {
    justify-self: auto;
  }

  .hero-service-panel p:not(.kicker) {
    font-size: 20px;
    line-height: 1.55;
  }

  .quickbar {
    margin-top: 0;
  }

  .quickbar-grid {
    grid-template-columns: 1fr;
  }

  .quick-info {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(7, 27, 73, 0.12);
    padding: 22px;
  }

  .quick-info:last-child {
    border-bottom: 0;
  }

  .quick-info strong {
    font-size: 26px;
  }

  .hub-promo-card {
    padding: 24px;
  }

  .ministry-grid,
  .values,
  .impact,
  .visit-row {
    grid-template-columns: 1fr;
  }

  .photo-small {
    position: relative;
    width: 86%;
    margin: -84px auto 0;
  }

  .event-list-card {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 34px 24px;
  }
}
