/* Editorial refinement: readable content, clear actions and the global mission. */
body { font-size: 16px; }
.site-nav { gap: 18px; }
.site-nav > a[data-nav] { font-size: 13px; min-height: 44px; display: flex; align-items: center; opacity: .85; }
.site-nav > a[data-nav]::after { bottom: 3px; }
.header-contact { font-size: 12px; min-height: 46px; padding-inline: 18px; }
.nav-socials { gap: 8px; margin-left: 0; }
.nav-socials a, .nav-socials a.nav-youth { width: 44px; height: 44px; }
.nav-socials .icon { width: 20px; height: 20px; }
.header-inner { padding-inline: 36px; gap: 22px; }
.hero { min-height: 860px; }
.hero-content { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(36px, 4vw, 80px); align-items: center; padding-top: clamp(170px, 19svh, 230px); }
.hero-introduction { min-width: 0; }
.hero h1 { font-size: clamp(68px, 6.2vw, 108px); }
.hero-description { font-size: 16px; line-height: 1.8; }
.hero-actions { flex-wrap: wrap; gap: 20px 28px; }
.button { font-size: 14px; border-radius: 999px; min-height: 54px; }
.hero-secondary { font-size: 12px; min-height: 44px; }
.hero-meeting { font-size: 12px; min-height: 48px; }
.hero-campaign > span:last-child { font-size: 10px; }
.video-control { width: 46px; height: 46px; }
.hero-mission { min-width: 0; padding: 8px 0 8px 30px; border-left: 1px solid #d2b68780; animation-delay: .25s; }
.mission-kicker { font-size: 11px; color: #d9c6a6; text-transform: uppercase; letter-spacing: .15em; font-weight: 600; }
.hero-mission h2 { font-family: var(--sans); font-size: clamp(30px, 3.05vw, 52px); letter-spacing: -.045em; line-height: 1.17; font-weight: 600; margin: 20px 0 24px; }
.hero-mission h2 span { color: #e2c9a1; }
.hero-mission > p:not(.mission-kicker) { font-size: 16px; line-height: 1.8; color: #dce2e8; max-width: 420px; }
.hero-mission strong { color: white; font-weight: 600; }
.hero-mission > p.mission-milestone { margin-top: 18px; font-size: 13px; color: #bbc9d3; }
.mission-link { display: inline-flex; gap: 18px; align-items: center; font-size: 13px; font-weight: 600; min-height: 46px; margin-top: 20px; border-bottom: 1px solid #d2b68775; transition: color .25s, gap .25s; }
.mission-link:hover { color: var(--gold); gap: 24px; }
.hero-shade { background: linear-gradient(90deg,#071722eb,#07172286 60%,#07172291),linear-gradient(0deg,#071722fa,transparent 70%); }
.welcome p:last-child, .church-copy p, .meetings-heading > p, .studies-heading > p, .sabbath-story-copy > p:not(.eyebrow), .study-copy > p:not(.eyebrow), .faq-intro > p:not(.eyebrow), .faq-list details p { font-size: 16px; line-height: 1.85; }
.welcome p:last-child { max-width: 610px; }
.study-copy > p:not(.eyebrow) { max-width: 420px; }
.faith-pillars p, .small-groups p:not(.eyebrow), .schedule-info p { font-size: 14px; line-height: 1.8; }
.faith-pillars h3, .schedule-info h4 { font-size: 15px; font-weight: 600; }
.eyebrow, .section-note { font-size: 11px; }
.text-link, .small-groups .text-link, .study-copy .subtle-link { font-size: 13px; min-height: 44px; }
.inline-note { font-size: 12px; }
.church-photo figcaption { font-size: 12px; }
.faq-list summary { font-size: 15px; padding-block: 24px; }
.faq-list details > div > a { font-size: 14px; min-height: 44px; }
.schedule article > a { width: 44px; height: 44px; }
.schedule-day > span, .schedule-time > span { font-size: 11px; }
/* A soft photographic backdrop lets mixed aspect ratios retain their full image. */
.gallery { border-radius: 12px; overflow: hidden; border: 1px solid #d9ddd9; }
.gallery-viewport { aspect-ratio: 4 / 4.3; background: #e6e4dc; }
.gallery-slide { overflow: hidden; }
.gallery-slide::before { content: ''; position: absolute; inset: -35px -35px 20px; background: var(--gallery-photo) center / cover; filter: blur(24px); opacity: .32; }
.gallery-slide::after { display: none; }
.gallery-slide img, .gallery-slide img[src="assets/classe-infantil-3.jpeg"] { position: absolute; top: 16px; left: 16px; width: calc(100% - 32px); height: calc(100% - 88px); object-fit: contain; object-position: center; background: transparent; }
.gallery-slide figcaption { left: 0; right: 0; bottom: 0; padding: 17px 22px; min-height: 68px; display: flex; align-items: center; color: var(--ink); font-size: 12px; line-height: 1.65; background: #f5f4eee8; }
.gallery-controls { min-height: 70px; padding: 12px 14px; gap: 6px; border-top: 1px solid #d9ddd9; }
.gallery-controls > button { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.gallery-controls .icon { width: 17px; height: 17px; }
.gallery-dots button { width: 28px; height: 40px; }
.gallery-dots button::before { width: 6px; height: 6px; }
.gallery-count { font-size: 11px; margin-right: 4px; white-space: nowrap; }
.youth-account { font-size: 14px; }
.youth-account > span { font-size: 12px; }
.youth-logo { width: 96px; height: 96px; }
address { font-size: 15px; }
address span, .visit-heading .text-link { font-size: 13px; }
.map-label { font-size: 13px; }
.map-label > span:last-child { font-size: 10px; }
.visit-note, .visit-note p { font-size: 13px; }
.footer-brand > span { font-size: 10px; letter-spacing: .12em; }
.footer-message > a, .footer-socials > a { font-size: 13px; min-height: 44px; }
.footer-socials > .eyebrow { font-size: 11px; }
.footer-bottom small, .footer-bottom > a { font-size: 11px; }
.js .reveal { transition-duration: .6s; }
@media (min-width: 1281px) and (max-width: 1450px) {
  .header-inner { padding-inline: 28px; gap: 16px; }
  .brand { width: 105px; }
  .site-nav { gap: 12px; }
  .header-contact { padding-inline: 13px; }
  .nav-socials { gap: 3px; }
}
@media (max-width: 1280px) {
  .site-nav { gap: 14px; }
  .site-nav > a[data-nav] { font-size: 18px; }
  .header-contact { font-size: 14px; padding-inline: 24px; }
  .hero h1 { font-size: clamp(66px, 7.2vw, 88px); }
}
@media (max-width: 900px) {
  .hero { height: auto; min-height: 100svh; max-height: none; }
  .hero-content { grid-template-columns: 1fr; gap: 46px; padding-top: 155px; }
  .hero h1 { font-size: clamp(60px, 10vw, 88px); }
  .hero-mission { max-width: 540px; padding-left: 24px; }
  .hero-mission h2 { font-size: clamp(32px, 5vw, 42px); }
  .hero-bottom { position: relative; bottom: auto; margin-top: 56px; padding-bottom: 28px; }
  .hero-campaign { display: none; }
  .hero-media video { opacity: .55; }
}
@media (max-width: 760px) {
  .header-inner { padding-inline: 22px; }
  .hero-content { padding-top: 145px; gap: 42px; }
  .hero-content .eyebrow { font-size: 9px; letter-spacing: .13em; margin-bottom: 25px; }
  .hero h1 { font-size: clamp(60px, 12vw, 78px); }
  .hero-description { font-size: 15px; }
  .hero-actions { gap: 14px; }
  .hero-mission { padding-left: 20px; }
  .hero-mission h2 { font-size: 34px; margin-block: 17px 20px; }
  .hero-mission > p:not(.mission-kicker) { font-size: 15px; }
  .hero-mission > p.mission-milestone { font-size: 13px; }
  .hero-meeting { font-size: 11px; gap: 12px; }
  .section-padding { padding-block: 72px; }
  .welcome { padding-block: 58px; }
  .welcome p:last-child, .church-copy p, .meetings-heading > p, .studies-heading > p, .sabbath-story-copy > p:not(.eyebrow), .study-copy > p:not(.eyebrow), .faq-intro > p:not(.eyebrow), .faq-list details p { font-size: 15px; }
  .faq-list summary { font-size: 14px; }
  .gallery-controls { padding: 10px; gap: 3px; }
  .gallery-dots button { width: 25px; }
  .gallery-count { font-size: 10px; letter-spacing: .05em; }
  .gallery-slide figcaption { font-size: 12px; padding-inline: 18px; }
  .schedule article { grid-template-columns: 1fr .7fr 44px; }
  .youth-logo { width: 88px; height: 88px; }
  .youth-link { gap: 16px; flex-wrap: nowrap; }
  .youth-account { font-size: 13px; letter-spacing: .1em; }
  .youth-account > span { font-size: 11px; }
  .youth-link .circle-arrow { width: 44px; height: 44px; }
  .map-label { font-size: 12px; }
  .map-label > span:last-child { font-size: 9px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-socials { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .footer-bottom small { max-width: 100%; }
}
@media (max-width: 380px) {
  .gallery-controls { padding-inline: 8px; gap: 2px; }
  .gallery-controls > button { width: 36px; height: 40px; }
  .gallery-dots button { width: 24px; }
  .gallery-count { font-size: 9px; margin-right: 0; }
  .hero-mission h2 { font-size: 31px; }
  .youth-logo { width: 72px; height: 72px; }
  .youth-link { gap: 12px; }
  .youth-account { font-size: 11px; }
  .youth-account > span { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { transition: none; }
  .mission-link { transition: none; }
}

/* Shared action system: identical geometry and feedback on every surface. */
:root a.action {
  --action-bg: transparent;
  --action-fg: var(--ink);
  --action-border: #83959b;
  --action-hover: #e8ece7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 52px;
  max-width: 100%;
  padding: 13px 22px;
  border: 1px solid var(--action-border);
  border-radius: 999px;
  background: var(--action-bg);
  color: var(--action-fg);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  box-shadow: none;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
:root a.action::after { display: none; }
:root a.action--gold {
  --action-bg: var(--gold);
  --action-fg: var(--navy);
  --action-border: var(--gold);
  --action-hover: #e4cda4;
}
:root a.action--dark {
  --action-bg: var(--navy);
  --action-fg: white;
  --action-border: var(--navy);
  --action-hover: #254457;
}
:root a.action--inverse {
  --action-fg: #f7f6f1;
  --action-border: #b6c5ce80;
  --action-hover: #ffffff12;
}
:root a.action--compact { min-height: 46px; padding: 10px 17px; font-size: 12px; gap: 12px; }
:root a.action .icon { width: 20px; height: 20px; transition: transform .25s var(--ease); }
:root a.action:hover, :root a.action:focus-visible {
  background: var(--action-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 18px #00152212;
}
:root a.action:hover .icon, :root a.action:focus-visible .icon { transform: translateX(3px); }
:root a.action:active { transform: translateY(0); box-shadow: none; }
:root a.action:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.hero-actions { gap: 14px; }
.hero-actions .action { white-space: normal; }
.church-copy .action, .faq-intro .action, .visit-heading .action { margin-top: 22px; }
.study-copy .action { margin-top: 0; }
.study-copy .subtle-link.action { margin-top: 16px; }
.mission-link.action { margin-top: 24px; }
.small-groups .action { justify-self: end; white-space: normal; }
.visit-note a.action { flex: none; }
.footer-message a.action { margin-top: 22px; }
.footer-socials a.action { display: flex; justify-content: space-between; margin-top: 8px; }
.footer-bottom a.action { flex: none; }
.youth-link .circle-arrow, .schedule article > a, .video-control {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  transition: background .25s var(--ease), transform .25s var(--ease), border-color .25s;
}
.schedule article > a:hover, .video-control:hover { background: #ffffff12; transform: translateY(-2px); }
.gallery-controls > button { transition: background .25s var(--ease), transform .25s var(--ease); }
.gallery-controls > button:hover { transform: translateY(-2px); }
@media (max-width: 760px) {
  :root a.action { padding-inline: 20px; min-height: 50px; gap: 14px; }
  :root a.action--compact { min-height: 46px; padding-inline: 17px; }
  .small-groups .action { justify-self: start; }
  .visit-note a.action { margin-top: 16px; }
  .schedule article { grid-template-columns: 1fr .7fr 46px; }
}
@media (prefers-reduced-motion: reduce) {
  :root a.action, :root a.action .icon { transition: none; }
  :root a.action:hover, :root a.action:focus-visible, :root a.action:hover .icon, :root a.action:focus-visible .icon,
  .schedule article > a:hover, .video-control:hover, .gallery-controls > button:hover { transform: none; }
}
