/*
  Two-section integration pass.
  The approved winter artwork, snowfall, portrait, palette, and destinations
  remain inherited from the preceding timestamped version.
*/

.hero-content {
  align-content: start;
  row-gap: clamp(.9rem, 1.7vw, 1.35rem);
}

.hero-actions {
  align-self: start;
  gap: clamp(.55rem, 1vw, .8rem);
}

.hero-actions .magic-button {
  --action-color: #4ea183;
  position: relative;
  isolation: isolate;
  min-height: 84px;
  padding: .9rem .8rem .8rem 4.5rem;
  color: #fffaf0;
  background:
    radial-gradient(circle at 2.2rem 50%, var(--action-color), transparent 4.6rem),
    linear-gradient(155deg, rgba(255,255,255,.16), rgba(4,22,31,.9));
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 4rem 4rem 1.05rem 1.05rem / 2.8rem 2.8rem 1.05rem 1.05rem;
  box-shadow: 0 16px 32px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.2);
  overflow: hidden;
}

.hero-actions .magic-button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, rgba(255,255,255,.1), transparent 42%);
}

.hero-actions .magic-button:hover,
.hero-actions .magic-button:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(255,231,165,.72);
}

.hero-actions .magic-button-gold { --action-color: #4ea183; }
.hero-actions .magic-button-clear { --action-color: #d24b56; }
.hero-actions .magic-button-note { --action-color: #dba946; }
.hero-actions .magic-button-calendar { --action-color: #78c2cf; }

.hero-actions .magic-button small {
  color: rgba(255,255,255,.72);
}

.hero-actions .button-flake {
  position: absolute;
  left: .85rem;
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  color: white;
  background: radial-gradient(circle at 35% 28%, rgba(255,255,255,.58), var(--action-color) 40%, #142d35 112%);
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 50%;
  box-shadow: inset -6px -8px 14px rgba(0,0,0,.2), 0 7px 15px rgba(0,0,0,.22);
  font-size: 1.2rem;
}

.hero-actions .button-flake::before {
  content: "";
  position: absolute;
  top: -.5rem;
  left: 50%;
  width: .85rem;
  height: .48rem;
  border: 2px solid var(--gold);
  border-bottom: 0;
  border-radius: .35rem .35rem 0 0;
  transform: translateX(-50%);
}

.path {
  min-height: 100svh;
  display: grid;
  align-content: center;
}

.path-intro {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: 3rem;
}

.path-heading {
  max-width: 680px;
  margin-bottom: 0;
}

.heart-note {
  margin: 0;
  padding: 1.35rem 1.5rem;
  color: #e4f1ec;
  background: linear-gradient(150deg, rgba(47,113,101,.68), rgba(6,32,39,.88));
  border: 1px solid rgba(255,231,165,.36);
  border-radius: 3.5rem 3.5rem 1.2rem 1.2rem;
  box-shadow: 0 18px 34px rgba(0,0,0,.2), inset 0 1px rgba(255,255,255,.13);
  font: italic 1rem/1.55 var(--display);
}

.heart-note span {
  color: var(--gold);
  font-style: normal;
}

.heart-note p {
  margin: .45rem 0 .55rem;
}

.heart-note cite {
  color: var(--gold-pale);
  font: 700 .76rem/1 var(--sans);
  letter-spacing: .04em;
}

footer {
  align-items: center;
}

.footer-contact {
  display: flex;
  gap: clamp(.8rem, 2vw, 1.5rem);
  flex-wrap: wrap;
  justify-content: center;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #e4eee9;
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  .hero-actions .magic-button {
    min-height: 70px;
    padding: .7rem .65rem .65rem 3.9rem;
  }

  .hero-actions .button-flake {
    left: .7rem;
    width: 2.55rem;
    height: 2.55rem;
  }

  .path-intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .heart-note {
    max-width: 620px;
  }
}

@media (max-width: 720px) {
  .hero-content {
    row-gap: .32rem;
  }

  .hero-actions .magic-button {
    min-height: 52px;
    padding: .45rem .4rem .45rem 2.75rem;
    border-radius: 2.5rem 2.5rem .8rem .8rem / 1.8rem 1.8rem .8rem .8rem;
  }

  .hero-actions .button-flake {
    left: .42rem;
    width: 1.85rem;
    height: 1.85rem;
    font-size: .8rem;
  }

  .hero-actions .button-flake::before {
    top: -.34rem;
    width: .6rem;
    height: .33rem;
    border-width: 1px;
  }

  .path {
    min-height: auto;
  }

  .path-intro {
    margin-bottom: 2rem;
  }

  .heart-note {
    border-radius: 2rem 2rem 1rem 1rem;
  }

  footer,
  .footer-contact {
    flex-direction: column;
  }
}

@media (max-width: 440px) and (max-height: 680px) {
  .hero-content {
    row-gap: .12rem;
  }

  .hero-actions .magic-button {
    min-height: 46px;
    padding-left: 2.45rem;
  }

  .hero-actions .button-flake {
    left: .35rem;
    width: 1.65rem;
    height: 1.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-actions .magic-button {
    transition: none;
  }
}
