/* Defined frames: retain rounded forms with a slightly stronger outline. */
:root {
  --line: rgba(48, 49, 45, 0.3);
}

.header {
  border-width: 1.5px;
  border-color: rgba(48, 49, 45, 0.3);
}

.progress {
  height: 2px;
}

.hero__pet {
  padding: 6px;
  box-shadow: 0 12px 28px rgba(63, 52, 59, 0.10);
}

.intro figure,
.mirror figure {
  padding: 6px;
  border-width: 1.5px;
  border-color: rgba(117, 128, 104, 0.8);
}

.space__keywords span {
  border-width: 1.5px;
  border-color: rgba(117, 128, 104, 0.75);
}

.space__gallery figure {
  padding: 6px;
  box-shadow: 0 12px 28px rgba(63, 52, 59, 0.07);
}

.experience li {
  border-width: 1.5px;
  border-color: rgba(255, 255, 255, 0.55);
}

.section-tag span {
  border-width: 1.5px;
}

/* Full-bleed hero with the message layered over the photograph. */
.hero {
  position: relative;
  display: block;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
  background: var(--ink);
}

.hero__visual {
  position: absolute;
  z-index: 0;
  inset: 0;
  min-height: 0;
}

.hero__main {
  border-radius: 0 0 170px 42px;
}

.hero__main::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(29, 29, 27, 0.72) 0%, rgba(29, 29, 27, 0.44) 42%, rgba(29, 29, 27, 0.08) 75%),
    linear-gradient(180deg, rgba(29, 29, 27, 0.12) 45%, rgba(29, 29, 27, 0.38) 100%);
  pointer-events: none;
}

.hero__main figcaption {
  z-index: 2;
  background: rgba(248, 245, 239, 0.88);
  backdrop-filter: blur(8px);
}

.hero__copy {
  position: relative;
  z-index: 4;
  width: min(72%, 820px);
  min-height: 100svh;
  justify-content: flex-start;
  padding: clamp(132px, 17vh, 190px) 0 90px clamp(34px, 7vw, 112px);
  color: var(--white);
  text-shadow: 0 2px 18px rgba(20, 20, 18, 0.18);
}

.hero__copy .eyebrow,
.hero .hero__copy h1 em,
.hero__copy > p:not(.eyebrow),
.hero__copy aside {
  color: var(--white);
}

.hero__copy .eyebrow,
.hero__copy > p:not(.eyebrow) {
  opacity: 0.9;
}

.hero__copy aside b {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.hero__pet {
  right: clamp(28px, 5vw, 74px);
  bottom: 34px;
  left: auto;
}

.hero__badge {
  top: 108px;
  right: clamp(28px, 4vw, 58px);
}

@media (max-width: 800px) {
  .hero {
    min-height: max(760px, 100svh);
  }

  .hero__main {
    border-radius: 0 0 88px 24px;
  }

  .hero__main::after {
    background:
      linear-gradient(180deg, rgba(29, 29, 27, 0.6) 0%, rgba(29, 29, 27, 0.3) 56%, rgba(29, 29, 27, 0.48) 100%),
      linear-gradient(90deg, rgba(29, 29, 27, 0.35), transparent 82%);
  }

  .hero__copy {
    width: 100%;
    min-height: max(760px, 100svh);
    padding: 112px 22px 245px;
  }

  .hero h1 {
    margin-top: 28px;
    font-size: clamp(30px, 8.7vw, 42px);
    line-height: 1.62;
  }

  .hero__copy > p:not(.eyebrow) {
    margin-top: 18px;
  }

  .hero__copy .pill-button {
    margin-top: 28px;
  }

  .hero__copy aside {
    margin-top: 24px;
  }

  .hero__pet {
    right: 18px;
    bottom: 20px;
    left: auto;
    width: 132px;
  }

  .hero__badge {
    top: auto;
    right: 28px;
    bottom: 174px;
    width: 72px;
    height: 72px;
  }

  .hero__main figcaption {
    right: auto;
    bottom: 26px;
    left: 20px;
  }
}

/* Subtle tonal depth, following the existing linen, sage and mauve palette. */
.intro {
  background:
    radial-gradient(ellipse at 8% 12%, rgba(255, 253, 248, .9), transparent 65%),
    linear-gradient(135deg, #f8f5ef 15%, #eee9df 100%);
}
.moments {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(248, 245, 239, .55), transparent 65%),
    linear-gradient(145deg, #e1e4d9 0%, #d8dccf 50%, #cbd1c0 100%);
}
.space {
  background:
    radial-gradient(ellipse at 88% 45%, rgba(216, 220, 207, .38), transparent 65%),
    linear-gradient(155deg, #f8f5ef 15%, #eee8df 100%);
}
.experience {
  background:
    radial-gradient(ellipse at 12% 0%, rgba(217, 185, 191, .16), transparent 70%),
    linear-gradient(125deg, #8c5867 0%, #80515f 60%, #704653 100%);
}
.mirror {
  background:
    radial-gradient(ellipse at 85% 20%, rgba(255, 253, 248, .7), transparent 65%),
    linear-gradient(145deg, #ede9df 10%, #e2dfd3 100%);
}
.closing {
  background:
    radial-gradient(ellipse at 10% 15%, rgba(216, 220, 207, .5), transparent 65%),
    linear-gradient(135deg, #aab1a0 5%, #929d88 100%);
}
.closing__panel {
  background: linear-gradient(135deg, #fffdf8 0%, #f8f5ef 45%, #ece5db 100%);
}
footer {
  background: linear-gradient(120deg, #373a33 0%, #30312d 50%, #292a27 100%);
}
/* Two equal destinations; wrap naturally when the panel is narrow. */
.closing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  width: 100%;
}
.closing__actions .pill-button {
  flex: 1 1 260px;
  width: auto;
  margin-top: 0;
}
.closing__actions .pill-button--line {
  background: #06C755;
  color: var(--white);
  box-shadow: 0 10px 24px rgba(6, 199, 85, .2);
}
.closing__actions .pill-button--line b {
  background: #ffffff;
  color: #087c38;
}
.closing__actions .pill-button:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}
/* Instagram-inspired brand gradient; LINE Green follows the official palette. */
.closing__actions .pill-button:not(.pill-button--line) {
  background: linear-gradient(115deg, #ff7a00 0%, #ff0169 40%, #d300c5 70%, #7638fa 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(211, 0, 197, .2);
}
.closing__actions .pill-button:not(.pill-button--line) b {
  background: #ffffff;
  color: #c00074;
}
.closing__actions .pill-button--line {
  color: #ffffff;
}