
:root {
  --navy: #082c55;
  --navy-deep: #06223f;
  --gold: #c89213;
  --gold-light: #e0ad24;
  --forest: #165f3c;
  --teal: #2f8b84;
  --purple: #6b4388;
  --cream: #fbf5e8;
  --paper: #fffaf0;
  --ink: #192d46;
  --muted: #536276;
  --border: #e2d4b7;
  --pink: #c93f64;
  --shadow: 0 12px 28px rgba(21, 37, 58, .10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(225, 196, 116, .08), transparent 24%),
    var(--cream);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

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

.site-shell {
  width: min(1480px, calc(100% - 44px));
  margin: 0 auto;
}

.topbar {
  min-height: 42px;
  background: linear-gradient(90deg, #061f3c, #0c3764 48%, #061f3c);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: .96rem;
  letter-spacing: .01em;
}

.topbar span { color: var(--gold-light); }

.site-header {
  position: relative;
  z-index: 20;
  background: rgba(255, 250, 240, .96);
  border-bottom: 1px solid rgba(8, 44, 85, .08);
  backdrop-filter: blur(10px);
}

.nav-shell {
  min-height: 100px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.floating-logo {
  position: absolute;
  left: 0;
  top: -18px;
  width: 390px;
  z-index: 30;
  filter: drop-shadow(0 12px 20px rgba(13, 40, 66, .16));
}

.floating-logo img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: 410px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.06rem;
  font-weight: 700;
}

.site-nav a:not(.join-button) {
  padding: 10px 0;
}

.site-nav a:not(.join-button):hover {
  color: var(--gold);
}

.join-button {
  margin-left: 4px;
  padding: 14px 24px;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 1.15rem;
}

.join-button span { margin-left: 7px; }

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 1.8rem;
}

.hero {
  min-height: 610px;
  position: relative;
  overflow: hidden;
}

.hero-art {
  position: absolute;
  inset: 0;
  background: url('assets/hero-scene.jpg') center 45% / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(255,250,240,.98) 0%,
      rgba(255,250,240,.94) 28%,
      rgba(255,250,240,.70) 42%,
      rgba(255,250,240,.18) 62%,
      rgba(255,250,240,.02) 100%);
}

.hero-inner {
  position: relative;
  min-height: 610px;
  display: flex;
  align-items: center;
  z-index: 2;
}

.hero-copy {
  max-width: 650px;
  padding: 70px 0 72px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: .82rem;
  letter-spacing: .11em;
  font-weight: 800;
  color: var(--forest);
  margin-bottom: 12px;
}

.hero h1 {
  margin: 0 0 20px;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--navy);
  font-size: clamp(3.1rem, 5vw, 5.8rem);
  line-height: .96;
  letter-spacing: -.035em;
}

.hero h1 span { display: block; }

.hero h1 .green { color: var(--forest); }

.hero h1 .gold {
  color: var(--gold);
  margin-top: 7px;
}

.hero-copy p {
  margin: 0;
  max-width: 610px;
  color: #233850;
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 43, 66, .14);
}

.button-navy { background: var(--navy); color: #fff; }
.button-green { background: var(--forest); color: #fff; }
.button-purple { background: var(--purple); color: #fff; }
.button.compact { padding: 11px 18px; font-size: .93rem; }

.programs {
  padding: 22px 0 18px;
  background: linear-gradient(180deg, #fffaf0, #f9f2e4);
  border-top: 1px solid rgba(198, 157, 63, .18);
  border-bottom: 1px solid rgba(198, 157, 63, .18);
}

.section-title {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  text-align: center;
  margin: 0 auto 18px;
}

.section-title h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.6rem, 2.5vw, 2.35rem);
}

.section-title p {
  margin: 4px 0 0;
  color: var(--forest);
  font-size: .95rem;
}

.flourish {
  color: var(--gold);
  font-size: 2rem;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.program-card {
  min-height: 180px;
  display: grid;
  grid-template-columns: 118px 1fr;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(255,255,255,.62);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 5px 18px rgba(21, 37, 58, .05);
}

.program-card img {
  width: 112px;
  height: 112px;
  object-fit: contain;
}

.program-card h3 {
  margin: 0 0 8px;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.05;
}

.program-card:nth-child(2) h3 { color: var(--forest); }
.program-card:nth-child(3) h3 { color: var(--pink); }
.program-card:nth-child(5) h3 { color: var(--purple); }

.program-card p {
  margin: 0;
  color: #31445c;
  font-size: .89rem;
  line-height: 1.5;
}

.home-panels {
  padding: 14px 0 8px;
  background:
    linear-gradient(rgba(255,250,240,.92), rgba(255,250,240,.92)),
    repeating-linear-gradient(0deg, rgba(120,93,45,.025) 0 1px, transparent 1px 5px);
}

.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  gap: 16px;
}

.home-panel {
  min-height: 240px;
  padding: 14px 16px 16px;
  background: rgba(255,255,255,.62);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.home-panel h2 {
  margin: 0 0 12px;
  text-align: center;
  color: var(--navy);
  font-family: Georgia, 'Times New Roman', serif;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: 1.16rem;
}

.home-panel h2 span { color: var(--forest); }

.schedule-content {
  display: grid;
  grid-template-columns: minmax(170px, .9fr) 1.1fr;
  gap: 16px;
  align-items: center;
}

.schedule-content img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(20, 41, 63, .11);
}

.schedule-content p,
.founder-copy p,
.community-copy p {
  color: #263d57;
  font-size: .92rem;
}

.founder-content {
  min-height: 185px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 12px;
  align-items: end;
}

.joannis-wrap {
  height: 205px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.joannis-wrap img {
  max-height: 235px;
  width: auto;
  filter: drop-shadow(0 12px 12px rgba(28, 45, 64, .13));
}

.founder-copy {
  align-self: center;
}

.founder-copy p { margin: 0 0 9px; }

.founder-copy a {
  color: var(--forest);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.community-visual {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 14px;
  align-items: center;
}

.castle-crop {
  height: 176px;
  border-radius: 12px;
  background:
    linear-gradient(rgba(255,255,255,.05), rgba(255,255,255,.05)),
    url('assets/hero-scene.jpg') 80% 17% / 205% auto no-repeat;
}

.community-copy p { margin: 0 0 16px; }

.storybook-footer {
  margin-top: 8px;
  background:
    linear-gradient(90deg, #051d38, #0b3159 48%, #051d38);
  color: #fff4d7;
}

.footer-inner {
  min-height: 62px;
  display: grid;
  grid-template-columns: 1fr 2.5fr 1fr;
  gap: 18px;
  align-items: center;
  text-align: center;
}

.footer-inner blockquote {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 1rem;
}

.footer-inner strong { color: #f5c54a; }

.footer-ornament { color: #e3af27; letter-spacing: .12em; }

.footer-bottom {
  min-height: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.09);
  color: #c6d4e0;
  font-size: .82rem;
}

@media (max-width: 1230px) {
  .floating-logo { width: 320px; top: -4px; }
  .site-nav { margin-left: 330px; gap: 24px; font-size: .98rem; }
  .program-grid { grid-template-columns: repeat(3, 1fr); }
  .program-grid .program-card:nth-child(4),
  .program-grid .program-card:nth-child(5) { grid-column: span 1; }
}

@media (max-width: 980px) {
  .site-shell { width: min(100% - 28px, 900px); }

  .nav-shell {
    min-height: 82px;
    justify-content: flex-end;
  }

  .floating-logo {
    width: 235px;
    top: 5px;
  }

  .nav-toggle {
    display: block;
    cursor: pointer;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 20px;
    background: #fffaf0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    box-shadow: var(--shadow);
  }

  .site-nav.open { display: flex; }

  .site-nav a {
    text-align: center;
    padding: 10px 14px !important;
  }

  .join-button { margin: 8px auto 0; width: min(280px, 100%); }

  .hero,
  .hero-inner { min-height: 600px; }

  .hero-art { background-position: 66% 45%; }

  .hero-overlay {
    background:
      linear-gradient(90deg,
        rgba(255,250,240,.98) 0%,
        rgba(255,250,240,.93) 45%,
        rgba(255,250,240,.42) 72%,
        rgba(255,250,240,.08) 100%);
  }

  .hero-copy { max-width: 590px; }

  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .panel-grid { grid-template-columns: 1fr; }
  .home-panel { min-height: auto; }
}

@media (max-width: 650px) {
  .topbar { font-size: .77rem; padding: 6px 10px; }

  .floating-logo {
    width: 185px;
    top: 10px;
  }

  .nav-shell { min-height: 74px; }
  .site-nav { top: 74px; }

  .hero {
    min-height: 710px;
  }

  .hero-inner {
    min-height: 710px;
    align-items: flex-start;
  }

  .hero-art {
    background-position: 64% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg,
        rgba(255,250,240,.98) 0%,
        rgba(255,250,240,.95) 42%,
        rgba(255,250,240,.65) 69%,
        rgba(255,250,240,.20) 100%);
  }

  .hero-copy {
    max-width: none;
    padding: 46px 0 310px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 14vw, 4.1rem);
  }

  .hero-copy p { font-size: .97rem; }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .section-title {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .section-title .flourish { display: none; }

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

  .program-card {
    grid-template-columns: 112px 1fr;
    min-height: 150px;
  }

  .schedule-content,
  .founder-content,
  .community-visual {
    grid-template-columns: 1fr;
  }

  .schedule-content img { height: auto; }

  .joannis-wrap { height: 260px; }
  .joannis-wrap img { max-height: 280px; }

  .castle-crop { height: 220px; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0;
  }

  .footer-ornament { display: none; }

  .footer-bottom {
    padding: 10px 0;
    gap: 8px;
    flex-direction: column;
  }
}


/* ============================================================
   RESPONSIVE HERO V2
   Desktop, tablet, and phone intentionally use different
   compositions of the same artwork.
   ============================================================ */

.site-header {
  position: relative;
  z-index: 30;
  background: rgba(255,250,240,.97);
  border-bottom: 1px solid rgba(8,44,85,.08);
  backdrop-filter: blur(10px);
}

.nav-shell {
  min-height: 100px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.site-nav {
  margin-left: 390px;
}

/* Logo belongs to the hero composition and intentionally rises into
   the header area on large screens. */
.hero {
  min-height: 650px;
  position: relative;
  overflow: visible;
}

.hero-logo {
  position: absolute;
  z-index: 40;
  left: max(24px, calc((100vw - 1480px) / 2));
  top: -82px;
  width: clamp(300px, 22vw, 405px);
  filter: drop-shadow(0 16px 24px rgba(13,40,66,.18));
  pointer-events: auto;
}

.hero-logo img {
  width: 100%;
  height: auto;
}

.hero-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: url('assets/hero-scene.jpg') 57% 48% / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255,250,240,.93) 0%,
      rgba(255,250,240,.89) 20%,
      rgba(255,250,240,.78) 37%,
      rgba(255,250,240,.30) 53%,
      rgba(255,250,240,.03) 70%,
      rgba(255,250,240,0) 100%
    );
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(290px, 27%) minmax(460px, 600px) 1fr;
  align-items: center;
}

.hero-copy {
  grid-column: 2;
  max-width: 600px;
  padding: 72px 0 62px;
}

.eyebrow {
  margin-bottom: 13px;
  font-size: .8rem;
}

.hero h1 {
  font-size: clamp(3.1rem, 4.1vw, 4.75rem);
  line-height: .98;
  letter-spacing: -.035em;
  margin-bottom: 22px;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero h1 .gold {
  margin-top: 8px;
  white-space: normal;
}

.hero-copy p {
  max-width: 575px;
  font-size: 1.02rem;
  line-height: 1.62;
}

/* Wide desktops: give the kingdom scene more breathing room. */
@media (min-width: 1600px) {
  .hero-art {
    background-position: 59% 48%;
  }

  .hero-inner {
    grid-template-columns: 390px minmax(520px, 640px) 1fr;
  }

  .hero-logo {
    width: 405px;
  }

  .hero h1 {
    font-size: 4.9rem;
  }
}

/* Mid-size desktop / laptop */
@media (max-width: 1320px) and (min-width: 981px) {
  .site-shell {
    width: min(1180px, calc(100% - 36px));
  }

  .site-nav {
    margin-left: 300px;
    gap: 22px;
    font-size: .96rem;
  }

  .hero-logo {
    left: 22px;
    width: 300px;
    top: -50px;
  }

  .hero-inner {
    grid-template-columns: 275px minmax(425px, 500px) 1fr;
  }

  .hero h1 {
    font-size: clamp(3rem, 4.7vw, 4rem);
  }

  .hero-art {
    background-position: 61% 48%;
  }

  .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(255,250,240,.96) 0%,
        rgba(255,250,240,.91) 28%,
        rgba(255,250,240,.68) 47%,
        rgba(255,250,240,.16) 66%,
        rgba(255,250,240,0) 100%
      );
  }
}

/* Tablet: logo becomes centered above the copy. */
@media (max-width: 980px) {
  .nav-shell {
    min-height: 78px;
  }

  .site-nav {
    margin-left: 0;
  }

  .hero {
    min-height: 760px;
    overflow: hidden;
  }

  .hero-logo {
    position: absolute;
    left: 50%;
    top: 18px;
    transform: translateX(-50%);
    width: 245px;
    z-index: 5;
  }

  .hero-art {
    background-position: 68% 48%;
  }

  .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(255,250,240,.96) 0%,
        rgba(255,250,240,.92) 47%,
        rgba(255,250,240,.50) 72%,
        rgba(255,250,240,.10) 100%
      );
  }

  .hero-inner {
    min-height: 760px;
    display: block;
    padding-top: 235px;
  }

  .hero-copy {
    max-width: 620px;
    padding: 26px 0 80px;
  }

  .hero h1 {
    font-size: clamp(3rem, 8.5vw, 4.6rem);
  }

  .hero h1 span {
    white-space: normal;
  }
}

/* Phone: treat the hero as a vertical storybook composition.
   Copy occupies the upper half; artwork remains visible beneath/right. */
@media (max-width: 650px) {
  .site-shell {
    width: min(100% - 36px, 600px);
  }

  .nav-shell {
    min-height: 72px;
  }

  .site-nav {
    top: 72px;
  }

  .hero {
    min-height: 880px;
  }

  .hero-logo {
    top: 14px;
    width: 188px;
  }

  .hero-art {
    background-position: 69% bottom;
    background-size: auto 72%;
    background-repeat: no-repeat;
    background-color: #fbf5e8;
  }

  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(255,250,240,.99) 0%,
        rgba(255,250,240,.98) 38%,
        rgba(255,250,240,.90) 56%,
        rgba(255,250,240,.48) 70%,
        rgba(255,250,240,.06) 100%
      );
  }

  .hero-inner {
    min-height: 880px;
    padding-top: 205px;
  }

  .hero-copy {
    max-width: none;
    padding: 18px 0 330px;
    text-align: left;
  }

  .eyebrow {
    font-size: .72rem;
    letter-spacing: .09em;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 12vw, 3.55rem);
    line-height: 1.00;
    margin-bottom: 18px;
  }

  .hero h1 span,
  .hero h1 .gold {
    white-space: normal;
  }

  .hero-copy p {
    font-size: .96rem;
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .button {
    width: 100%;
  }

  .programs {
    padding-top: 28px;
  }
}

/* Small phones */
@media (max-width: 420px) {
  .hero {
    min-height: 930px;
  }

  .hero-logo {
    width: 166px;
  }

  .hero-inner {
    padding-top: 188px;
  }

  .hero-copy {
    padding-bottom: 360px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12.8vw, 3.05rem);
  }
}


/* ============================================================
   PHONE HEADER LOGO V3
   Phone only: logo shares the header line with the hamburger.
   Desktop and tablet remain unchanged.
   ============================================================ */
@media (max-width: 650px) {
  .site-header {
    position: relative;
    z-index: 50;
  }

  .nav-shell {
    min-height: 88px;
    justify-content: flex-end;
  }

  .hero-logo {
    position: absolute;
    top: -82px;
    left: 18px;
    transform: none;
    width: 150px;
    z-index: 60;
  }

  .hero {
    overflow: visible;
  }

  .hero-inner {
    padding-top: 88px;
  }

  .hero-copy {
    padding-top: 24px;
  }

  .site-nav {
    top: 88px;
  }
}

@media (max-width: 420px) {
  .nav-shell {
    min-height: 82px;
  }

  .hero-logo {
    top: -77px;
    left: 14px;
    width: 138px;
  }

  .hero-inner {
    padding-top: 82px;
  }

  .site-nav {
    top: 82px;
  }
}


/* ============================================================
   WIDE DESKTOP HERO IMAGE V4
   Preserve the full height of the kingdom artwork instead of
   using cover, which crops the castle and children on wide screens.
   ============================================================ */
@media (min-width: 1321px) {
  .hero-art {
    background-color: #fbf5e8;
    background-image: url('assets/hero-scene.jpg');
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: right center;
  }

  /* The left side intentionally fades into cream behind the copy,
     while the entire vertical artwork remains visible on the right. */
  .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(255,250,240,1) 0%,
        rgba(255,250,240,.98) 23%,
        rgba(255,250,240,.91) 35%,
        rgba(255,250,240,.55) 47%,
        rgba(255,250,240,.14) 58%,
        rgba(255,250,240,0) 70%
      );
  }
}

/* Very wide monitors get slightly more room so the artwork is not
   visually compressed against the right edge. */
@media (min-width: 1800px) {
  .hero {
    min-height: 675px;
  }

  .hero-inner {
    min-height: 675px;
  }

  .hero-art {
    background-size: auto 100%;
    background-position: right center;
  }
}


/* ============================================================
   V5 HERO IMAGE FIX
   Use a real <img> instead of CSS background-size: cover.
   This guarantees the entire image height remains visible on
   wide desktop screens.
   ============================================================ */

.hero-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #fbf5e8 !important;
}

.hero-art img {
  display: block;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

/* Desktop and wide desktop */
@media (min-width: 981px) {
  .hero-art {
    background-image: none !important;
  }

  .hero-art img {
    height: 100%;
    width: auto;
    right: 0;
    top: 50%;
  }

  .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(255,250,240,1) 0%,
        rgba(255,250,240,.98) 24%,
        rgba(255,250,240,.93) 35%,
        rgba(255,250,240,.64) 46%,
        rgba(255,250,240,.20) 58%,
        rgba(255,250,240,0) 70%
      ) !important;
  }
}

/* Tablet: keep more of the scene visible without letting the image
   become too small behind the copy. */
@media (max-width: 980px) and (min-width: 651px) {
  .hero-art {
    background-image: none !important;
  }

  .hero-art img {
    height: 100%;
    right: -12%;
  }
}

/* Phone: return to a lower storybook scene beneath the copy. */
@media (max-width: 650px) {
  .hero-art {
    background-image: none !important;
    background-color: #fbf5e8 !important;
  }

  .hero-art img {
    height: auto;
    width: 100%;
    max-width: none;
    right: 0;
    top: auto;
    bottom: 0;
    transform: none;
  }
}

/* ============================================================
   V6 HOME HERO READABILITY FIX
   Extend the cream/parchment veil behind the entire hero copy so
   the intro paragraph never washes into the scenic artwork.
   ============================================================ */

.hero-copy p {
  color: #20364f;
  font-weight: 500;
}

@media (min-width: 981px) {
  .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(255,250,240,1) 0%,
        rgba(255,250,240,.995) 28%,
        rgba(255,250,240,.97) 42%,
        rgba(255,250,240,.88) 53%,
        rgba(255,250,240,.60) 63%,
        rgba(255,250,240,.22) 74%,
        rgba(255,250,240,0) 84%
      ) !important;
  }
}

@media (max-width: 980px) and (min-width: 651px) {
  .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(255,250,240,.995) 0%,
        rgba(255,250,240,.98) 54%,
        rgba(255,250,240,.88) 68%,
        rgba(255,250,240,.52) 82%,
        rgba(255,250,240,.10) 100%
      ) !important;
  }
}

@media (max-width: 650px) {
  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(255,250,240,1) 0%,
        rgba(255,250,240,.995) 48%,
        rgba(255,250,240,.94) 61%,
        rgba(255,250,240,.62) 74%,
        rgba(255,250,240,.14) 100%
      ) !important;
  }
}
