/* Our Story page */

/* Hero with video */
.banner--story { padding: 4.5rem 0 5rem; }
.banner--story .wrap { grid-template-columns: 1fr 2.4fr 1fr; }
.banner--story h1 { font-size: clamp(3rem, 6vw, 5.2rem); }
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #c9a8a0;
  margin: 0.5rem auto 2rem;
  box-shadow: 0 30px 50px -32px rgba(43, 43, 46, 0.6);
}
.video img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.video__play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 92px; height: 92px;
  border-radius: 50%;
  border: 0;
  background: var(--paper);
  color: var(--charcoal);
  display: grid; place-items: center;
  padding-left: 6px;
  cursor: pointer;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.35);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.video__play:hover { transform: translate(-50%, -50%) scale(1.08); background: var(--pink); color: #fff; }
.video__note {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(43, 43, 46, 0.85); color: #fff;
  font-size: 0.85rem; font-weight: 700;
  padding: 0.35rem 0.9rem; border-radius: 999px;
}

/* Story text */
.tale { background: var(--paper); border-block: 1px solid var(--line); }
.tale .lede { font: 700 clamp(2rem, 4vw, 3.4rem)/1.12 var(--display); letter-spacing: -0.02em; max-width: 22ch; margin-bottom: 2.5rem; }
.tale .lede em { color: var(--pink); }
.tale__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.tale__cols p { font-size: 1.15rem; color: var(--charcoal-soft); margin: 0; }
.tale__cols p:first-child::first-letter { float: left; font: 700 4.2rem/0.8 var(--display); color: var(--pink); margin: 0.35rem 0.6rem 0 0; }

/* Values */
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.value {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.value:hover { transform: translateY(-6px); box-shadow: 0 26px 44px -28px rgba(43, 43, 46, 0.55); }
.value__img { position: relative; background: var(--bg); aspect-ratio: 4 / 3; overflow: hidden; }
.value__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform 0.5s ease; }
.value:hover .value__img img { transform: scale(1.06); }
.value__body { position: relative; padding: 2.4rem 2rem 2rem; display: flex; flex-direction: column; flex: 1; }
.value .num {
  position: absolute; top: -1.6rem; left: 2rem;
  width: 3.2rem; height: 3.2rem;
  border-radius: 50%;
  background: var(--charcoal); color: var(--cream);
  display: grid; place-items: center;
  font: 700 1.4rem var(--display);
  border: 4px solid var(--paper);
}
.value .eyebrow { margin-bottom: 0.3rem; color: var(--pink); }
.value h3 { font-size: 1.8rem; }
.value p { color: var(--charcoal-soft); flex: 1; }
.value .go { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.value:hover .go { color: var(--pink); }

/* Dancing notes on the soundtrack card */
.notes { position: absolute; inset: 0; pointer-events: none; }
.notes i { position: absolute; font-style: normal; font-size: 2.2rem; color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); opacity: 0; }
.notes i:nth-child(1) { left: 14%; bottom: 20%; }
.notes i:nth-child(2) { left: 74%; bottom: 35%; }
.notes i:nth-child(3) { left: 46%; bottom: 10%; }
.value:hover .notes i { animation: float 1.6s ease-out infinite; }
.value:hover .notes i:nth-child(2) { animation-delay: 0.5s; }
.value:hover .notes i:nth-child(3) { animation-delay: 1s; }
@keyframes float { 0% { opacity: 0; transform: translateY(0) rotate(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(-70px) rotate(-15deg); } }

/* Let's connect */
.connect { position: relative; overflow: hidden; background: var(--teal); color: #fff; padding: 6rem 0; min-height: 360px; text-align: center; }
.connect h2 { font-size: clamp(3rem, 6vw, 5.4rem); }
.connect .lead { font-size: 1.35rem; opacity: 0.9; margin: 0; }
.connect__ribbon {
  position: absolute; top: 0; left: 0;
  width: 360px; height: 360px;
  overflow: hidden;
  pointer-events: none;
}
.connect__ribbon span {
  position: absolute;
  top: 124px; left: -155px;
  width: 600px;
  transform: rotate(-45deg);
  background: var(--pink);
  color: #fff;
  text-align: center;
  font: 700 0.95rem/1.3 var(--body);
  padding: 0.7rem 0;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.4);
}
.connect__peek {
  position: absolute;
  right: 5%;
  bottom: -90px;
  width: 260px; height: 260px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  border: 6px solid var(--paper);
  animation: peek 4s ease-in-out infinite;
}
@keyframes peek { 0%, 100% { transform: translateY(40px) rotate(-6deg); } 40%, 70% { transform: translateY(0) rotate(4deg); } }

/* Contact */
.contact__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: start; }
.contact h2 { margin-bottom: 1.5rem; }
.contact__form { display: grid; gap: 1.1rem; }
.contact__form label span { display: block; font-weight: 700; margin-bottom: 0.4rem; }
.contact__form input, .contact__form textarea {
  width: 100%;
  border: 2px solid var(--line);
  background: var(--paper);
  border-radius: 16px;
  padding: 0.95rem 1.2rem;
  font: 1.05rem var(--body);
  color: var(--charcoal);
  transition: border-color 0.15s ease;
}
.contact__form textarea { resize: vertical; min-height: 160px; }
.contact__form input:focus, .contact__form textarea:focus { outline: none; border-color: var(--charcoal); }
.contact__form .invalid { border-color: var(--pink); }
.contact__form .btn { justify-self: start; }
.form-error { color: #c0306b; font-weight: 700; margin: 0; }
.sent { background: var(--paper); border: 2px solid var(--teal); border-radius: var(--radius); padding: 2.5rem; }
.sent strong { font: 700 2rem var(--display); display: block; margin-bottom: 0.4rem; }
.sent p { margin: 0; color: var(--charcoal-soft); }

.contact__side { display: grid; gap: 1.5rem; padding-top: 4.2rem; }
.contact__card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.contact__card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.contact__card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; }
.contact__card li { display: flex; align-items: center; gap: 0.9rem; font-size: 1.05rem; }
.contact__card li svg { flex: none; color: var(--teal); }
.socials { display: flex; gap: 0.8rem; }
.socials a {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--charcoal); color: var(--cream);
  display: grid; place-items: center;
  transition: background 0.15s ease, transform 0.15s ease;
}
.socials a:hover { background: var(--pink); transform: translateY(-3px); }

@media (max-width: 1100px) {
  .banner--story .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .tale__cols, .values__grid, .contact__grid { grid-template-columns: 1fr; }
  .tale__cols, .contact__grid { gap: 1.5rem; }
  .values__grid { gap: 2.5rem; }
  .contact__side { padding-top: 1rem; }
  .connect { padding: 11rem 0 9rem; }
  .connect__ribbon { width: 260px; height: 260px; }
  .connect__ribbon span { top: 92px; left: -125px; width: 460px; font-size: 0.75rem; padding: 0.5rem 0; }
  .connect__peek { width: 180px; height: 180px; right: 50%; margin-right: -90px; bottom: -70px; }
  .video__play { width: 70px; height: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .connect__peek, .heart, .value:hover .notes i { animation: none; }
}
