/* A personal, tactile homepage using the original artwork, palette, and type. */
body[data-page="home"] .season-ribbon {
  display: none;
}

body[data-page="home"] .hero-section {
  --hero-wash: linear-gradient(90deg, rgba(248,245,238,.86) 0%, rgba(248,245,238,.80) 36%, rgba(248,245,238,.50) 57%, rgba(248,245,238,.14) 100%);
  background-image: var(--hero-wash), image-set(
    url('/assets/optimized/holiday-time-together-1600.webp') type('image/webp'),
    url('/assets/photos/holiday-time-together.jpg') type('image/jpeg')
  );
}

body[data-page="home"] .hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 32px;
  min-height: 650px;
  padding-top: 62px;
  padding-bottom: 62px;
  overflow: visible;
}

body[data-page="home"] .hero-copy,
body[data-page="home"] .hero-art {
  min-width: 0;
}

body[data-page="home"] .hero-copy .eyebrow,
body[data-page="home"] .home-purpose .eyebrow,
body[data-page="home"] .home-process .eyebrow {
  color: var(--evergreen);
  font-size: .875rem;
  line-height: 1.6;
  letter-spacing: .11em;
  margin-bottom: 20px;
}

body[data-page="home"] .hero h1 {
  font-size: clamp(44px, 5.7vw, 78px);
  line-height: 1.1;
  letter-spacing: -.045em;
  margin-left: -2px;
}

body[data-page="home"] .hero-description {
  max-width: 450px;
  margin-top: 24px;
  color: #514a40;
  font-size: 1rem;
  line-height: 1.8;
}

body[data-page="home"] .hero-description strong {
  color: var(--evergreen);
  font-weight: 700;
}

body[data-page="home"] .home-connection-counter {
  max-width: 450px;
  margin: 18px 0;
  padding: 4px 0 4px 16px;
  border-left: 3px solid var(--red);
}

body[data-page="home"] .home-connection-total {
  margin: 0;
  min-height: 2.125rem;
  color: var(--evergreen);
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

body[data-page="home"] .home-connection-total strong {
  margin-right: .2em;
  color: var(--red);
  font-size: 1.625rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

body[data-page="home"] .home-connection-goal,
body[data-page="home"] .home-connection-status {
  margin: 2px 0 0;
  color: #514a40;
  font-size: .875rem;
  line-height: 1.6;
}

body[data-page="home"] .home-connection-status {
  margin-top: 6px;
}

body[data-page="home"] .hero-invitation {
  max-width: 450px;
  margin: 12px 0 0;
  color: #514a40;
  font-size: 1rem;
  line-height: 1.8;
}

body[data-page="home"] .hero-actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 22px;
}

body[data-page="home"] .hero .button {
  min-height: 48px;
  font-size: .875rem;
  padding: 14px 20px;
  gap: 18px;
}

body[data-page="home"] .hero-mailed-choice {
  min-height: 44px;
  font-size: .875rem;
  line-height: 1.6;
  text-align: left;
}

body[data-page="home"] .home-hero-note {
  max-width: 430px;
  margin-top: 14px;
  color: #5f574d;
  font-size: .875rem;
  line-height: 1.7;
}

body[data-page="home"] .hero-art {
  width: 100%;
  max-width: 500px;
  height: auto;
  aspect-ratio: 1;
  margin: 0;
  transform: none;
  align-self: center;
  justify-self: center;
}

body[data-page="home"] .hero-art .envelope {
  width: 82%;
  height: 46%;
  left: 12%;
  top: 35%;
  transform: rotate(8deg);
  box-shadow: 0 28px 40px -17px #23352b70;
}

body[data-page="home"] .home-hero-cover {
  position: absolute;
  width: 43%;
  height: auto;
  left: 51%;
  top: 0;
  z-index: 1;
  transform: rotate(8deg);
  box-shadow: 5px 15px 25px #4c302047;
  pointer-events: none;
}

body[data-page="home"] .hero-gift.design-hero-gift.original-hero-gift {
  width: 82%;
  left: 0;
  top: 32%;
  z-index: 2;
  transform: rotate(-8deg);
  filter: drop-shadow(0 16px 18px #4c302039);
}

body[data-page="home"] .hero-gift.design-hero-gift.original-hero-gift:hover {
  transform: rotate(-5deg) translateY(-3px);
}

body[data-page="home"] .hero-section .art-bottom {
  display: block;
  left: 4%;
  bottom: 0;
  width: 92%;
  margin: 0;
  padding: 9px 12px;
  background: #fffaf1e8;
  border-radius: 2px;
  color: var(--evergreen);
  font-size: .875rem;
  line-height: 1.6;
  text-align: center;
}

body[data-page="home"] .home-film-band {
  background: linear-gradient(135deg, var(--cream), #eee5d6);
  border-top: 1px solid #e0d5c5;
}

body[data-page="home"] .home-film {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(32px, 7vw, 96px);
  padding-top: 64px;
  padding-bottom: 64px;
}

body[data-page="home"] .home-film-copy {
  min-width: 0;
  max-width: 480px;
}

body[data-page="home"] .home-film-copy .eyebrow {
  color: var(--evergreen);
  font-size: .875rem;
  letter-spacing: .11em;
}

body[data-page="home"] .home-film h2 {
  font: 400 clamp(34px, 3.7vw, 49px)/1.18 var(--serif);
  letter-spacing: -.035em;
  margin: 16px 0 22px;
}

body[data-page="home"] .home-film-copy > p:not(.eyebrow) {
  color: #514a40;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

body[data-page="home"] .home-film-copy > p.home-film-invitation {
  color: var(--evergreen);
  font: italic 1.625rem/1.5 var(--serif);
  margin-top: 22px;
}

body[data-page="home"] .home-film-feature {
  min-width: 0;
  width: min(100%, 344px);
  margin: 0 auto;
}

body[data-page="home"] .home-film-feature video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  background: var(--evergreen);
  border: 1px solid #cbb795;
  border-radius: 12px;
  box-shadow: 0 18px 40px #4c302029;
}

body[data-page="home"] .home-film-feature video:focus-visible {
  outline: 2px solid var(--evergreen);
  outline-offset: 5px;
}

body[data-page="home"] .home-purpose,
body[data-page="home"] .mailed-signature {
  padding-top: 80px;
  padding-bottom: 80px;
}

body[data-page="home"] .home-purpose-band {
  background: var(--evergreen);
  color: var(--cream);
  border-top: 5px solid var(--red);
}

body[data-page="home"] .home-purpose {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  border-bottom: 0;
}

body[data-page="home"] .home-purpose-photo {
  min-width: 0;
  margin: 0;
  padding: 11px 11px 0;
  background: var(--cream);
  box-shadow: 0 22px 45px #0d241c66;
  transform: rotate(-2deg);
}

body[data-page="home"] .home-purpose-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

body[data-page="home"] .home-purpose-photo figcaption {
  padding: 15px 6px 18px;
  margin: 0;
  color: var(--evergreen);
  font: italic 1.125rem/1.5 var(--serif);
  text-align: center;
}

body[data-page="home"] .home-purpose-copy {
  min-width: 0;
  max-width: 450px;
}

body[data-page="home"] .home-purpose-copy > p:not(.eyebrow) {
  color: #f0eade;
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 0 16px;
}

body[data-page="home"] .home-purpose-copy .text-link {
  margin-top: 8px;
  color: var(--cream);
  border-color: #c9b892;
}

body[data-page="home"] .home-purpose .eyebrow {
  color: #e1cea9;
}

body[data-page="home"] .home-purpose h2 em {
  color: #efd3a4;
}

body[data-page="home"] .home-purpose .text-link:focus-visible {
  outline-color: #efd3a4;
}

body[data-page="home"] .mailed-example-cover > p {
  color: var(--evergreen);
}

body[data-page="home"] .mailed-example-art {
  background: #e9e4d8;
  border: 1px solid #d6c7ae;
  border-radius: 2px;
  box-shadow: 0 18px 40px #4c30201a;
}

body[data-page="home"] .mailed-example-cover img {
  transform: rotate(-7deg);
}

body[data-page="home"] .mailed-example-insert {
  transform: rotate(2deg);
}

body[data-page="home"] .home-purpose h2,
body[data-page="home"] .mailed-signature h2,
body[data-page="home"] .home-process h2 {
  font: 400 clamp(34px, 3.7vw, 49px)/1.18 var(--serif);
  letter-spacing: -.035em;
  margin: 16px 0 22px;
}

body[data-page="home"] .home-purpose .text-link,
body[data-page="home"] .mailed-signature .text-link,
body[data-page="home"] .home-process .text-link {
  min-height: 44px;
  font-size: .875rem;
  line-height: 1.6;
}

body[data-page="home"] .home-process {
  padding-top: 72px;
  padding-bottom: 80px;
}

body[data-page="home"] .home-process-band {
  --muted: #665e53;
  background: var(--soft-green);
  border-top: 1px solid #d7dfd1;
}

body[data-page="home"] .home-process-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: 30px;
}

body[data-page="home"] .home-process-heading h2 {
  margin-bottom: 0;
}

body[data-page="home"] .home-process-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
}

body[data-page="home"] .home-process-steps li {
  min-width: 0;
  border-left: 2px solid #b29469;
  padding-left: 22px;
}

body[data-page="home"] .home-step-number {
  color: var(--red);
  font: italic 1.75rem/1.3 var(--serif);
}

body[data-page="home"] .home-process-steps h3 {
  font: 400 1.6rem/1.3 var(--serif);
  letter-spacing: -.025em;
  margin: 14px 0 12px;
}

body[data-page="home"] .home-process-steps p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}

body[data-page="home"] .home-starters {
  margin-top: 64px;
  padding-top: 44px;
  border-top: 1px solid #ccd5c6;
}

body[data-page="home"] .home-starters > h3 {
  font: 400 clamp(28px, 3vw, 36px)/1.25 var(--serif);
  letter-spacing: -.025em;
  margin: 0 0 12px;
}

body[data-page="home"] .home-starters > p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.7;
}

body[data-page="home"] .home-starter-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

body[data-page="home"] .home-promise-example {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 12px 24px;
  background: var(--cream);
  border: 1px solid #e0d5c5;
  box-shadow: 0 15px 28px #20382b1c;
  transform: rotate(-1.5deg);
}

body[data-page="home"] .home-promise-example:nth-child(2) {
  transform: translateY(12px) rotate(1.5deg);
}

body[data-page="home"] .home-promise-example:nth-child(3) {
  transform: rotate(-1deg);
}

body[data-page="home"] .home-promise-example > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 0;
}

body[data-page="home"] .home-promise-example > h4 {
  font: 400 1.5rem/1.3 var(--serif);
  letter-spacing: -.025em;
  margin: 20px 12px 10px;
}

body[data-page="home"] .home-promise-example > p {
  color: #605747;
  font: italic 1.125rem/1.6 var(--serif);
  margin: 0 12px 20px;
}

body[data-page="home"] .home-starter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 10px 0;
  margin: auto 12px 0;
  color: var(--evergreen);
  font: 400 .875rem/1.6 var(--sans);
  text-align: left;
}

body[data-page="home"] .home-starter:hover {
  border-color: var(--evergreen);
}

body[data-page="home"] .home-starter:focus-visible {
  outline: 2px solid var(--evergreen);
  outline-offset: 5px;
}

body[data-page="home"] .home-starters > .home-photo-note {
  margin: 40px 0 0;
  font-size: .8125rem;
}

@media (max-width: 900px) {
  body[data-page="home"] .hero-section {
    background-image: var(--hero-wash), image-set(
      url('/assets/optimized/holiday-time-together-900.webp') type('image/webp'),
      url('/assets/photos/holiday-time-together.jpg') type('image/jpeg')
    );
  }

  body[data-page="home"] .hero {
    gap: 24px;
    min-height: 0;
    padding-top: 44px;
    padding-bottom: 44px;
  }

  body[data-page="home"] .hero-art {
    margin-bottom: 60px;
  }

  body[data-page="home"] .hero-section .art-bottom {
    top: calc(100% + 6px);
    bottom: auto;
  }

  body[data-page="home"] .home-film,
  body[data-page="home"] .home-purpose,
  body[data-page="home"] .mailed-signature,
  body[data-page="home"] .home-process {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  body[data-page="home"] .home-process-steps,
  body[data-page="home"] .home-starter-options {
    gap: 24px;
  }
}

@media (max-width: 700px) {
  body[data-page="home"] .hero-section {
    --hero-wash: linear-gradient(180deg, rgba(248,245,238,.88) 0%, rgba(248,245,238,.84) 48%, rgba(248,245,238,.45) 72%, rgba(248,245,238,.18) 100%);
  }

  body[data-page="home"] .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-top: 34px;
    padding-bottom: 40px;
  }

  body[data-page="home"] .hero h1 {
    font-size: clamp(40px, 10.8vw, 60px);
  }

  body[data-page="home"] .hero-description {
    margin-top: 20px;
  }

  body[data-page="home"] .hero-art {
    max-width: 440px;
    margin: 8px auto 60px;
  }

  body[data-page="home"] .hero-section .art-bottom {
    padding: 8px;
    font-size: .8125rem;
  }

  body[data-page="home"] .home-film,
  body[data-page="home"] .home-purpose,
  body[data-page="home"] .home-process-steps,
  body[data-page="home"] .home-starter-options {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  body[data-page="home"] .home-process-heading {
    margin-bottom: 24px;
  }

  body[data-page="home"] .home-process-steps li {
    padding-left: 20px;
  }

  body[data-page="home"] .home-purpose-photo {
    transform: rotate(-1deg);
  }

  body[data-page="home"] .mailed-example-insert,
  body[data-page="home"] .home-promise-example,
  body[data-page="home"] .home-promise-example:nth-child(2),
  body[data-page="home"] .home-promise-example:nth-child(3) {
    transform: none;
  }

  body[data-page="home"] .home-starters {
    margin-top: 36px;
  }

  body[data-page="home"] .home-starter-options {
    gap: 36px;
  }
}

@media (max-width: 420px) {
  body[data-page="home"] .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  body[data-page="home"] .hero-actions .button {
    justify-content: center;
  }

  body[data-page="home"] .hero-mailed-choice {
    align-self: center;
  }

}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .hero-gift.design-hero-gift.original-hero-gift:hover {
    transform: rotate(-8deg);
  }
}
