/* Visitor stories and inspiration extend the homepage's existing paper palette. */
#morg-home .morg-discover {
  margin: 0 0 72px;
  scroll-margin-top: 100px;
}

#morg-home .morg-discover-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: end;
  gap: 28px 72px;
  margin-bottom: 30px;
}

#morg-home .morg-discover-heading h2 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(36px, 3.8vw, 46px);
  line-height: 1.12;
}

#morg-home .morg-discover-heading h2 em {
  color: var(--morg-orange, #c94b24);
}

#morg-home .morg-discover-heading p {
  max-width: 480px;
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

#morg-home .morg-idea-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}

#morg-home .morg-idea-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 19px;
  border: 1px solid var(--morg-line, #dedfd4);
  border-radius: 24px;
  background: #fff;
  color: var(--morg-ink, #252823);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

#morg-home .morg-idea-nav a:hover {
  border-color: var(--morg-orange, #c94b24);
  background: var(--morg-peach, #f2dac8);
}

#morg-home .morg-idea-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

#morg-home .morg-idea-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--morg-line, #dedfd4);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  scroll-margin-top: 100px;
}

#morg-home .morg-idea-card:nth-child(3n + 1) {
  background: var(--morg-paper, #f8f6f1);
}

#morg-home .morg-idea-card:nth-child(3n + 2) {
  background: var(--morg-peach, #f2dac8);
  border-color: #e2c5ae;
}

#morg-home .morg-idea-card:nth-child(3n + 3) {
  background: #e8eadd;
  border-color: #d5d9c7;
}

#morg-home .morg-idea-image {
  position: relative;
  margin: -26px -26px 24px;
  background: #efede7;
  overflow: hidden;
}

#morg-home .morg-idea-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
}

#morg-home .morg-idea-card:first-child .morg-idea-image img {
  object-fit: contain;
}

#morg-home .morg-idea-card:nth-child(3n + 2) .morg-idea-image {
  background: #efd7c2;
}

#morg-home .morg-idea-card:nth-child(3n + 3) .morg-idea-image {
  background: #dfe4d1;
}

#morg-home .morg-idea-card:nth-child(3n + 3) .morg-idea-image img {
  padding: 20px 28px;
}

#morg-home .morg-idea-image figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  width: fit-content;
  max-width: calc(100% - 28px);
  padding: 7px 10px;
  border: 1px solid #ffffff80;
  border-radius: 5px;
  background: #fffffff2;
  color: #50564a;
  font: 600 10px/1.45 Arial, Helvetica, sans-serif;
  letter-spacing: .02em;
}

#morg-home .morg-idea-card small {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 6px 9px;
  border: 1px solid #b8bdab;
  border-radius: 4px;
  color: #566047;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .04em;
}

#morg-home .morg-idea-card h3 {
  margin: 0 0 14px;
  font-size: 27px;
  line-height: 1.2;
}

#morg-home .morg-idea-card p {
  margin: 0 0 14px;
  color: #596055;
  font-size: 14px;
  line-height: 1.8;
}

#morg-home .morg-idea-card > .morg-link {
  align-self: flex-start;
  margin-top: auto;
}

#morg-home .morg-idea-card .morg-link {
  gap: 12px;
  padding-bottom: 0;
  line-height: 1.5;
}

#morg-home .morg-light-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  margin: 0 0 72px;
  border-radius: 12px;
  background: var(--morg-dark, #242e2a);
  overflow: hidden;
  scroll-margin-top: 100px;
}

#morg-home .morg-light-copy {
  align-self: center;
  padding: 48px;
}

#morg-home .morg-light-story .morg-eyebrow {
  color: #c1cabd;
}

#morg-home .morg-light-story h2 {
  max-width: 510px;
  margin: 22px 0;
  color: #f8f6f1 !important;
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.12;
}

#morg-home .morg-light-story h2 em {
  color: #edb18b;
}

#morg-home .morg-light-copy p {
  max-width: 470px;
  color: #d3dacd;
  font-size: 14px;
  line-height: 1.85;
}

#morg-home .morg-light-story .morg-link {
  color: #f3d0b5;
}

#morg-home .morg-light-story .morg-link:hover {
  color: #fff;
}

#morg-home .morg-light-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 36px 40px 32px;
  background: #1d2622;
  text-align: center;
}

#morg-home .morg-light-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 420px;
  margin: 0 0 18px;
  padding: 28px;
  border: 1px solid #4a574b;
  border-radius: 90px 90px 12px 12px;
  background: radial-gradient(ellipse at 50% 54%, #4b5548 0%, #333d33 50%, #263129 100%);
}

#morg-home .morg-light-frame img,
#morg-home .morg-light-frame svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 340px;
  aspect-ratio: 5 / 4;
  object-fit: contain;
  filter: grayscale(1) contrast(.12) brightness(1.4);
}

#morg-home .morg-light-demo.is-lit .morg-light-frame {
  border-color: #bfb69b;
  background: radial-gradient(ellipse at 50% 54%, #fff5ca 0%, #e3cea3 38%, #8e9473 76%, #43513a 100%);
  box-shadow: 0 0 35px #f9d78925, inset 0 0 35px #fff5d350;
}

#morg-home .morg-light-demo.is-lit .morg-light-frame img,
#morg-home .morg-light-demo.is-lit .morg-light-frame svg {
  filter: grayscale(.6) brightness(1.2) contrast(1.05) sepia(.2);
}

#morg-home .morg-light-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  max-width: 100%;
  margin: 0 0 12px;
  padding: 12px 20px;
  border: 1px solid #e8cbb2;
  border-radius: 24px;
  background: #f3d0b5;
  color: #242e2a;
  font: 600 12px/1.5 Arial, Helvetica, sans-serif;
  cursor: pointer;
}

#morg-home .morg-light-toggle:hover {
  background: #fff0de;
}

#morg-home .morg-light-toggle[hidden] {
  display: none;
}

#morg-home .morg-light-demo .morg-light-caption {
  max-width: 400px;
  margin: 0;
  color: #b8c4b7;
  font-size: 11px;
  line-height: 1.7;
}

#morg-home .morg-light-demo .morg-light-status {
  margin: 0 0 10px;
  color: #f1ddc2;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}

#morg-home .morg-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

#morg-home .morg-story-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--morg-line, #dedfd4);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

#morg-home .morg-story-photo {
  display: block;
  flex: 0 0 auto;
  width: calc(100% + 56px);
  margin: -28px -28px 26px;
}

#morg-home .morg-story-photo-frame {
  aspect-ratio: 3 / 2;
  background: #f0eeeb;
  overflow: hidden;
}

#morg-home .morg-story-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#morg-home .morg-story-photo figcaption {
  display: grid;
  gap: 5px;
  padding: 16px 28px 0;
  color: #626a5e;
  font-size: 11px;
  line-height: 1.65;
}

#morg-home .morg-story-photo-caption {
  color: #464e41;
  font-size: 12px;
  font-weight: 600;
}

#morg-home .morg-story-photo-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#morg-home .morg-story-photo-credit a:hover {
  color: var(--morg-orange, #c94b24);
}

#morg-home .morg-story-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
  color: #70776b;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .12em;
}

#morg-home .morg-story-meta > span:last-child {
  color: var(--morg-orange, #c94b24);
}

#morg-home .morg-story-card h3 {
  margin: 0 0 16px;
  font-size: 29px;
  line-height: 1.2;
}

#morg-home .morg-story-card p {
  margin: 0 0 18px;
  color: #626a5e;
  font-size: 14px;
  line-height: 1.85;
}

#morg-home .morg-story-card details {
  margin-top: auto;
  border-top: 1px solid var(--morg-line, #dedfd4);
}

#morg-home .morg-story-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
  padding: 15px 0;
  color: #464e41;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  list-style: none;
  cursor: pointer;
}

#morg-home .morg-story-card summary::-webkit-details-marker {
  display: none;
}

#morg-home .morg-story-card summary::after {
  content: '+';
  flex: 0 0 auto;
  color: var(--morg-orange, #c94b24);
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
}

#morg-home .morg-story-card details[open] summary::after {
  content: '\2212';
}

#morg-home .morg-story-more {
  margin-bottom: 10px;
  padding: 4px 0 2px;
}

#morg-home .morg-story-more p {
  font-size: 13px;
}

#morg-home .morg-story-more a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 0;
  color: #7f321c;
  font-size: 12px;
  line-height: 1.6;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

#morg-home .morg-story-more a:hover {
  color: var(--morg-orange, #c94b24);
}

#morg-home .morg-discover-note {
  display: block;
  width: 100%;
  margin: 20px 0 0;
  padding: 16px 20px;
  border-left: 2px solid #a9b49a;
  border-radius: 0 6px 6px 0;
  background: #eeefe5;
  color: #626a5b;
  font-size: 12px;
  line-height: 1.8;
}

#morg-home .morg-simple {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 24px 56px;
  margin: 0 0 72px;
  padding: 44px;
  border: 1px solid var(--morg-line, #dedfd4);
  border-radius: 12px;
  background: #fff;
  scroll-margin-top: 100px;
}

#morg-home .morg-simple h2 {
  margin: 16px 0 22px;
  font-size: 44px;
  line-height: 1.15;
}

#morg-home .morg-simple h2 em {
  color: var(--morg-orange, #c94b24);
}

#morg-home .morg-simple > p,
#morg-home .morg-simple-copy p,
#morg-home .morg-simple-heading p {
  max-width: 540px;
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
}

#morg-home .morg-simple-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-column: 1 / -1;
  gap: 24px;
  margin-top: 10px;
  padding-top: 28px;
  border-top: 1px solid var(--morg-line, #dedfd4);
}

#morg-home .morg-simple-step {
  min-width: 0;
  padding-right: 8px;
}

#morg-home .morg-simple-step > span:first-child,
#morg-home .morg-simple-step .morg-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  margin: 0 0 16px;
  border-radius: 50%;
  background: #f4e4d8;
  color: #a43c1c;
  font: italic 26px/1 Georgia, 'Times New Roman', serif;
}

#morg-home .morg-simple-step h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.25;
}

#morg-home .morg-simple-step p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
}

#morg-home .morg-industry-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  margin: 0 0 72px;
  padding: 25px 30px;
  border: 1px solid var(--morg-line, #dedfd4);
  border-radius: 10px;
  background: #f1f1e8;
}

#morg-home .morg-industry-compact h3 {
  margin: 0 0 8px;
  font-size: 23px;
  line-height: 1.25;
}

#morg-home .morg-industry-compact p {
  max-width: 790px;
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
}

#morg-home .morg-industry-compact > .morg-link {
  flex: 0 0 auto;
}

@media (max-width: 1023px) {
  #morg-home .morg-discover-heading {
    gap: 28px;
  }

  #morg-home .morg-idea-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  #morg-home .morg-light-copy {
    padding: 34px;
  }

  #morg-home .morg-light-demo {
    padding: 30px 26px;
  }

  #morg-home .morg-light-frame {
    padding: 20px;
  }

  #morg-home .morg-story-grid {
    gap: 20px;
  }

  #morg-home .morg-story-card h3 {
    font-size: 26px;
  }

  #morg-home .morg-simple {
    gap: 24px 32px;
    padding: 34px;
  }

  #morg-home .morg-simple h2 {
    font-size: 38px;
  }

  #morg-home .morg-simple-steps {
    gap: 20px;
  }

  #morg-home .morg-industry-compact {
    gap: 24px;
  }
}

@media (max-width: 767px) {
  #morg-home .morg-discover,
  #morg-home .morg-light-story,
  #morg-home .morg-simple,
  #morg-home .morg-industry-compact {
    margin-bottom: 40px;
  }

  #morg-home .morg-discover-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 24px;
  }

  #morg-home .morg-discover-heading h2,
  #morg-home .morg-light-story h2,
  #morg-home .morg-simple h2 {
    font-size: 34px;
    line-height: 1.15;
  }

  #morg-home .morg-discover-heading p {
    max-width: 580px;
  }

  #morg-home .morg-idea-nav {
    gap: 8px;
    margin-bottom: 20px;
  }

  #morg-home .morg-idea-nav a {
    flex: 1 0 auto;
    padding: 10px 14px;
  }

  #morg-home .morg-idea-grid,
  #morg-home .morg-story-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  #morg-home .morg-idea-card {
    padding: 24px;
  }

  #morg-home .morg-idea-image {
    margin: -24px -24px 22px;
  }

  #morg-home .morg-idea-card h3 {
    font-size: 27px;
  }

  #morg-home .morg-light-story {
    grid-template-columns: minmax(0, 1fr);
  }

  #morg-home .morg-light-copy {
    padding: 30px;
  }

  #morg-home .morg-light-demo {
    padding: 28px 26px 30px;
  }

  #morg-home .morg-light-frame {
    max-width: 390px;
    padding: 24px;
    border-radius: 70px 70px 10px 10px;
  }

  #morg-home .morg-story-card {
    padding: 24px;
  }

  #morg-home .morg-story-photo {
    width: calc(100% + 48px);
    margin: -24px -24px 24px;
  }

  #morg-home .morg-story-photo figcaption {
    padding-right: 24px;
    padding-left: 24px;
  }

  #morg-home .morg-story-card h3 {
    font-size: 27px;
  }

  #morg-home .morg-story-card summary {
    min-height: 56px;
    font-size: 13px;
  }

  #morg-home .morg-discover-note {
    margin-top: 18px;
    padding: 15px 18px;
  }

  #morg-home .morg-simple {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 28px;
  }

  #morg-home .morg-simple h2 {
    margin-bottom: 0;
  }

  #morg-home .morg-simple-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    margin-top: 4px;
    padding-top: 24px;
  }

  #morg-home .morg-simple-step {
    padding-right: 0;
  }

  #morg-home .morg-simple-step > span:first-child,
  #morg-home .morg-simple-step .morg-step-number {
    margin-bottom: 12px;
  }

  #morg-home .morg-simple-step p {
    font-size: 14px;
  }

  #morg-home .morg-industry-compact {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 24px;
  }

  #morg-home .morg-industry-compact h3 {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #morg-home .morg-discover *,
  #morg-home .morg-light-story *,
  #morg-home .morg-simple *,
  #morg-home .morg-industry-compact * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
