:root {
  --ink: #46313d;
  --text: #5b4451;
  --paper: #fffaf6;
  --white: #fffdfd;
  --blush: #ffd7e6;
  --rose: #f7c0d4;
  --rose-strong: #ef9cbb;
  --berry: #cf6a93;
  --butter: #ffe7ab;
  --mint: #ddeccf;
  --gold: #ffd86a;
  --line: rgba(91, 68, 81, 0.14);
  --shadow: 0 18px 50px rgba(126, 85, 104, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.7), transparent 22%),
    radial-gradient(circle at 85% 15%, rgba(255, 231, 171, 0.72), transparent 20%),
    radial-gradient(circle at 15% 80%, rgba(247, 192, 212, 0.55), transparent 22%),
    linear-gradient(160deg, #fff7fb 0%, #fff0f7 44%, #fff5e7 100%);
  color: var(--text);
  font-family: "Trebuchet MS", "Gill Sans", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 12px 12px, rgba(255, 255, 255, 0.5) 0 2px, transparent 2px),
    radial-gradient(circle at 30px 28px, rgba(247, 192, 212, 0.32) 0 2px, transparent 2px);
  background-size: 42px 42px;
  opacity: 0.5;
  pointer-events: none;
}

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

p,
ul,
h1,
h2,
h3 {
  margin: 0;
}

.page-shell {
  position: relative;
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 20px 0 56px;
}

.floating-bows {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.floating-bow {
  position: absolute;
  width: clamp(82px, 11vw, 150px);
  opacity: 0.95;
  filter: drop-shadow(0 12px 18px rgba(189, 108, 142, 0.18));
  animation: floaty 8s ease-in-out infinite;
}

.bow-one {
  top: 3%;
  left: 2%;
}

.bow-two {
  top: 18%;
  right: 4%;
  animation-delay: 1.3s;
}

.bow-three {
  bottom: 16%;
  left: 4%;
  animation-delay: 2.4s;
}

.bow-four {
  right: 2%;
  bottom: 6%;
  animation-delay: 3.1s;
}

.floating-sparkles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.sparkle {
  position: absolute;
  width: clamp(18px, 3vw, 34px);
  opacity: 0.92;
  filter: drop-shadow(0 0 12px rgba(255, 216, 106, 0.45));
  animation: twinkle 3.6s ease-in-out infinite;
}

.sparkle-one {
  top: 8%;
  left: 22%;
}

.sparkle-two {
  top: 22%;
  right: 16%;
  animation-delay: 0.6s;
}

.sparkle-three {
  top: 46%;
  left: 8%;
  animation-delay: 1.2s;
}

.sparkle-four {
  bottom: 28%;
  right: 8%;
  animation-delay: 1.8s;
}

.sparkle-five {
  bottom: 12%;
  left: 24%;
  animation-delay: 2.4s;
}

.sparkle-six {
  top: 60%;
  right: 28%;
  animation-delay: 3s;
}

.top-ribbon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid rgba(207, 106, 147, 0.18);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 240, 247, 0.84));
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(91, 68, 81, 0.72);
}

.top-ribbon p {
  min-width: 0;
  text-align: center;
}

.hero-highlight {
  margin-top: 18px;
  border-radius: 28px;
  border: 1px solid rgba(207, 106, 147, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 235, 244, 0.82));
  padding: 26px 28px;
  box-shadow: 0 18px 40px rgba(126, 85, 104, 0.12);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.logo-badge {
  margin: 0 auto 12px;
  width: clamp(140px, 16vw, 220px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 3px solid rgba(255, 217, 234, 0.9);
  padding: 6px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(255, 192, 212, 0.7));
  position: relative;
  filter: drop-shadow(0 12px 24px rgba(126, 85, 104, 0.2));
}

.logo-badge img {
  width: 100%;
  height: 100%;
  border-radius: 60%;
  object-fit: cover;
}

.speech-bubble {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #ffe8f2, #ffc6df);
  border-radius: 999px;
  padding: 8px 20px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  font-weight: 700;
  color: #5c2d3e;
  font-size: clamp(0.9rem, 1.3vw, 1.1rem);
  box-shadow: 0 6px 20px rgba(126, 85, 104, 0.25);
}

.logo-hearts {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.logo-hearts span {
  width: 16px;
  height: 16px;
  background: radial-gradient(circle, #ffc4d6 0%, #ff8fc2 80%);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(255, 173, 206, 0.7);
}

.hero-highlight p {
  margin-top: 12px;
  font-size: 1rem;
  color: rgba(70, 49, 61, 0.76);
}

.hero-stack.large {
  justify-items: center;
}

.hero-stack.large .polaroid {
  width: min(100%, 420px);
}

.layout {
  display: grid;
  gap: 24px;
  margin-top: 18px;
}

.hero-card,
.gallery-card,
.stats-card,
.quote-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 253, 253, 0.82), rgba(255, 244, 248, 0.74));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-card::before,
.gallery-card::before,
.stats-card::before,
.quote-card::before {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 230, 0.45), transparent 68%);
  z-index: -1;
}

.hero-card::before {
  right: -33px;
}

.hero-card::after,
.gallery-card::after,
.stats-card::after,
.quote-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 26px;
  pointer-events: none;
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 32px;
  align-items: center;
  padding: 34px;
}

.eyebrow,
.label,
.quote-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(91, 68, 81, 0.64);
}

h1,
h2,
h3,
.stat-value,
.quote-text {
  color: var(--ink);
  font-family: Didot, "Bodoni 72", "Times New Roman", serif;
}

h1 {
  margin-top: 14px;
  max-width: 8ch;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.92;
  text-transform: uppercase;
  text-wrap: balance;
}

h2 {
  margin-top: 10px;
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  line-height: 0.92;
}

h3 {
  margin-top: 10px;
  font-size: 2.15rem;
  line-height: 0.95;
}

.lead {
  max-width: 54ch;
  margin-top: 18px;
  font-size: 1.06rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  align-items: center;
}

.action-button,
.quote-button {
  position: relative;
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.7);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 12px 22px rgba(126, 85, 104, 0.14);
  min-height: 46px;
}

.action-button:hover,
.quote-button:hover,
.action-button:focus-visible,
.quote-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(126, 85, 104, 0.18);
  filter: saturate(1.05);
}

.primary {
  background: linear-gradient(180deg, #fffdfd 0%, #ffe6f0 100%);
  color: var(--berry);
}

.secondary {
  background: linear-gradient(180deg, #ffcfe0 0%, #f5a7c4 100%);
  color: #fffaf6;
}

.tertiary,
.quote-button {
  background: linear-gradient(180deg, #fff3c8 0%, #ffdca3 100%);
  color: #7b5d34;
}

.status-card,
.note-card,
.dossier-card,
.stat-pill {
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.status-card {
  max-width: 34rem;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 252, 253, 0.96), rgba(255, 233, 240, 0.82));
}

.status-card #status-text {
  margin-top: 8px;
  line-height: 1.6;
}

.mini-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
}

.mini-badges li {
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 241, 246, 0.88));
  border: 1px solid rgba(207, 106, 147, 0.16);
  font-size: 0.92rem;
}

.hero-stack {
  position: relative;
  display: grid;
  gap: 18px;
  justify-items: center;
  align-content: center;
}

.polaroid,
.note-card,
.dossier-card {
  position: relative;
  padding: 14px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 241, 0.94));
}

.polaroid {
  width: min(100%, 370px);
  box-shadow: 0 18px 34px rgba(126, 85, 104, 0.12);
}

.polaroid img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 22px;
}

.polaroid-sparkle {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: clamp(44px, 14%, 68px);
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.62;
  filter: drop-shadow(0 0 10px rgba(255, 216, 106, 0.28));
  pointer-events: none;
}

.polaroid p {
  padding: 12px 8px 4px;
  text-align: center;
  font-family: Georgia, serif;
  font-size: 0.98rem;
}

.pin {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fdf8f7 0%, #ffd8e5 100%);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.42);
  transform: translateX(-50%);
}

.main-polaroid {
  transform: rotate(-2deg);
}

.note-card {
  width: min(100%, 300px);
  padding: 22px 20px 18px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 244, 210, 0.74), rgba(255, 250, 246, 0.96));
}

.note-card p + p {
  margin-top: 10px;
  line-height: 1.6;
}

.note-bow,
.quote-bow,
.dossier-bow {
  width: 88px;
  position: absolute;
  right: 14px;
  top: -16px;
}

.section-heading {
  padding: 28px 28px 0;
}

.gallery-card,
.stats-card {
  padding-bottom: 28px;
}

.gallery-grid,
.stats-grid {
  display: grid;
  gap: 18px;
  padding: 20px 28px 0;
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.center-polaroid {
  transform: translateY(18px);
}

.tilt-left {
  transform: rotate(-2.2deg);
}

.tilt-right {
  transform: rotate(2.2deg);
}

.dossier-card {
  min-height: 100%;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255, 232, 242, 0.72), rgba(255, 250, 246, 0.96));
}

.dossier-card ul {
  margin-top: 16px;
  padding-left: 20px;
  line-height: 1.9;
}

.small-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(91, 68, 81, 0.22);
  line-height: 1.6;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-pill {
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 244, 248, 0.92));
}

.stat-pill.accent {
  background: linear-gradient(180deg, rgba(255, 233, 240, 0.92), rgba(255, 240, 186, 0.88));
}

.stat-value {
  margin-top: 14px;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.stat-pill p:last-child {
  margin-top: 8px;
  line-height: 1.6;
}

.quote-card {
  padding: 34px 24px;
  text-align: center;
}

.quote-card::before {
  inset: auto auto -80px -40px;
}

.quote-label {
  display: inline-block;
}

.quote-sparkle {
  position: absolute;
  top: 22px;
  width: 28px;
  filter: drop-shadow(0 0 10px rgba(255, 216, 106, 0.55));
}

.quote-sparkle-left {
  left: 30px;
}

.quote-sparkle-right {
  right: 30px;
}

.quote-text {
  width: min(17ch, 100%);
  margin: 18px auto 0;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 0.98;
  text-wrap: balance;
}

.quote-button {
  margin-top: 22px;
}

.recovery-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 30px;
  align-items: center;
  padding: 34px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 253, 253, 0.85), rgba(255, 241, 246, 0.8));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.recovery-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 26px;
  pointer-events: none;
}

.recovery-copy .status-card {
  max-width: 100%;
}

.recovery-quote {
  margin-top: 20px;
}

.recovery-quote .quote-text {
  width: min(15ch, 100%);
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.recovery-stack {
  display: grid;
  gap: 18px;
  justify-items: center;
}

.recovery-polaroid {
  width: min(100%, 410px);
}

.recovery-polaroid img {
  height: auto;
  aspect-ratio: 4 / 5;
}

.recovery-note {
  width: min(100%, 320px);
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(3deg);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.88);
  }

  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

@media (max-width: 980px) {
  .hero-card,
  .recovery-card,
  .gallery-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .top-ribbon {
    grid-template-columns: 1fr;
    text-align: center;
    border-radius: 28px;
    gap: 6px;
  }

  .hero-card {
    padding: 24px;
  }

  .recovery-card {
    padding: 24px;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(3rem, 10vw, 4.4rem);
  }

  .hero-stack {
    margin-top: 8px;
  }

  .polaroid,
  .note-card {
    width: 100%;
    max-width: 430px;
  }

  .center-polaroid,
  .tilt-left,
  .tilt-right,
  .main-polaroid {
    transform: none;
  }

  .section-heading,
  .gallery-grid,
  .stats-grid {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero-card::before {
    width: 160px;
    height: 160px;
    right: 12px;
    bottom: -46px;
    inset: auto auto -46px auto;
  }

  .gallery-card::before {
    right: -26px;
    bottom: -60px;
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 14px, 100%);
    padding-top: 14px;
    padding-bottom: 36px;
  }

  .hero-card,
  .recovery-card,
  .gallery-card,
  .stats-card,
  .quote-card {
    border-radius: 26px;
  }

  .hero-card {
    padding: 20px;
  }

  .recovery-card {
    padding: 20px;
  }

  .hero-highlight {
    padding: 22px 18px;
  }

  .top-ribbon {
    padding: 12px 14px;
    letter-spacing: 0.12em;
    font-size: 0.64rem;
  }

  .top-ribbon p {
    line-height: 1.4;
  }

  .section-heading,
  .gallery-grid,
  .stats-grid {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    max-width: 8ch;
    font-size: clamp(2.2rem, 10.5vw, 3.15rem);
    line-height: 0.96;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  h3 {
    font-size: 1.85rem;
  }

  .lead {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-actions {
    gap: 10px;
  }

  .action-button,
  .quote-button {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
  }

  .polaroid img {
    height: 280px;
  }

  .quote-text {
    width: min(13ch, 100%);
    font-size: clamp(1.85rem, 9vw, 2.7rem);
  }

  .floating-bow {
    width: 70px;
    opacity: 0.7;
  }

  .sparkle {
    width: 20px;
  }

  .polaroid-sparkle {
    width: clamp(42px, 18vw, 60px);
    opacity: 0.56;
  }
}
