/* =========================================================================
   Nantucket Lightship / LV-112 — United States Lightship Museum
   Modern, responsive stylesheet
   ========================================================================= */

:root {
  --navy: #0b2a45;
  --navy-deep: #071d31;
  --navy-soft: #163b5c;
  --red: #c4302b;
  --red-dark: #a3251f;
  --sand: #f4efe6;
  --cream: #faf7f1;
  --ink: #23303a;
  --muted: #5c6b76;
  --line: #e3ddd1;
  --white: #ffffff;
  --gold: #d8a657;

  --maxw: 1140px;
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(7, 29, 49, 0.08), 0 1px 2px rgba(7, 29, 49, 0.06);
  --shadow-md: 0 6px 18px rgba(7, 29, 49, 0.12);
  --shadow-lg: 0 18px 40px rgba(7, 29, 49, 0.22);

  --font-head: "Impact", "Arial Black", "Helvetica Bold", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--red-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 0.6em;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  overflow-wrap: break-word;
}

p { margin: 0 0 1.1em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--white);
  min-width: 0;
}
.brand:hover { text-decoration: none; }

.brand-mark {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: normal;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-title {
  font-family: var(--font-head);
  font-weight: normal;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Navigation ---------- */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  border-radius: 8px;
  padding: 0.5rem 0.7rem;
  cursor: pointer;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}
.nav-toggle .bars { width: 20px; height: 14px; position: relative; display: inline-block; }
.nav-toggle .bars span,
.nav-toggle .bars span::before,
.nav-toggle .bars span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle .bars span { top: 6px; }
.nav-toggle .bars span::before { top: -6px; }
.nav-toggle .bars span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars span { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars span::after { transform: translateY(-6px) rotate(-45deg); }

.main-nav ul { list-style: none; margin: 0; padding: 0; }

.main-nav > ul {
  display: flex;
  align-items: stretch;
  gap: 0.25rem;
}

.main-nav .nav-item { position: relative; }

.main-nav a,
.main-nav .nav-link {
  display: block;
  color: #eaf1f7;
  padding: 0.7rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 6px;
}
.main-nav a:hover,
.main-nav .nav-item:hover > a,
.main-nav .nav-item:focus-within > a {
  background: var(--navy-soft);
  color: #fff;
  text-decoration: none;
}
.main-nav a[aria-current="page"] {
  color: #fff;
  background: var(--red);
}

/* Dropdowns */
.has-submenu > a::after {
  content: "▾";
  font-size: 0.7em;
  margin-left: 0.4em;
  vertical-align: middle;
  opacity: 0.8;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 120;
}
.nav-item:hover > .submenu,
.nav-item:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.submenu a {
  color: var(--ink);
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  font-size: 0.92rem;
}
.submenu a:hover { background: var(--sand); color: var(--navy); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(180deg, rgba(7, 29, 49, 0.55), rgba(7, 29, 49, 0.78)),
              var(--navy-deep);
  background-size: cover;
  background-position: center 35%;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7, 29, 49, 0.6));
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 9vw, 6.5rem) 0 clamp(2.5rem, 7vw, 5rem);
  max-width: 720px;
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.hero .lede {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: #e7eef4;
  margin-bottom: 1.8rem;
}
.landmark-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(3px);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn-outline { background: var(--white); color: var(--navy); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: var(--red); color: var(--red-dark); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- Page header (interior pages) ---------- */
.page-head {
  background: var(--navy);
  color: #fff;
  padding: clamp(2rem, 6vw, 3.4rem) 0;
}
.page-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.page-head h1 { color: #fff; font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin: 0; }

/* breadcrumb */
.crumbs { font-size: 0.85rem; color: var(--muted); padding: 0.9rem 0 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--red-dark); }

/* ---------- Main content layout ---------- */
main { display: block; }

.section { padding: clamp(2.2rem, 6vw, 4rem) 0; }

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.prose { font-size: 1.06rem; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; color: var(--navy-soft); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose blockquote {
  margin: 0 0 1.4rem;
  padding: 0.6rem 0 0.6rem 1.4rem;
  border-left: 4px solid var(--gold);
  color: var(--ink);
  background: rgba(216, 166, 87, 0.07);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding-right: 1.1rem;
}
.prose blockquote p:last-child {
  margin-bottom: 0;
  font-style: normal;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.5rem;
}
.prose img { border-radius: var(--radius); box-shadow: var(--shadow-sm); margin: 0.4rem 0 1.4rem; }
.prose .lead {
  font-size: 1.2rem;
  color: var(--navy-soft);
  font-weight: 600;
}
.prose a { font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }

/* float-ish helper images that were inline in original */
.img-right {
  float: right;
  max-width: 240px;
  margin: 0.3rem 0 1.2rem 1.6rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.img-left {
  float: left;
  max-width: 240px;
  margin: 0.3rem 1.6rem 1.2rem 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.figure { margin: 0 0 1.6rem; }
.figure img { border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.figure figcaption,
.caption {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 0.5rem;
}

.clearfix::after { content: ""; display: block; clear: both; }

/* ---------- Sidebar ---------- */
.sidebar { position: sticky; top: 90px; }
.side-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.side-card img { width: 100%; }
.side-card figure { margin: 0; }
.side-card figure figcaption { padding: 0.75rem 1.1rem 0; }
.side-card .side-body { padding: 1rem 1.1rem 1.2rem; }
.side-card .side-caption { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }
.side-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }

.donate-card {
  background: linear-gradient(160deg, var(--navy), var(--navy-soft));
  color: #fff;
  border: none;
  text-align: center;
  padding: 1.6rem 1.3rem;
}
.donate-card h3 { color: #fff; }
.donate-card p { color: #dbe6ef; font-size: 0.95rem; }
.donate-card .btn { width: 100%; justify-content: center; }
.donate-note { font-size: 0.78rem; color: #b9c7d4; margin: 0.8rem 0 0; }

/* ---------- Cards grid (home) ---------- */
.section-title { text-align: center; margin-bottom: 2.2rem; }
.section-title .eyebrow {
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem;
  color: var(--red); font-weight: 600;
}
.section-title h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.4rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); text-decoration: none; }
.card .card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 1.1rem 1.2rem 1.3rem; flex: 1; }
.card-body h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.card-body p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.card-more { color: var(--red-dark); font-weight: 600; font-size: 0.9rem; margin-top: 0.7rem; display: inline-block; }

/* ---------- Stats band ---------- */
.band { background: var(--sand); }
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.4rem;
  text-align: center;
}
.stat .num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--red);
  font-weight: normal;
  line-height: 1;
}
.stat .lbl { font-size: 0.9rem; color: var(--muted); margin-top: 0.4rem; }

/* ---------- Call to action band ---------- */
.cta-band {
  background: linear-gradient(160deg, var(--navy), var(--navy-deep));
  color: #fff;
  text-align: center;
}
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.3rem); }
.cta-band p { color: #d6e2ec; max-width: 620px; margin: 0 auto 1.6rem; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.gallery-item {
  display: block;
  border: 0;
  padding: 0;
  margin: 0;
  background: var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  text-decoration: none;
  color: inherit;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  pointer-events: none;
}
.gallery-item:hover img { transform: scale(1.07); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 20, 33, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 1000;
  padding: 1.5rem;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(1000px, 92vw);
  max-height: 78vh;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}
.lightbox .lb-caption {
  color: #e7eef4;
  max-width: 800px;
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.55;
}
.lightbox .lb-close,
.lightbox .lb-prev,
.lightbox .lb-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}
.lightbox .lb-close:hover,
.lightbox .lb-prev:hover,
.lightbox .lb-next:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox .lb-close { top: 1.2rem; right: 1.2rem; }
.lightbox .lb-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }

/* ---------- Lists / link lists (newsletter, lightships) ---------- */
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list li:last-child { border-bottom: none; }
.link-list a {
  display: block;
  padding: 0.75rem 0.4rem;
  color: var(--navy-soft);
  font-weight: 500;
  text-decoration: none;
}
.link-list a:hover { color: var(--red-dark); padding-left: 0.8rem; transition: padding 0.15s ease; }

/* membership tiers */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.1rem; margin: 1.5rem 0; }
.tier {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.tier .price { font-family: var(--font-head); font-size: 1.5rem; color: var(--red); font-weight: normal; }
.tier .tname { font-weight: 600; color: var(--navy); display: block; margin-bottom: 0.2rem; }
.tier p { font-size: 0.9rem; color: var(--muted); margin: 0.4rem 0 0; }

.callout {
  background: var(--sand);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.3rem;
  margin: 1.6rem 0;
}
.callout p:last-child { margin-bottom: 0; }

hr.rule { border: none; border-top: 1px solid var(--line); margin: 2rem 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #c4d2de;
  padding: clamp(2.4rem, 6vw, 3.6rem) 0 1.4rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}
.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.9rem;
}
.site-footer a { color: #c4d2de; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-about p { font-size: 0.95rem; color: #aebccb; }
.social { display: flex; gap: 0.7rem; margin-top: 1rem; }
.social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: #fff;
}
.social a:hover { background: var(--red); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2rem;
  padding-top: 1.2rem;
  font-size: 0.85rem;
  color: #93a6b6;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { font-size: 1rem; }

  .nav-toggle { display: inline-flex; }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86vw, 360px);
    background: var(--navy-deep);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    padding: 5rem 1.2rem 2rem;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
  }
  body.nav-open .main-nav { opacity: 1; visibility: visible; transform: translateY(0); }
  body.nav-open { overflow: hidden; }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(7, 20, 33, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    z-index: 90;
  }
  body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }

  .main-nav > ul { flex-direction: column; gap: 0.1rem; }
  .main-nav a, .main-nav .nav-link { padding: 0.85rem 0.6rem; font-size: 1.05rem; }

  .has-submenu > a::after { float: right; }

  /* Show submenus inline on mobile */
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0.4rem 0.8rem;
    min-width: 0;
  }
  .submenu a { color: #b9c7d4; padding: 0.6rem; }
  .submenu a:hover { background: rgba(255,255,255,0.06); color: #fff; }

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

  .img-right, .img-left { float: none; max-width: 100%; margin: 0.5rem 0 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Updated Hero ---------- */
.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-image-wrapper {
  margin-top: clamp(2rem, 5vw, 4rem);
  width: 100%;
  max-width: 468px; /* matches the exact width of the day image */
  position: relative;
  z-index: 2;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: block;
}

.hero-container .hero-inner {
  padding-top: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-container .btn-row {
  justify-content: center;
}

/* ---------- Day/Night Crossfade ---------- */
.night-img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

@keyframes dayNightFade {
  0%, 40% { opacity: 0; }
  50%, 90% { opacity: 1; }
  100% { opacity: 0; }
}

.hero-image-wrapper.auto-animate .night-img {
  animation: dayNightFade 10s infinite;
}
