/* At Ease Inc. — rebuilt from the WordPress/Elementor site. Measurements taken from the live site at 1366px. */
:root {
  --red: #e03636;
  --red-bright: #ff0000;
  --navy: #0d174e;
  --blue: #032e82;
  --ink: #08081b;
  --ink-2: #00020d;
  --ice: #ecf1ff;
  --green: #6a8955;
  --teal: #35887c;
  --grey-bg: #dddbdb;
  --share: #ea4335;
  --container: 1240px;
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --sans: "Roboto", Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.container { max-width: var(--container); margin: 0 auto; padding: 0 10px; }
.center { text-align: center; }
.right { text-align: right; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: #fff; color: #000; padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .35em;
  font-family: var(--sans); font-weight: 500; color: #fff; text-decoration: none;
  border: 0; cursor: pointer; text-align: center; transition: filter .2s, background-color .2s, color .2s;
}
.btn:hover, .btn:focus-visible { filter: brightness(1.15); }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px var(--navy); }
.btn-hero { background: var(--red); font-size: 20px; line-height: 20px; padding: 25px 50px; border-radius: 6px; }
.btn-services { background: var(--red-bright); font-size: 22px; line-height: 22px; padding: 25px 50px; border-radius: 6px; }
.btn-red-pill { background: var(--red-bright); font-size: 29px; line-height: 29px; padding: 12px 24px; border-radius: 20px; }
.btn-dark-pill { background: var(--ink); font-size: 29px; line-height: 29px; padding: 12px 24px; border-radius: 20px; }
.btn-footer { background: var(--red); font-size: 15px; line-height: 15px; padding: 12px 24px; border-radius: 3px; }
.btn-outline { background: transparent; border: 2px solid #fff; font-size: 15px; line-height: 15px; padding: 12px 24px; border-radius: 3px; }
.btn-outline:hover { background: #fff; color: var(--navy); filter: none; }

.donate { display: inline-block; margin: 0; }
.btn-donate { background: var(--navy); }
.donate--pill .btn-donate { font-size: 14px; line-height: 14px; padding: 12px 24px; border-radius: 20px; }
.donate--lg .btn-donate { font-size: 27px; line-height: 48px; padding: 12px 24px; border-radius: 8px; }
.donate--blue .btn-donate { background: var(--blue); font-size: 27px; line-height: 27px; padding: 12px 24px; border-radius: 20px; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 5px; }
.btn-row-center { justify-content: center; gap: 12px; }

/* ---------- Header ---------- */
.topbar { background: var(--red); border-radius: 0 0 5px 0; color: #fff; }
.topbar-inner { display: grid; grid-template-columns: 50% 27.35% 22.65%; align-items: center; min-height: 45px; padding: 0; }
.topbar-info { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 24px; font-family: var(--sans); font-size: 12px; line-height: 18px; }
.topbar-info li { display: flex; align-items: center; }
.topbar-info i { font-size: 14px; color: var(--ice); width: 18px; text-align: center; }
.topbar-info span { padding-left: 5px; }
.topbar-info a { display: flex; align-items: center; text-decoration: none; }
.topbar-info a:hover span { text-decoration: underline; }
.topbar-social { display: flex; justify-content: flex-end; }
.topbar-social span { width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #fff; }
.topbar-donate { text-align: right; }

.mainbar { background: var(--ink); border-bottom: 1px solid #d8d8d8; position: relative; }
.mainbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 160px; padding: 0; }
.logo { display: block; width: 192px; flex: none; }
.logo img { width: 192px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.site-nav li { position: relative; }
.site-nav li + li::before {
  content: ""; position: absolute; left: 0; top: 50%; height: 49px; margin-top: -24.5px;
  border-left: 2px solid var(--red-bright);
}
.site-nav a {
  display: block; padding: 60px 20px; margin-left: 2px;
  font-family: var(--sans); font-weight: 500; font-size: 21px; line-height: 20px;
  color: #fff; text-decoration: none; transition: color .2s;
}
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a.active { color: var(--red); }
.nav-toggle { display: none; }

/* ---------- Shared type ---------- */
.display {
  font-family: var(--display); font-weight: 400; font-size: 63px; line-height: 70px;
  text-transform: uppercase; color: #fff; margin: 0;
}
.display-red { color: var(--red-bright); }
.display-green { color: var(--green); }
.display-dark { color: var(--ink); }
.h-red { font-family: var(--sans); font-weight: 600; font-size: 53px; line-height: 53px; color: var(--red); margin: 0 0 20px; }
.lead { font-family: var(--sans); font-weight: 600; font-size: 26px; line-height: 39px; color: var(--ink-2); }
.lead p, p.lead { margin-bottom: 14.4px; }
.lead a { color: var(--red); }
.section-pad { padding: 40px 0; }

/* Background overlay layer (Elementor "background overlay"). */
.ov { position: absolute; inset: 0; background-size: cover; background-position: 50% 50%; pointer-events: none; }

/* ---------- Home ---------- */
.hero-home {
  position: relative; background: #744646; margin-top: -4px;
  min-height: 932px; padding: 80px 0 100px; display: flex; align-items: center;
}
.hero-home .ov { opacity: .33; }
.hero-home .container { position: relative; width: 100%; }
.hero-grid { display: grid; grid-template-columns: 51% 49%; align-items: start; padding: 0; }
.hero-text { padding: 10px; }
.hero-text h1 { text-shadow: 5px 4px 8px rgba(0, 0, 0, .99); margin-bottom: 20px; }
.hero-sub { font-family: var(--sans); font-weight: 500; font-size: 24px; line-height: 24px; color: var(--ice); margin: 0 0 20px; }
.hero-media { padding: 10px; }
.carousel-hero img { border-radius: 20px; aspect-ratio: 1456 / 816; object-fit: cover; width: 100%; }

.lifeline { padding: 40px 0 10px; }
.intro { padding: 0 0 40px; }
.intro-grid { display: grid; grid-template-columns: 75% 25%; padding: 0; }
.intro-text { padding: 10px; }
.intro-text h2 { font-family: "Roboto Condensed", var(--sans); font-weight: 500; font-size: 32px; line-height: 38.4px; color: #000; margin: 8px 0 16px; }
.intro-side { padding: 10px; display: flex; flex-direction: column; gap: 20px; }
.intro-side img { width: 100%; }
.donate-band { padding: 10px 0 10px; }

/* ---------- Carousel ---------- */
.carousel { position: relative; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; transition: transform .5s ease; will-change: transform; }
.carousel .slide { flex: 0 0 calc(100% / var(--show, 1)); min-width: 0; }
.carousel .slide img { width: 100%; }
.carousel .slide a { display: block; }
.carousel-dots { display: flex; justify-content: center; gap: 12px; padding: 15px 0 9px; }
.carousel-dots button {
  width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%; background: #000; opacity: .2; cursor: pointer;
  position: relative;
}
.carousel-dots button::after { content: ""; position: absolute; inset: -8px; }
.carousel-dots button[aria-current="true"] { opacity: 1; }
.carousel-mission .slide img { aspect-ratio: 4 / 3; object-fit: cover; }
.carousel-strip .slide img { aspect-ratio: 1456 / 816; object-fit: cover; }
.carousel-photos .slide img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .carousel-track { transition: none; } }

/* ---------- Page banner ---------- */
.page-banner { position: relative; background: var(--ink-2); min-height: 244px; display: flex; align-items: center; }
.page-banner .ov { opacity: .37; }
.page-banner .container { position: relative; width: 100%; padding: 10px; }
.banner-tall { min-height: 735px; }

/* ---------- About ---------- */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; }
.cols-2 > .col { padding: 0 10px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.page-about .section-pad .container { padding: 0; }
.page-about .lead ul { padding-left: 40px; margin-bottom: 0; }
.carousel-mission { margin-bottom: 20px; }
.mission-logo img { width: 186px; margin: 0 auto; }
.ways .container { padding: 0; }
.ways .h-red { padding: 0 10px; }
.ways .h-red { margin-top: 10px; }
.ways-grid { margin-top: 30px; }
.check-box { list-style: none; margin: 0 0 20px; padding: 20px; background: var(--ink); border-radius: 20px; }
.check-box li { display: flex; align-items: center; padding: 14.5px 0; }
.check-box li:first-child { padding-top: 0; }
.check-box li:last-child { padding-bottom: 0; }
.check-box i { flex: 0 0 72.5px; font-size: 58px; color: var(--red); text-align: center; }
.check-box span { padding-left: 5px; font-family: var(--sans); font-size: 24px; line-height: 36px; color: #fff; }
.stack-20 { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.strip { padding: 10px 0; }

/* ---------- Services ---------- */
.flips { padding: 10px 0; }
.flip { height: 280px; perspective: 1000px; outline: none; }
.flip-inner { position: relative; width: 100%; height: 100%; transition: transform .6s ease-in-out; transform-style: preserve-3d; }
.flip:hover .flip-inner, .flip:focus-within .flip-inner, .flip.is-flipped .flip-inner { transform: rotateX(180deg); }
.flip-front, .flip-back {
  position: absolute; inset: 0; padding: 35px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff; font-family: var(--sans); backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.flip-front { background: linear-gradient(180deg, var(--navy) 36%, #970000 36%); }
.flip-back { background: var(--navy); transform: rotateX(180deg); }
.flip i { font-size: 50px; line-height: 56px; margin-bottom: 20px; }
.flip h3 { font-size: 21px; line-height: 21px; font-weight: 600; margin: 0 0 20px; }
.flip p { font-size: 14px; line-height: 21px; margin: 0; }
.flip-back p { margin-bottom: 20px; }
@media (prefers-reduced-motion: reduce) { .flip-inner { transition: none; } }
.photos { padding: 10px 0; }
.other { padding: 10px 0; }
.other .lead { margin-bottom: 20px; }
.schedule { background: var(--grey-bg); padding: 50px 0; scroll-margin-top: 0; }
.schedule .lead { margin-bottom: 20px; }

/* ---------- Camping ---------- */
.camp { padding: 40px 0; }
.camp-grid { display: grid; grid-template-columns: 54.7% 45.3%; padding: 0; }
.camp-grid > .col { padding: 10px; }
.camp-grid .display { margin-bottom: 20px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery a { display: block; overflow: hidden; aspect-ratio: 3 / 2; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery a::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .3); opacity: 0; transition: opacity .35s; }
.gallery a:hover::after, .gallery a:focus-visible::after { opacity: 1; }
.camp-cta { font-family: var(--sans); font-weight: 600; font-size: 32px; line-height: 32px; color: var(--teal); margin: 0 0 20px; }
.camp-logo { width: 356px; margin: 20px auto 0; }

/* ---------- Contact ---------- */
.contact { background: var(--red); padding: 40px 0; }
.contact .container { padding: 0; }
.contact .col { padding: 10px; }
.contact-info h1 { margin-bottom: 14px; }
.check-list { list-style: none; margin: 0 0 20px; padding: 0; }
.check-list li > a, .check-list li { display: flex; align-items: center; text-decoration: none; }
.check-list i { flex: 0 0 60px; font-size: 48px; color: #fff; text-align: center; }
.check-list span { font-family: var(--sans); font-size: 22px; line-height: 33px; color: #fff; padding-left: 5px; }
.check-list a:hover span { text-decoration: underline; }
.contact-info .donate { margin-bottom: 20px; }
.rounded { border-radius: 20px; width: 100%; }
.form-card { background: #fff; border-radius: 20px; }
.form-card h2 { padding: 15px 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); border-top: 20px solid var(--red); padding: 90px 0 15px; color: #fff; font-family: var(--sans); }
.site-footer .container { padding: 0 10px; }
.footer-grid { display: grid; grid-template-columns: 25% 18.45% 31.55% 25%; }
.footer-col { padding: 10px; }
.footer-follow { padding-left: 71px; }
.footer-logo img { width: 285px; }
.site-footer h4 { font-size: 18px; line-height: 18px; font-weight: 500; margin: 0 0 20px; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav a { display: block; padding: 3px 5px; font-size: 15px; line-height: 16px; text-decoration: none; }
.footer-nav a:hover { color: var(--red); }
.footer-col p { font-size: 13px; line-height: 19.5px; margin: 0 0 33px; }
.footer-col p + p { margin-bottom: 33px; }
.footer-social { display: flex; gap: 10px; margin-bottom: 20px; }
.footer-social span { width: 39px; height: 39px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.share { display: flex; gap: 10px; }
.share-btn { width: 61px; height: 34px; display: flex; align-items: center; justify-content: center; background: var(--share); color: #fff; font-size: 19px; text-decoration: none; transition: filter .2s; }
.share-btn:hover { filter: brightness(1.15); }
.footer-legal { font-size: 13px; line-height: 19.5px; text-align: center; padding: 10px; margin: 0; }
.footer-bottom { margin-top: 80px; border-top: 1px dotted rgba(255, 255, 255, .59); padding: 20px 10px 0; display: flex; justify-content: flex-end; }
.credit { width: 50%; text-align: right; font-size: 13px; line-height: 19.5px; font-weight: 300; padding: 10px; margin: 0; }
.credit a { text-decoration: none; }
.credit a:hover { text-decoration: underline; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(0, 0, 0, .9); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 34px; cursor: pointer; padding: 12px 16px; opacity: .8; }
.lightbox button:hover, .lightbox button:focus-visible { opacity: 1; }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .site-nav a { padding: 60px 10px; font-size: 17px; }
  .logo, .logo img { width: 160px; }
  .display { font-size: 52px; line-height: 58px; }
  .hero-home { min-height: 0; padding: 60px 0 80px; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .h-red { font-size: 42px; line-height: 46px; }
  .lead { font-size: 22px; line-height: 33px; }
  .check-box span { font-size: 20px; line-height: 30px; }
  .check-box i { flex-basis: 56px; font-size: 44px; }
  .intro-text h2 { font-size: 26px; line-height: 32px; }
  .cols-3 { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .flip-front, .flip-back { padding: 20px; }
  .flip { height: 320px; }
  .camp-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .footer-follow { padding-left: 10px; }
  .credit { width: auto; }
  .btn-red-pill, .btn-dark-pill { font-size: 24px; line-height: 26px; }
  .donate--lg .btn-donate, .donate--blue .btn-donate { font-size: 24px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .container { padding: 0 16px; }
  .topbar { border-radius: 0; }
  .topbar-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; padding: 6px 16px; }
  .topbar-info { display: none; }
  .topbar-social span { width: 36px; height: 38px; }
  .topbar-donate { text-align: center; }

  .mainbar-inner { min-height: 0; padding: 14px 16px; flex-wrap: wrap; }
  .logo, .logo img { width: 150px; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 7px;
    width: 48px; height: 48px; padding: 8px; background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 5px; border-radius: 3px; background: #fff; transition: transform .25s, opacity .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(12px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-12px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 50; background: #f2f2f2; box-shadow: 0 8px 16px rgba(0, 0, 0, .25); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; }
  .site-nav li + li::before { display: none; }
  .site-nav li + li { border-top: 1px solid #ddd; }
  .site-nav a { padding: 15px 20px; margin: 0; font-size: 18px; color: var(--ink); }
  .site-nav a.active, .site-nav a:hover { color: var(--red); background: #e8e8e8; }

  .display { font-size: 40px; line-height: 46px; }
  .h-red { font-size: 34px; line-height: 38px; }
  .lead { font-size: 19px; line-height: 29px; }
  .hero-home { padding: 40px 0 50px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-text, .hero-media { padding: 0; }
  .hero-sub { font-size: 19px; line-height: 26px; }
  .hero-media { margin-top: 30px; }
  .btn-row { gap: 12px; }
  .btn-hero { padding: 20px 30px; font-size: 18px; }
  .donate--lg .btn-donate { font-size: 22px; line-height: 36px; }
  .lifeline { padding-top: 30px; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-text h2 { font-size: 21px; line-height: 28px; }
  .intro-side { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .intro-side .right { grid-column: 1 / -1; text-align: center; }
  .btn-services { padding: 18px 36px; font-size: 20px; }

  .page-banner { min-height: 160px; }
  .banner-tall { min-height: 360px; }
  .page-banner .container { padding: 10px 16px; }

  .cols-2, .cols-3, .camp-grid { grid-template-columns: 1fr; }
  .cols-2 > .col { padding: 0; }
  .hero-grid, .intro-grid, .page-about .section-pad .container, .ways .container { padding: 0 16px; }
  .ways .h-red { padding: 0; }
  .intro-text, .intro-side { padding-left: 0; padding-right: 0; }
  .page-about .section-pad .container, .ways .container, .strip .container,
  .page-services .section-pad .container, .flips .container, .photos .container, .other .container, .schedule .container { padding: 0 16px; }
  .page-about .lead ul { padding-left: 24px; }
  .page-about .cols-2 > .col + .col { margin-top: 30px; }
  .ways-grid { margin-top: 20px; }
  .check-box span { font-size: 17px; line-height: 26px; }
  .check-box i { flex-basis: 40px; font-size: 30px; }
  .flip { height: 280px; }
  .btn-red-pill, .btn-dark-pill { font-size: 20px; line-height: 24px; padding: 12px 20px; }
  .donate--blue .btn-donate { font-size: 22px; }
  .schedule { padding: 30px 0; }
  .schedule .calendly-inline-widget { min-width: 0 !important; margin: 0 -16px; }
  .camp-grid > .col { padding: 0 16px; }
  .camp-grid > .col + .col { margin-top: 30px; }
  .camp-cta { font-size: 26px; line-height: 30px; }
  .camp-logo { width: 260px; }

  .contact { padding: 30px 0; }
  .contact .col { padding: 0 16px; }
  .contact .col + .col { margin: 30px 16px 0; padding: 10px 0 20px; }
  .check-list i { flex-basis: 44px; font-size: 32px; }
  .check-list span { font-size: 19px; line-height: 28px; }
  .form-card h2 { padding: 10px 20px; }

  .site-footer { padding-top: 50px; }
  .site-footer .container { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-logo { grid-column: 1 / -1; }
  .footer-logo img { width: 220px; }
  .footer-col:nth-child(3) { grid-column: 1 / -1; order: 3; }
  .footer-follow { grid-column: auto; }
  .footer-bottom { margin-top: 40px; justify-content: center; }
  .credit { text-align: center; }
}
@media (max-width: 380px) {
  .display { font-size: 34px; line-height: 40px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
