:root {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --title-font: 'Fredoka', 'Poppins', Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bg: #fff2df;
  --ink: #11131b;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  background-color: var(--bg);
  background-image: radial-gradient(circle, rgba(17, 19, 27, 0.06) 1.4px, transparent 1.6px);
  background-size: 16px 16px;
  color: var(--ink);
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  line-height: 1.5;
}

a {
  color: inherit;
}

.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  padding: clamp(20px, 3vw, 32px) 24px 0;
}

.header-right {
  position: absolute;
  right: clamp(20px, 3vw, 32px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-nav-link {
  color: var(--ink);
  font-family: var(--title-font);
  font-weight: 700;
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.16s ease;
}

.header-nav-link:hover {
  border-color: var(--ink);
}

.site-logo {
  display: inline-flex;
  width: clamp(110px, 13vw, 150px);
}

.site-logo img {
  width: 100%;
  height: auto;
  display: block;
}

/* Hero: full screen */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  overflow: hidden;
}

.hero-noise-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-noise-item {
  position: absolute;
  left: var(--noise-left);
  top: var(--noise-top);
  width: var(--noise-size);
  height: var(--noise-size);
  opacity: var(--noise-opacity);
  transform: translate(-50%, -50%) rotate(var(--noise-rotate));
  fill: none;
  stroke: #c9a98a;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: auto;
}

.hero-noise-item path,
.hero-noise-item line {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: noise-draw 1.6s cubic-bezier(.4, 0, .2, 1) forwards;
  animation-delay: var(--draw-delay, 0s);
}

.hero-noise-item circle {
  fill: #c9a98a;
  stroke: none;
  opacity: 0;
  animation: noise-dot-in 0.4s ease forwards;
  animation-delay: calc(var(--draw-delay, 0s) + 1.4s);
}

@keyframes noise-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes noise-dot-in {
  to { opacity: 1; }
}

.hero-noise-item.is-settled path,
.hero-noise-item.is-settled line {
  animation: none;
  stroke-dashoffset: 0;
}

.hero-noise-item.is-settled circle {
  animation: none;
  opacity: 1;
}

.hero-noise-item.is-settled:hover path,
.hero-noise-item.is-settled:hover line {
  animation: noise-redraw 0.7s ease;
}

.hero-noise-item.is-settled:hover circle {
  animation: noise-dot-redraw 0.3s ease 0.5s;
}

@keyframes noise-redraw {
  0% { stroke-dashoffset: 220; }
  100% { stroke-dashoffset: 0; }
}

@keyframes noise-dot-redraw {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.hero-title-wrap {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.hero h1 {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--ink);
  font-family: var(--title-font);
  font-weight: 700;
  font-size: clamp(3.6rem, 11vw, 9rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
}

.hero-line-1 {
  display: inline-block;
  transform: rotate(-1.5deg);
  transition: transform 0.25s cubic-bezier(.2, 1.4, .3, 1);
}

.hero-line-1:hover {
  transform: scale(1.03) rotate(-2.5deg);
}

.hero-brinque {
  display: inline-block;
  transform: rotate(1.5deg);
  letter-spacing: 0.06em;
}

.hero-letter {
  position: relative;
  display: inline-block;
  opacity: 0;
  transform: translateY(24px) scale(0.5);
  animation: hero-letter-in 0.55s cubic-bezier(.2, 1.5, .3, 1) both;
}

.hero-letter:nth-child(1) { animation-delay: 0.05s; }
.hero-letter:nth-child(2) { animation-delay: 0.1s; }
.hero-letter:nth-child(3) { animation-delay: 0.15s; }
.hero-letter:nth-child(4) { animation-delay: 0.2s; }
.hero-letter:nth-child(5) { animation-delay: 0.25s; }
.hero-letter:nth-child(6) { animation-delay: 0.3s; }
.hero-letter:nth-child(7) { animation-delay: 0.35s; }

@keyframes hero-letter-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-letter.is-settled {
  animation: none;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: transform 0.3s cubic-bezier(.34, 1.56, .64, 1), filter 0.3s ease;
}

.hero-letter.is-settled:hover,
.hero-letter.is-settled:focus-visible {
  transform: translateY(-12px) scale(1.08) rotate(-3deg);
  filter: drop-shadow(0 0 16px var(--c));
  cursor: default;
}

.hero-sticker {
  position: absolute;
  left: var(--s-left);
  top: var(--s-top);
  width: var(--s-size);
  height: var(--s-size);
  object-fit: contain;
  z-index: 1;
  filter: drop-shadow(0 8px 14px rgba(17, 19, 27, 0.18));
  opacity: 0;
  transform: translate(-50%, -50%) rotate(var(--s-rotate)) scale(0.3);
  animation: hero-sticker-in 0.6s cubic-bezier(.2, 1.6, .3, 1) both;
  animation-delay: var(--s-delay, 0s);
  transition: transform 0.25s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes hero-sticker-in {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(var(--s-rotate)) scale(1);
  }
}

.hero-sticker.is-settled {
  animation: none;
  opacity: 1;
  transform: translate(calc(-50% + var(--mx, 0px)), calc(-50% + var(--my, 0px))) rotate(var(--s-rotate)) scale(var(--m-scale, 1));
  transition: transform 0.2s ease-out;
}

.hero-letter-outline-white {
  position: absolute;
  inset: 0;
  transform: translateY(3px);
  color: transparent;
  -webkit-text-stroke: 19px #ffffff;
  z-index: -1;
}

.hero-letter-outline {
  position: absolute;
  inset: 0;
  transform: translateY(3px);
  color: transparent;
  -webkit-text-stroke: 11px var(--c-dark, color-mix(in srgb, var(--c) 80%, #11131b 20%));
  z-index: 0;
}

.hero-letter-fill {
  position: relative;
  z-index: 1;
  color: var(--c-light, color-mix(in srgb, var(--c) 72%, white 28%));
  text-shadow: 0 6px 0 var(--c, color-mix(in srgb, var(--c-dark, #11131b) 60%, white 40%));
}

.hero-letter-shine {
  position: absolute;
  z-index: 2;
  top: var(--sy, 40%);
  left: var(--sx, 18%);
  width: var(--sw, 14%);
  height: var(--sh, 10%);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  transform: rotate(var(--srot, -16deg));
  pointer-events: none;
}

.hero-text {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 620px;
  color: rgba(17, 19, 27, 0.72);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 700;
  line-height: 1.45;
}

.hero-quote-arrow {
  display: block;
  width: 34px;
  height: 54px;
  margin: clamp(10px, 1.6vw, 18px) 0 0 clamp(4px, 1vw, 14px);
  overflow: visible;
  fill: none;
  stroke: #c9a98a;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-quote-arrow path {
  stroke-dasharray: 110;
  stroke-dashoffset: 110;
  animation: noise-draw 1.2s cubic-bezier(.4, 0, .2, 1) forwards;
  animation-delay: 1.8s;
}

.hero-quote {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: clamp(10px, 2vw, 20px) 0 0;
  max-width: 460px;
  color: #c9a98a;
  font-family: 'Kalam', cursive;
  font-weight: 700;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  line-height: 1.2;
  opacity: 0;
  transform: rotate(-2deg) translateY(6px) scale(0.94);
  animation: hero-quote-in 0.5s cubic-bezier(.34, 1.56, .64, 1) forwards;
  animation-delay: 3s;
}

@keyframes hero-quote-in {
  to {
    opacity: 1;
    transform: rotate(-2deg) translateY(0) scale(1);
  }
}

.hero-quote-break {
  display: none;
}

/* Picks: two rotated, overlapping cards (not a grid) */

.picks-section {
  position: relative;
  padding: clamp(8px, 1.5vw, 16px) 24px clamp(90px, 10vw, 140px);
  overflow: hidden;
}

.picks-wave {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  width: 84%;
  height: clamp(130px, 20vw, 230px);
  transform: translateY(-50%);
  z-index: 0;
  fill: none;
  stroke: #c9a98a;
  stroke-width: 18;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.3;
  pointer-events: none;
}

.picks-wave path {
  stroke-dasharray: 1700;
  stroke-dashoffset: 1700;
}

.picks-wave.is-drawn path {
  animation: wave-draw 1.6s cubic-bezier(.4, 0, .2, 1) forwards;
}

@keyframes wave-draw {
  to { stroke-dashoffset: 0; }
}

.picks-kicker {
  margin: 0 0 clamp(40px, 6vw, 70px);
  color: transparent;
  text-align: center;
  font-family: var(--title-font);
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-image: linear-gradient(90deg, #ed6d8f, #ff9d43, #ffe45d, #5edb73, #42b8ff, #8a6bff);
  background-clip: text;
  -webkit-background-clip: text;
}

.picks-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(900px, 100%);
  margin: 0 auto;
}

.pick-card {
  position: relative;
  width: min(400px, 86vw);
  flex-shrink: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-radius: 30px;
  padding: clamp(18px, 2vw, 22px);
  text-decoration: none;
  color: #ffffff;
  opacity: 0;
  transform: translateY(34px) scale(0.92) rotate(calc(var(--base-rotate) - 4deg));
  transition: transform 0.3s cubic-bezier(.2, 1.1, .3, 1), box-shadow 0.3s ease;
}

.pick-card::before {
  content: "";
  position: absolute;
  inset: auto 14px 16px 14px;
  height: 32px;
  background: var(--card-depth);
  border-radius: 0 0 26px 26px;
  z-index: -1;
}

.picks-in-view .pick-card {
  opacity: 1;
  transform: rotate(var(--base-rotate)) translateY(var(--base-y));
  animation: pick-card-enter 0.7s cubic-bezier(.18, 1.28, .32, 1) backwards;
}

.picks-in-view .pick-card-escrever {
  animation-delay: 0.12s;
}

@keyframes pick-card-enter {
  0% {
    opacity: 0;
    transform: translateY(34px) scale(0.92) rotate(calc(var(--base-rotate) - 4deg));
  }
  58% {
    opacity: 1;
    transform: translateY(-8px) scale(1.03) rotate(calc(var(--base-rotate) + 2deg));
  }
  100% {
    opacity: 1;
    transform: rotate(var(--base-rotate)) translateY(var(--base-y));
  }
}

.pick-card:hover,
.pick-card:focus-visible {
  z-index: 5;
  transform: rotate(calc(var(--base-rotate) * 0.35)) translateY(calc(var(--base-y) - 12px)) scale(1.08);
}

.pick-card-colorir {
  --base-rotate: -7deg;
  --base-y: 16px;
  --card-depth: #d76599;
  background: #f983ba;
  margin-right: -54px;
  z-index: 1;
}

.pick-card-escrever {
  --base-rotate: 6deg;
  --base-y: -28px;
  --card-depth: #48aa45;
  background: #62d85d;
  z-index: 2;
}

.pick-sticker {
  position: absolute;
  z-index: 3;
  width: 78px;
  height: 78px;
  transition: transform 0.4s cubic-bezier(.2, 1.5, .3, 1);
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.25));
}

.pick-sticker:has(img) {
  width: 104px;
  height: 104px;
}

.pick-sticker img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pick-letter {
  display: grid;
  place-items: center;
  width: 67px;
  height: 67px;
  border-radius: 18px;
  background: var(--c);
  border: 3px solid var(--ink);
  font-family: var(--title-font);
  font-weight: 900;
  font-size: 2rem;
  color: var(--ink);
}

.pick-sticker-1 { top: -18px; left: -18px; transform: rotate(-8deg); }
.pick-sticker-2 { top: -20px; right: -16px; transform: rotate(10deg); }
.pick-sticker-3 { bottom: -14px; right: -18px; transform: rotate(8deg); }

.pick-card:hover .pick-sticker-1,
.pick-card:focus-visible .pick-sticker-1 {
  transform: translate(-16px, -16px) rotate(-22deg) scale(1.4);
}

.pick-card:hover .pick-sticker-2,
.pick-card:focus-visible .pick-sticker-2 {
  transform: translate(18px, -14px) rotate(20deg) scale(1.4);
  transition-delay: 60ms;
}

.pick-card:hover .pick-sticker-3,
.pick-card:focus-visible .pick-sticker-3 {
  transform: translate(14px, 16px) rotate(16deg) scale(1.4);
  transition-delay: 120ms;
}

.pick-media {
  aspect-ratio: 16 / 11;
  border-radius: 18px;
  overflow: hidden;
  border: 3px solid var(--ink);
}

.pick-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pick-media-contain {
  position: relative;
  background: rgba(255, 255, 255, 0.22);
  padding: 10px;
}

.pick-media-contain img {
  position: relative;
  z-index: 1;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.18));
}

/* Decorative background inside the Colorir pick-card: a zigzag of brush strokes. */
.pick-bg-zigzag {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #ffb3d6;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.65;
}

/* Decorative background inside the Escrever pick-card: scattered letters/numbers. */
.pick-bg-letter {
  position: absolute;
  z-index: 0;
  font-family: var(--title-font);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.55);
  opacity: 0.7;
}

.pick-bg-letter-1 { left: 8%; top: 10%; font-size: 2.4rem; transform: rotate(-12deg); }
.pick-bg-letter-2 { right: 10%; top: 16%; font-size: 1.9rem; transform: rotate(10deg); }
.pick-bg-letter-3 { left: 12%; bottom: 14%; font-size: 2.1rem; transform: rotate(8deg); }
.pick-bg-letter-4 { right: 14%; bottom: 30%; font-size: 1.7rem; transform: rotate(-8deg); }
.pick-bg-letter-5 { left: 42%; top: 8%; font-size: 1.6rem; transform: rotate(-6deg); }

.pick-body {
  padding: clamp(16px, 2vw, 20px) 2px 4px;
}

.pick-tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-family: var(--title-font);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.pick-body h2 {
  margin: 0 0 10px;
  font-family: var(--title-font);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1;
}

.pick-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.pick-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--ink);
  font-family: var(--title-font);
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
}

.pick-cta svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.pick-card:hover .pick-cta svg {
  transform: translateX(4px);
}

/* Footer */

.site-footer {
  padding: clamp(40px, 6vw, 72px) 24px clamp(52px, 7vw, 84px);
  display: grid;
  justify-items: center;
  gap: clamp(64px, 9vw, 112px);
  text-align: center;
}

.footer-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.footer-social-link {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: transparent;
  border: none;
  color: #9c7d5c;
  transition: transform 0.18s ease, color 0.18s ease;
}

.footer-social-link:hover {
  transform: translateY(-2px);
  color: #765d42;
}

.footer-social-link svg {
  width: 48px;
  height: 48px;
  display: block;
  fill: currentColor;
}

.footer-note {
  margin: 0;
  color: rgba(17, 19, 27, 0.56);
  font-size: 0.9rem;
  font-weight: 700;
}

.zentto-credit {
  display: inline-flex;
  width: 25px;
  height: 25px;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.zentto-credit:hover {
  opacity: 0.78;
  transform: translateY(-2px);
}

.zentto-credit img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 760px) {
  .hero-quote-break {
    display: block;
  }

  .picks-grid {
    flex-direction: column;
    gap: 56px;
  }

  .pick-card {
    width: min(380px, 92vw);
    margin-right: 0 !important;
  }

  .pick-card-colorir {
    --base-rotate: -4deg;
    --base-y: 0px;
  }

  .pick-card-escrever {
    --base-rotate: 4deg;
    --base-y: 0px;
  }

  .site-header {
    justify-content: space-between;
  }

  .hero-brinque {
    letter-spacing: 0.18em;
  }

  .hero-brinque .hero-letter:nth-child(1) { rotate: -6deg; }
  .hero-brinque .hero-letter:nth-child(2) { rotate: 4deg; }
  .hero-brinque .hero-letter:nth-child(3) { rotate: -2deg; }
  .hero-brinque .hero-letter:nth-child(4) { rotate: 7deg; }
  .hero-brinque .hero-letter:nth-child(5) { rotate: -5deg; }
  .hero-brinque .hero-letter:nth-child(6) { rotate: 2deg; }
  .hero-brinque .hero-letter:nth-child(7) { rotate: -7deg; }
  .hero-brinque .hero-letter:nth-child(8) { rotate: 5deg; }

  .hero-sticker[src*="star"] { top: 80%; left: 10%; }
  .hero-sticker[src*="rainbow"] { top: 82%; left: 90%; }
  .hero-sticker[src*="sun"] { top: 95%; left: 28%; }
  .hero-sticker[src*="heart"] { top: 93%; left: 72%; }

  .header-right {
    position: static;
    transform: none;
  }

  .header-nav-link {
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pick-card,
  .pick-sticker,
  .hero-noise-item path,
  .hero-noise-item line,
  .hero-noise-item circle {
    animation: none !important;
    transition: none !important;
  }

  .picks-in-view .pick-card {
    opacity: 1;
    transform: rotate(var(--base-rotate)) translateY(var(--base-y));
  }

  .hero-noise-item path,
  .hero-noise-item line {
    stroke-dashoffset: 0;
  }

  .hero-noise-item circle {
    opacity: 1;
  }
}

/* Quem somos / story page */

.story-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 56vh;
  padding: clamp(110px, 14vw, 160px) 24px clamp(40px, 6vw, 64px);
}

.story-kicker {
  position: relative;
  z-index: 1;
  margin: 0 0 clamp(10px, 1.6vw, 16px);
  font-family: var(--title-font);
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c9a98a;
}

.story-title {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink);
  font-family: var(--title-font);
  font-weight: 700;
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.story-title-accent {
  background-image: linear-gradient(90deg, #ff6f8f, #ff9d43, #ffd35f);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.story-body {
  display: block;
  max-width: 660px;
  margin: 0 auto;
  padding: 0 24px clamp(40px, 6vw, 64px);
}

.story-body p {
  margin: 0 0 clamp(20px, 2.6vw, 28px);
  color: rgba(17, 19, 27, 0.82);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 700;
  line-height: 1.6;
}

.story-quote {
  margin: clamp(28px, 4vw, 44px) 0 !important;
  padding: 0 12px;
  text-align: center;
  transform: rotate(-1.5deg);
  color: #DF2C50;
  font-family: 'Kalam', cursive;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem) !important;
  line-height: 1.25 !important;
}

.story-photos {
  padding: clamp(10px, 2vw, 20px) 24px clamp(50px, 7vw, 80px);
  text-align: center;
}

.story-photos-kicker {
  display: inline-block;
  margin: 0 0 clamp(30px, 5vw, 48px);
  transform: rotate(-2deg);
  color: #c9a98a;
  font-family: 'Kalam', cursive;
  font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}

.photo-wall {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  max-width: 980px;
  margin: 0 auto;
}

.polaroid {
  position: relative;
  width: clamp(160px, 19vw, 230px);
  flex-shrink: 0;
  margin: 0 -14px clamp(18px, 2.5vw, 28px);
  padding: 12px 12px 40px;
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 14px 26px rgba(17, 19, 27, 0.2);
  transition: transform 0.25s cubic-bezier(.2, 1.2, .3, 1), box-shadow 0.25s ease;
}

.polaroid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: #f1e3cf;
}

.polaroid::after {
  content: '';
  position: absolute;
  inset: 12px 12px 40px;
  box-shadow: inset 0 0 14px rgba(80, 40, 10, 0.22);
  pointer-events: none;
}

.polaroid figcaption {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--ink);
  font-family: 'Kalam', cursive;
  font-weight: 700;
  font-size: 1.05rem;
}

.polaroid-pin {
  position: absolute;
  top: -11px;
  left: 50%;
  width: 18px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe3ef, #ff5fa3 65%);
  box-shadow: 0 3px 5px rgba(17, 19, 27, 0.35);
  z-index: 3;
}

.polaroid-1 { transform: rotate(-7deg) translateY(14px); z-index: 1; }
.polaroid-2 { transform: rotate(4deg) translateY(-8px); z-index: 2; }
.polaroid-3 { transform: rotate(-4deg) translateY(18px); z-index: 1; }
.polaroid-4 { transform: rotate(8deg) translateY(-4px); z-index: 2; }

.polaroid:hover {
  z-index: 5;
  transform: scale(1.08) rotate(0deg);
  box-shadow: 0 20px 34px rgba(17, 19, 27, 0.28);
}

@media (max-width: 640px) {
  .polaroid {
    width: clamp(130px, 38vw, 170px);
    margin: 0 6px 18px;
  }
}

.story-cta {
  display: grid;
  justify-items: center;
  gap: clamp(16px, 2.4vw, 22px);
  padding: clamp(20px, 4vw, 36px) 24px clamp(70px, 8vw, 100px);
  text-align: center;
}

.story-cta-text {
  margin: 0;
  font-family: var(--title-font);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  color: var(--ink);
}

.story-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.story-cta-button {
  display: inline-flex;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-family: var(--title-font);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.16s ease;
}

.story-cta-button:hover {
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .story-hero {
    min-height: 44vh;
  }
}
