.grad-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.grad-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grad-hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(255, 220, 228, 0.18) 0%,
      rgba(255, 205, 220, 0.22) 30%,
      rgba(248, 185, 210, 0.28) 60%,
      rgba(216, 132, 168, 0.38) 100%
    );

  backdrop-filter: blur(0.5px);
}

.grad-hero-mini-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;

  padding: 0 20px 5px;

  transform: translateY(-120px);
}

.grad-hero-mini-text p {
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 1.78rem;
  color: #ffcc02;
  font-weight: 700;
  margin-bottom: 10px;
}

.grad-hero-mini-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 600;
  margin: 0;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 28px;
  height: 46px;
  border: 2px solid rgba(255,255,255,0.75);
  border-radius: 999px;
}

.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 5px;
  height: 5px;
  background: #f0d28a;
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scrollCue 1.6s infinite;
}

@keyframes scrollCue {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }

  40% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 18px);
  }
}

.grad-intro,
.grad-section,
.grad-final {
  padding: 40px 12%;
}

.grad-intro {
  text-align: center;
  background: #f9f6f1;
}

.grad-small-title,
.grad-label {
  color: #c9a24d;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 800;
  font-size: 0.8rem;
}

.grad-intro h2,
.grad-section h2,
.grad-final h2 {
  font-family: 'Playfair Display', serif;
  color: #6b1e2d;
  font-size: clamp(2rem, 4vw, 3.6rem);
  margin: 15px 0 20px;
}

.grad-intro p {
  max-width: 760px;
  margin: auto;
  line-height: 1.8;
}

.grad-video-carousel {
  position: relative;
  max-width: 1200px;
  margin: 28px auto 0;
}

.grad-video-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.grad-video-card {
  background: rgba(255,255,255,0.7);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(44,47,90,0.12);
  max-width: 420px;
  margin: 0 auto;
}

.grad-video-card video {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: contain;
  background: #000;
  display: block;
}

.grad-video-card h3,
.grad-video-card p {
  padding: 0 22px;
}

.grad-video-card h3 {
  margin-top: 20px;
  color: #6b1e2d;
  font-family: 'Playfair Display', serif;
}

.grad-video-card p {
  padding-bottom: 24px;
  line-height: 1.6;
}

.video-arrow,
.video-dots {
  display: none;
}

/* Tablet */
@media (max-width: 1024px) {
  .grad-video-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .grad-video-card {
    max-width: 360px;
  }
}

/* Phone carousel */
@media (max-width: 767px) {
  #grad-films {
    padding: 38px 18px;
    overflow: hidden;
  }

  .grad-video-carousel {
    overflow: hidden;
    max-width: 100%;
  }

  .grad-video-track {
    display: flex;
    gap: 0;
    transition: transform 0.5s ease;
  }

  .grad-video-card {
    min-width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 24px;
  }

  .grad-video-card video {
    width: 100%;
    max-height: 620px;
  }

  .video-arrow {
    display: flex;
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: var(--gold);
    color: var(--indigo);
    font-size: 1.8rem;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 12px 32px rgba(44,47,90,0.18);
  }

  .video-arrow.prev {
    left: 8px;
  }

  .video-arrow.next {
    right: 8px;
  }

  .video-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
  }

  .video-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(107,30,45,0.25);
    border: none;
    cursor: pointer;
  }

  .video-dot.active {
    width: 24px;
    border-radius: 999px;
    background: var(--maroon);
  }
}

.grad-gallery-section {
  position: relative;
  text-align: center;
  padding: 45px 8%;

  background:
    linear-gradient(
      rgba(249,246,241,0.86),
      rgba(249,246,241,0.86)
    ),
    url("assets/images/bg6.jpeg");

  background-size: cover;
  background-position: center;
}

.grad-gallery-section h2 {
  margin-bottom: 10px;
}

.grad-carousel {
  position: relative;
  max-width: 1100px;
  margin: 28px auto 0;
  overflow: hidden;
}

.grad-carousel-track {
  display: flex;
  gap: 22px;
  transition: transform 0.6s ease;
}

.grad-slide {
  flex: 0 0 calc((100% - 44px) / 3);
  margin: 0;

  background: rgba(255,255,255,0.78);
  border-radius: 26px;
  padding: 10px;

  box-shadow: 0 18px 45px rgba(44,47,90,0.14);
}

.grad-slide img {
  width: 100%;
  height: 380px;
  object-fit: cover;

  border-radius: 20px;
  display: block;
}

.grad-slide figcaption {
  margin-top: 10px;
  padding: 8px 12px;

  color: var(--maroon);
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
}

.grad-carousel-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);

  width: 46px;
  height: 46px;

  border-radius: 50%;
  border: none;

  background: var(--gold);
  color: var(--indigo);

  font-size: 2rem;
  cursor: pointer;

  box-shadow: 0 12px 32px rgba(44,47,90,0.18);
  z-index: 5;
}

.grad-carousel-btn.prev {
  left: 10px;
}

.grad-carousel-btn.next {
  right: 10px;
}

.grad-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 18px;
}

.grad-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(107,30,45,0.25);
  cursor: pointer;
}

.grad-dot.active {
  width: 26px;
  border-radius: 999px;
  background: var(--maroon);
}

/* Tablet: 2 photos at once */
@media (max-width: 1024px) {
  .grad-gallery-section {
    padding: 40px 6%;
  }

  .grad-slide {
    flex: 0 0 calc((100% - 22px) / 2);
  }

  .grad-slide img {
    height: 340px;
  }
}

/* Phone: 1 photo at once */
@media (max-width: 767px) {
  .grad-gallery-section {
    padding: 35px 18px;
  }

  .grad-carousel {
    margin-top: 24px;
  }

  .grad-slide {
    flex: 0 0 100%;
  }

  .grad-slide img {
    height: 430px;
  }

  .grad-carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }

  .grad-carousel-btn.prev {
    left: 6px;
  }

  .grad-carousel-btn.next {
    right: 6px;
  }
}

.grad-newspaper {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 40px;

  padding: 10px 10%;

  background:
    linear-gradient(
      rgba(244, 241, 234, 0.693),
      rgba(242, 241, 239, 0.66)
    ),
    url("assets/images/bg6.jpeg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  position: relative;
}

.grad-newspaper::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at center,
      rgba(255,255,255,0.15),
      transparent 70%
    );

  pointer-events: none;
}

.newspaper-content h2 {
  margin-bottom: 12px;
  line-height: 1;
}

.newspaper-content p {
  margin-bottom: 15px;
  line-height: 1.55;
}

.newspaper-frame {
  max-width: 420px;
  margin-left: auto;

  padding: 12px;

  border-radius: 22px;

  transform: rotate(2deg);

  box-shadow: 0 18px 45px rgba(44,47,90,0.14);
}

.newspaper-frame img {
  width: 100%;
  border-radius: 18px;
  display: block;
}

.blessings-section {
  text-align: center;
  padding: 45px 10%;

  background:
    linear-gradient(rgba(107,30,45,0.82), rgba(44,47,90,0.82)),
    url("assets/images/grad-blessings-bg.jpeg") center/cover fixed;
}

.blessings-section h2 {
  color: #f9f6f1;
  margin-bottom: 10px;
}

.blessing-intro {
  max-width: 650px;
  margin: 0 auto 24px;
  color: rgba(249,246,241,0.88);
  line-height: 1.5;
  font-size: 0.92rem;
}

.blessing-wall {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
  min-height: 330px;
}

.blessing-card {
  display: none;
  height: 330px;
  overflow-y: auto;

  padding: 28px 34px;
  border-radius: 28px;

  background:
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(249,246,241,0.9));

  box-shadow: 0 20px 55px rgba(0,0,0,0.25);
  position: relative;
}

.blessing-card.active {
  display: block;
  animation: blessingReveal 0.45s ease;
}

.blessing-card::-webkit-scrollbar {
  width: 6px;
}

.blessing-card::-webkit-scrollbar-thumb {
  background: rgba(107,30,45,0.45);
  border-radius: 999px;
}

.blessing-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 16px;

  border-radius: 999px;
  background: rgba(201,162,77,0.22);
  color: #6b1e2d;

  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.blessing-card p {
  font-family: 'Playfair Display', serif;
  font-size: 1.02rem;
  line-height: 1.55;
  color: #2c2f5a;
  margin: 0 auto;
}

.blessing-card h4 {
  margin-top: 16px;
  color: #6b1e2d;
  font-size: 0.92rem;
}

.blessing-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 44px;
  height: 44px;

  border-radius: 50%;
  border: none;

  background: #c9a24d;
  color: #2c2f5a;

  font-size: 1.8rem;
  cursor: pointer;
  z-index: 5;
}

.blessing-arrow.left {
  left: -58px;
}

.blessing-arrow.right {
  right: -58px;
}

.all-blessings-btn {
  display: inline-block;
  margin-top: 22px;
  padding: 12px 28px;

  border-radius: 999px;
  background: #c9a24d;
  color: #2c2f5a;

  text-decoration: none;
  font-weight: 800;
  transition: 0.3s ease;
}

.all-blessings-btn:hover {
  background: #f9f6f1;
  color: #6b1e2d;
  transform: translateY(-3px);
}

@keyframes blessingReveal {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media(max-width: 900px) {
  .blessings-section {
    padding: 40px 20px;
  }

  .blessing-wall {
    min-height: 360px;
  }

  .blessing-card {
    height: 360px;
    padding: 26px 24px;
  }

  .blessing-card p {
    font-size: 0.95rem;
  }

  .blessing-arrow.left {
    left: 8px;
  }

  .blessing-arrow.right {
    right: 8px;
  }
}

/* DIVIDER */
.divider {
  height: 2px;
  width: 70%;
  margin: 0 auto;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.grad-footer {

  padding: 70px 20px 40px;

  text-align: center;

  background:
    linear-gradient(
      180deg,
      #f9f6f1 0%,
      #f2e7d8 100%
    );
}

.grad-footer-content {
  max-width: 900px;
  margin: 0 auto;
}

.grad-footer-quote {

  font-family: 'Playfair Display', serif;

  font-size: clamp(1.4rem, 2vw, 2rem);

  color: var(--maroon);

  margin-bottom: 30px;

  font-style: italic;
}

.footer-btn {

  display: inline-block;

  padding: 14px 34px;

  border-radius: 999px;

  text-decoration: none;

  background: var(--maroon);
  color: white;

  font-weight: 600;

  transition: all .3s ease;
}

.footer-btn:hover {

  transform: translateY(-3px);

  background: var(--gold);
  color: var(--indigo);
}

.footer-divider {

  width: 80px;
  height: 2px;

  margin: 35px auto;

  background: rgba(107,30,45,0.25);
}

.footer-copy {

  font-size: 0.9rem;

  color: #666;

  letter-spacing: 0.5px;
}

/* =========================
   FOOTER RESPONSIVENESS
========================= */

/* Tablet */
@media (max-width: 1024px) {
  .grad-footer {
    padding: 55px 24px 34px;
  }

  .grad-footer-content {
    max-width: 720px;
  }

  .grad-footer-quote {
    font-size: 1.6rem;
    line-height: 1.4;
    margin-bottom: 24px;
  }

  .footer-btn {
    padding: 13px 30px;
    font-size: 0.95rem;
  }

  .footer-divider {
    margin: 28px auto;
  }

  .footer-copy {
    font-size: 0.85rem;
    line-height: 1.6;
  }
}

/* Phone */
@media (max-width: 767px) {
  .grad-footer {
    padding: 45px 18px 28px;
  }

  .grad-footer-quote {
    font-size: 1.35rem;
    line-height: 1.45;
    margin-bottom: 22px;
  }

  .footer-btn {
    width: 100%;
    max-width: 260px;
    padding: 13px 22px;
    font-size: 0.9rem;
  }

  .footer-divider {
    width: 60px;
    margin: 24px auto;
  }

  .footer-copy {
    font-size: 0.78rem;
    line-height: 1.6;
    letter-spacing: 0.3px;
  }
}

@media (max-width: 1024px) {
  .nav-links.open {
    right: 0;
  }
}