
:root {
  --cream: #fff8f0;
  --sand: #f6e7d4;
  --ocean: #0b5f80;  
  --deep: #0d3b4c;  
  --night: #082a37;  
  --ink: #2b2b2b;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(13, 59, 76, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', serif;
}

em {
  font-style: italic;
  color: var(--ocean);
}

section {
  scroll-margin-top: 70px;  
}


.container {
  width: min(1120px, 92%);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.center {
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ocean);
  margin-bottom: 12px;
}


.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid transparent;
  font: 600 0.95rem 'Poppins', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.btn-blue {
  background: var(--ocean);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--ocean);
}

.btn-outline {
  border-color: #fff;
  color: #fff;
  margin-left: 10px;
}


.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: var(--ocean);
  z-index: 200;
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--ocean);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: 0.3s;
  z-index: 60;
}

.to-top.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}


@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
}

@keyframes wordIn {
  from {
    opacity: 0;
    transform: translateY(40px) rotate(4deg);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes bob {
  50% {
    translate: 0 -8px;
  }
}

@keyframes wave {
  to {
    transform: translateX(40px);
  }
}

@keyframes oceanDrift {
  to {
    transform: scale(1.14) translate(-2%, 1.5%);
  }
}

@keyframes glint {
  from {
    background-position: 150% 0;
  }

  to {
    background-position: -100% 0;
  }
}

@keyframes fly {
  to {
    left: 110%;
  }
}

@keyframes flap {
  to {
    transform: scaleY(0.55) translateY(3px);
  }
}

@keyframes rise {
  to {
    transform: translateY(-110vh) translateX(40px);
    opacity: 0;
  }
}

@keyframes bubble {
  to {
    transform: translateY(-120vh);
  }
}

@keyframes tagIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.8);
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

@keyframes pop {
  from {
    transform: scale(0.7) rotate(-4deg);
    opacity: 0;
  }
}

@keyframes fill {
  to {
    width: var(--w);
  }
}

@keyframes shake {
  25% {
    transform: translateX(-8px);
  }

  75% {
    transform: translateX(8px);
  }
}

@keyframes trace {
  from {
    stroke-dashoffset: 1;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
}

@keyframes revealLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
}

@keyframes revealRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
}


@supports (animation-timeline: view()) {
  .reveal {
    animation: revealUp linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
  }

  .from-left {
    animation-name: revealLeft;
  }

  .from-right {
    animation-name: revealRight;
  }
}


.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 5%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  animation: slideDown 0.8s ease;
  transition: padding 0.3s, background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  padding: 10px 5%;
  background: #fff;
  box-shadow: 0 6px 24px rgba(8, 42, 55, 0.25);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--deep);
  font: 700 1.4rem 'Playfair Display', serif;
}

.logo-sun {
  font-size: 1.7rem;
  color: var(--ocean);
  animation: spin 14s linear infinite;
}

nav {
  display: flex;
  gap: 26px;
}

nav a {
  color: var(--deep);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s;
}

nav a:hover,
nav a.active {
  border-color: var(--ocean);
  color: var(--ocean);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--deep);
  font-size: 1.6rem;
  cursor: pointer;
}


.banner {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 5% 150px;
  color: #fff;
  background: #06263a;
  overflow: hidden;
}


.banner-bg {
  position: absolute;
  inset: -4%;
  background: linear-gradient(180deg, rgba(6, 38, 58, 0.55), rgba(6, 38, 58, 0.15) 45%, rgba(6, 38, 58, 0.7)), url('images/ocean-boat.jpg') center / cover no-repeat;
  animation: oceanDrift 24s ease-in-out infinite alternate;
}

.banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.12) 50%, transparent 65%);
  background-size: 250% 100%;
  animation: glint 9s linear infinite;
}

.sparkles,
.birds {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  bottom: -20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  animation: rise linear infinite;
}

.bird {
  position: absolute;
  left: -60px;
  width: 36px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 2.4;
  stroke-linecap: round;
  animation: fly linear infinite, flap 0.5s ease-in-out infinite alternate;
}

.bird-1 {
  top: 22%;
  animation-duration: 22s, 0.5s;
}

.bird-2 {
  top: 32%;
  width: 26px;
  animation-duration: 30s, 0.42s;
  animation-delay: -9s, 0s;
}

.bird-3 {
  top: 16%;
  width: 20px;
  animation-duration: 36s, 0.38s;
  animation-delay: -20s, 0s;
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-text {
  text-align: left;
}

.hero-text .eyebrow {
  color: #fff;
}

.banner h1 {
  font-size: clamp(2.3rem, 5.4vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 18px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.banner h1 em {
  color: #fff;
}

.word {
  display: inline-block;
  animation: wordIn 0.7s ease both;
  animation-delay: calc(var(--i) * 0.15s + 0.3s);
}

.subhead {
  font-size: 1.15rem;
  font-weight: 300;
  margin-bottom: 30px;
}

.pop-in {
  animation: popIn 0.8s ease both;
  animation-delay: var(--delay, 0s);
}

.hero-photo {
  position: relative;
  justify-self: center;
  max-width: 340px;
}

.hero-photo img {
  display: block;
  width: 100%;
  max-height: 62vh;
  object-fit: cover;
  object-position: center 20%;
  border: 10px solid #fff;
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  transform: rotate(3deg);
  animation: heroFloat 6s ease-in-out infinite alternate;
}

.hero-photo::before {
  content: '';
  position: absolute;
  inset: -22px;
  border-radius: 28px;
  border: 2px dashed rgba(255, 255, 255, 0.55);
  transform: rotate(-4deg);
  animation: dashTilt 14s linear infinite alternate;
}

@keyframes heroFloat {
  from {
    transform: rotate(3deg) translateY(0);
  }

  to {
    transform: rotate(-1.5deg) translateY(-16px);
  }
}

@keyframes dashTilt {
  to {
    transform: rotate(4deg) scale(1.03);
  }
}

.scroll-hint {
  position: absolute;
  bottom: 120px;
  left: 50%;
  translate: -50% 0;
  z-index: 2;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  animation: bob 1.8s ease-in-out infinite;
}

.waves {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 130px;
}

.wave-1 {
  fill: rgba(255, 248, 240, 0.55);
  animation: wave 9s ease-in-out infinite alternate;
}

.wave-2 {
  fill: var(--cream);
  animation: wave 12s ease-in-out infinite alternate-reverse;
}


.about {
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  align-items: center;
}

.about h2,
.persons h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--deep);
  line-height: 1.2;
  margin-bottom: 18px;
}

.about p {
  margin-bottom: 14px;
}

.quote {
  font: 1.8rem 'Caveat', cursive;
  color: var(--ocean);
  display: inline-block;
  transform: rotate(-2deg);
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.fact {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 12px;
  text-align: center;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  color: #666;
  animation: bob 6s ease-in-out infinite;
  transition: transform 0.3s;
}

.fact:hover {
  transform: scale(1.06) rotate(-2deg);
}

.fact b {
  display: block;
  font: 700 1.5rem 'Playfair Display', serif;
  color: var(--ocean);
}


.forever {
  position: relative;
  padding: 130px 0;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.forever-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(6, 38, 58, 0.92) 0%, rgba(6, 38, 58, 0.7) 45%, rgba(6, 38, 58, 0.35) 100%), url('images/trio.jpg') center / cover fixed no-repeat;
}

.forever-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.forever .eyebrow {
  display: inline-block;
  background: #fff;
  padding: 3px 16px;
  border-radius: 20px;
}

.forever h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.forever p {
  max-width: 520px;
  font-weight: 300;
  font-size: 1.05rem;
}

.infinity {
  width: 190px;
  margin: 4px 0 8px;
  overflow: visible;
}

.infinity path {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
}

.infinity .base {
  stroke: rgba(255, 255, 255, 0.3);
}

.infinity .glow {
  stroke: #fff;
  stroke-dasharray: 0.22 0.78;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
  animation: trace 5s linear infinite;
}

.inf-float {
  position: absolute;
  color: rgba(255, 255, 255, 0.35);
  font-size: 4rem;
  pointer-events: none;
  animation: bob 6s ease-in-out infinite;
}

.inf-1 {
  left: 6%;
  top: 12%;
}

.inf-2 {
  right: 10%;
  bottom: 10%;
  font-size: 6rem;
  animation-delay: -2s;
}

.inf-3 {
  left: 46%;
  top: 8%;
  font-size: 2.4rem;
  animation-delay: -4s;
}

.polaroid {
  background: #fff;
  padding: 14px 14px 10px;
  border-radius: 6px;
  max-width: 430px;
  margin: 0 auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  rotate: 3deg;
  transition: rotate 0.3s, scale 0.3s;
}

.polaroid:hover {
  rotate: 0deg;
  scale: 1.04;
}

.polaroid img {
  display: block;
  width: 100%;
  border-radius: 3px;
}

.polaroid figcaption {
  font: 600 1.7rem 'Caveat', cursive;
  color: var(--deep);
  text-align: center;
  padding-top: 6px;
}

.marquee {
  background: var(--cream);
  color: var(--ocean);
  overflow: hidden;
  padding: 14px 0;
  border-block: 3px dashed rgba(11, 95, 128, 0.4);
  transform: rotate(-1deg) scale(1.02);
  margin: -10px 0 20px;
  position: relative;
  z-index: 2;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 34px;
  white-space: nowrap;
  font: 600 1.15rem 'Playfair Display', serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: marquee 28s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}


.persons {
  padding: 90px 0;
  background: linear-gradient(180deg, rgba(246, 231, 212, 0.9) 0%, rgba(246, 231, 212, 0.5) 38%, rgba(246, 231, 212, 0.72) 100%), url('images/group.jpg') center / cover fixed no-repeat, var(--sand);
}

.section-sub {
  max-width: 560px;
  margin: 0 auto 26px;
  color: #555;
}

.persons h2 {
  position: relative;
  padding-bottom: 12px;
}

.persons h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  translate: -50% 0;
  width: 90px;
  height: 4px;
  border-radius: 4px;
  background: var(--ocean);
}

#searchInput {
  display: block;
  width: min(460px, 100%);
  margin: 0 auto 22px;
  padding: 14px 22px;
  border-radius: 50px;
  border: 2px solid transparent;
  box-shadow: var(--shadow);
  font: 400 1rem 'Poppins', sans-serif;
  outline: none;
  transition: border-color 0.2s, transform 0.2s;
}

#searchInput:focus {
  border-color: var(--ocean);
  transform: scale(1.03);
}

.chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.chip {
  border: 2px solid var(--ocean);
  background: transparent;
  color: var(--ocean);
  padding: 6px 18px;
  border-radius: 30px;
  font: 500 0.85rem 'Poppins', sans-serif;
  cursor: pointer;
  transition: 0.25s;
}

.chip:hover {
  transform: translateY(-2px);
}

.chip.on {
  background: var(--ocean);
  color: #fff;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 28px;
}

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: cardIn 0.7s ease both;
  animation-delay: calc(var(--i) * 70ms);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(13, 59, 76, 0.28);
}

.avatar {
  position: relative;
  height: 190px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card:hover .avatar img {
  transform: scale(1.1);
}

.initials {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 4px solid #fff;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  font: 700 2rem 'Playfair Display', serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

.heart {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 5px;
  border: 0;
  padding: 4px 11px 4px 9px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  color: #b9bcc4;
  font: 600 0.75rem 'Poppins', sans-serif;
  cursor: pointer;
  transition: transform 0.2s, color 0.2s;
}

.heart:hover {
  transform: scale(1.12);
}

.heart.liked {
  color: var(--ocean);
}

.heart span {
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.2s;
}

.heart:active span {
  transform: scale(1.8);
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 22px;
}

.card-body h3 {
  font-size: 1.25rem;
  color: var(--deep);
}

.role {
  color: var(--ocean);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.meta {
  list-style: none;
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 8px;
}

.bio {
  flex: 1;
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 16px;
}

.card .btn {
  align-self: flex-start;
  padding: 9px 20px;
  font-size: 0.85rem;
}

.look-box {
  background: var(--cream);
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.look-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font: 600 0.72rem 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ocean);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.look-box .tags {
  margin-bottom: 0;
}

.tag {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: 20px;
  animation: tagIn 0.5s ease both;
  animation-delay: calc(0.35s + var(--k) * 90ms);
}

.tag-look {
  background: #fff;
  color: var(--deep);
  border: 1px solid rgba(13, 59, 76, 0.15);
}

.tag-trait {
  background: var(--ocean);
  color: #fff;
}

.swatches {
  display: inline-flex;
  gap: 4px;
}

.swatches i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  animation: bob 2.4s ease-in-out infinite;
  animation-delay: calc(var(--k) * 0.2s);
}

.no-results {
  text-align: center;
  margin-top: 20px;
  font-weight: 500;
}

.note {
  text-align: center;
  font-size: 0.8rem;
  color: #555;
  margin-top: 34px;
}


.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 42, 55, 0.7);
  backdrop-filter: blur(4px);
  animation: fade 0.25s;
}

.modal[hidden] {
  display: none;
}

.modal-box {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 22px;
  animation: pop 0.4s cubic-bezier(0.2, 1.4, 0.4, 1);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  font-size: 1.4rem;
  cursor: pointer;
  transition: transform 0.3s;
}

.modal-close:hover {
  transform: rotate(90deg);
}

.modal .avatar {
  height: 330px;
}

.modal-info {
  padding: 22px 26px 28px;
}

.modal-info h3 {
  font-size: 1.6rem;
  color: var(--deep);
}

.modal-info .known {
  color: #666;
  font-size: 0.85rem;
  font-style: italic;
  margin-bottom: 4px;
}

.modal-info h4 {
  font: 700 0.8rem 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ocean);
  margin: 16px 0 6px;
}

.modal-info .look-text {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 8px;
}

.modal-info dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  font-size: 0.9rem;
  margin: 14px 0;
}

.modal-info dt {
  font-weight: 600;
  color: var(--ocean);
}

.modal-info > * {
  animation: popIn 0.5s ease both;
  animation-delay: calc(0.15s + var(--k, 0) * 60ms);
}

.meter {
  display: grid;
  grid-template-columns: 90px 1fr 38px;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  margin-bottom: 6px;
}

.meter em {
  color: #777;
  font-style: normal;
  text-align: right;
}

.bar {
  height: 9px;
  border-radius: 9px;
  background: var(--sand);
  overflow: hidden;
}

.bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 9px;
  background: var(--ocean);
  animation: fill 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(0.8s + var(--k) * 0.15s);
}


.cast {
  position: relative;
  padding: 100px 0;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(8, 42, 55, 0.82), rgba(31, 122, 140, 0.55)), url('images/ocean.jpg') center / cover fixed no-repeat, var(--deep);
}

.cast .eyebrow {
  display: table;
  margin: 0 auto 12px;
  background: #fff;
  padding: 3px 16px;
  border-radius: 20px;
}

.cast h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 36px;
}

.bubbles i {
  position: absolute;
  bottom: -80px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  animation: bubble 12s linear infinite;
}

.bubbles i:nth-child(1) {
  left: 8%;
}

.bubbles i:nth-child(2) {
  left: 25%;
  width: 30px;
  height: 30px;
  animation-delay: -4s;
}

.bubbles i:nth-child(3) {
  left: 48%;
  animation-delay: -7s;
}

.bubbles i:nth-child(4) {
  left: 66%;
  width: 40px;
  height: 40px;
  animation-delay: -2s;
}

.bubbles i:nth-child(5) {
  left: 82%;
  animation-delay: -9s;
}

.bubbles i:nth-child(6) {
  left: 93%;
  width: 24px;
  height: 24px;
  animation-delay: -5s;
}

.cast-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 34px;
  background: #fff;
  color: var(--ink);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.cast-card h3 {
  color: var(--deep);
  font-size: 1.3rem;
  text-align: center;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 2px dashed var(--sand);
}

.cast-card ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 30px;
}

.cast-card li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 10px;
  border-radius: 14px;
  animation: popIn 0.6s ease both;
  animation-delay: calc(var(--i) * 90ms);
  transition: background 0.25s, transform 0.25s;
}

.cast-card li:hover {
  background: var(--cream);
  transform: translateX(8px);
}

.cast-card li b {
  display: block;
  line-height: 1.2;
  color: var(--deep);
}

.cast-card li small {
  color: #777;
}

.dot {
  position: relative;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.4s;
}

.dot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.cast-card li:hover .dot {
  transform: rotate(360deg) scale(1.12);
}


.site-footer {
  position: relative;
  padding: 100px 0 40px;
  background: var(--night);
  color: #d7e4e8;
}

.footer-wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  display: block;
  fill: var(--deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.3fr;
  gap: 40px;
}

.site-footer h4 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.site-footer h4 em {
  color: #fff;
}

.site-footer p {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.infinity-line {
  text-align: center;
  margin-top: 30px;
  font-size: 3rem;
  line-height: 1;
  color: #fff;
  animation: bob 3s ease-in-out infinite;
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.social a {
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  transition: 0.25s;
}

.social a:hover {
  background: var(--ocean);
  border-color: var(--ocean);
  transform: translateY(-4px) rotate(-3deg);
}

#newsletterForm {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

#newsletterForm.shake {
  animation: shake 0.4s;
}

#newsEmail {
  padding: 12px 18px;
  border: 0;
  border-radius: 50px;
  font: 400 0.95rem 'Poppins', sans-serif;
  outline: none;
}

#newsletterForm .btn {
  align-self: flex-start;
}

.form-msg {
  min-height: 1.4em;
  font-size: 0.85rem;
}

.form-msg.ok {
  color: #9be8b0;
}

.form-msg.err {
  color: #ffb3ab;
}


@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-text {
    text-align: center;
  }

  .hero-photo {
    max-width: 240px;
  }

  .hero-photo img {
    max-height: 40vh;
  }

  .btn-outline {
    margin: 10px 0 0;
  }

  .forever {
    padding: 90px 0;
  }

  .forever-bg,
  .cast,
  .persons {
    background-attachment: scroll;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background: #fff;
  }

  nav.open {
    display: flex;
    animation: fade 0.25s;
  }

  nav a {
    padding: 14px 5%;
    border-bottom: 0;
    border-top: 1px solid rgba(13, 59, 76, 0.1);
  }

  .about-grid,
  .forever-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cast-card ul {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms ;
    animation-iteration-count: 1 ;
    transition-duration: 0.01ms !;
  }

  .bar i {
    width: var(--w) ;
  }
}
