/* GAHS graduation */

@font-face {
  font-family: "BPG Nino Elite Caps";
  src: url("bpg_nino_elite_caps.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

:root {
  --navy: #00152e;
  --navy-deep: #000d1f;
  --navy-mid: #001225;
  --gold: #c9a44a;
  --gold-bright: #e4c56c;
  --gold-dim: #8a7038;
  --white: #f5f8fc;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  font-family: "BPG Nino Elite Caps", "Noto Serif Georgian", Georgia, serif;
  font-size: 16px;
  line-height: 1.45;
  color: var(--gold);
  background-color: var(--navy-deep);
}

/* Scrollbar - navy + gold */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 164, 74, 0.45) rgba(0, 21, 46, 0.6);
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: rgba(0, 21, 46, 0.5);
}

*::-webkit-scrollbar-thumb {
  background: rgba(201, 164, 74, 0.4);
  border-radius: 5px;
}

*::-webkit-scrollbar-thumb:hover {
  background: rgba(201, 164, 74, 0.65);
}

/* ────────────────────────────────────────
   MOBILE PROMPT
──────────────────────────────────────── */
.mobile-prompt {
  display: none;
}

@media (min-width: 769px) {
  .mobile-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 340px;
    padding: 22px 20px 20px;
    background: rgba(0, 13, 31, 0.96);
    border: 1px solid rgba(201, 164, 74, 0.38);
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .mobile-prompt.hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(16px);
    pointer-events: none;
  }

  .mobile-prompt__icon {
    width: 52px;
    height: 52px;
    display: block;
    opacity: 0.8;
  }

  .mobile-prompt__text {
    margin: 0;
    font-size: 13px;
    letter-spacing: 0.05em;
    line-height: 1.65;
    color: rgba(201, 164, 74, 0.85);
  }

  .mobile-prompt__close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: rgba(201, 164, 74, 0.5);
    padding: 4px 6px;
    line-height: 1;
    transition: color 0.2s ease;
  }

  .mobile-prompt__close:hover {
    color: rgba(201, 164, 74, 0.85);
  }
}

/* ────────────────────────────────────────
   SCROLL REVEAL
──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ────────────────────────────────────────
   HERO
──────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 64px;
  background-color: var(--navy);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("https://weddsite.b-cdn.net/showcase/graduation-gahs/bg-layer.png");
  background-repeat: repeat;
  background-position: center;
  background-size: 420px auto;
  opacity: 0.28;
  pointer-events: none;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: heroFadeIn 1.1s ease both;
}

.hero__logo {
  width: 104px;
  height: auto;
  display: block;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.hero__school {
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--gold);
  line-height: 1.35;
}

.hero__year {
  margin: 0 0 4px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(201, 164, 74, 0.75);
}

.hero__event {
  margin: 0 0 20px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(201, 164, 74, 0.75);
}

.hero__giwvevt {
  margin: 0 0 18px;
  font-family: "BPG Nino Elite Caps", "Noto Serif Georgian", serif;
  font-size: 44px;
  font-weight: normal;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  text-shadow:
    0 0 28px rgba(228, 197, 108, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero__oval {
  width: 240px;
  height: 56px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  background: linear-gradient(180deg,
    rgba(228, 197, 108, 0.16) 0%,
    rgba(201, 164, 74, 0.06) 50%,
    rgba(138, 112, 56, 0.14) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(228, 197, 108, 0.3),
    0 2px 18px rgba(201, 164, 74, 0.1);
  margin-bottom: 26px;
  flex-shrink: 0;
}

.hero__body {
  margin-bottom: 24px;
}

.hero__body p {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: rgba(201, 164, 74, 0.82);
  line-height: 1.75;
}

.hero__body p:last-child {
  margin-bottom: 0;
}

.hero__thanks {
  margin: 0 0 28px;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--gold);
  padding: 14px 20px;
  border-top: 1px solid rgba(201, 164, 74, 0.28);
  border-bottom: 1px solid rgba(201, 164, 74, 0.28);
  width: 100%;
  text-align: center;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 28px;
  font-family: inherit;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--navy);
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 45%, var(--gold-dim) 100%);
  border: 1px solid rgba(228, 197, 108, 0.85);
  border-radius: 4px;
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition:
    background-color 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.2s ease;
}

.hero__cta:hover {
  color: var(--white);
  background: transparent;
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 1px rgba(201, 164, 74, 0.35);
}

.hero__cta:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.hero__cta:active {
  transform: translateY(1px);
}

@media (min-width: 481px) {
  .hero {
    padding: 56px 28px 72px;
  }

  .hero__logo {
    width: 118px;
    margin-bottom: 22px;
  }

  .hero__school {
    font-size: 17px;
    margin-bottom: 12px;
  }

  .hero__year,
  .hero__event {
    font-size: 14px;
  }

  .hero__giwvevt {
    font-size: 54px;
  }

  .hero__oval {
    width: 290px;
    height: 64px;
  }

  .hero__body p {
    font-size: 14px;
  }

  .hero__thanks {
    font-size: 16px;
  }

  .hero__cta {
    min-height: 48px;
    font-size: 15px;
    padding: 14px 32px;
  }
}

@media (min-width: 769px) {
  .hero__inner {
    max-width: 640px;
  }

  .hero__logo {
    width: 130px;
    margin-bottom: 26px;
  }

  .hero__school {
    font-size: 18px;
    margin-bottom: 14px;
  }

  .hero__year,
  .hero__event {
    font-size: 15px;
  }

  .hero__giwvevt {
    font-size: 66px;
    margin-bottom: 22px;
  }

  .hero__oval {
    width: 340px;
    height: 74px;
    margin-bottom: 30px;
  }

  .hero__body p {
    font-size: 15px;
  }

  .hero__thanks {
    font-size: 17px;
    padding: 16px 24px;
    margin-bottom: 32px;
  }

  .hero__cta {
    min-height: 50px;
    font-size: 15px;
    padding: 14px 36px;
  }
}

@media (min-width: 1025px) {
  .hero__bg {
    background-size: 480px auto;
    opacity: 0.32;
  }

  .hero__giwvevt {
    font-size: 76px;
  }

  .hero__oval {
    width: 380px;
    height: 82px;
  }
}

/* ────────────────────────────────────────
   COUNTDOWN (inside hero)
──────────────────────────────────────── */
.hero__countdown {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(201, 164, 74, 0.22);
  border-bottom: 1px solid rgba(201, 164, 74, 0.22);
  margin-bottom: 28px;
}

.hero__countdown-label {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(201, 164, 74, 0.65);
}

.countdown {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
}

.countdown__num {
  font-size: 38px;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
  line-height: 1;
}

.countdown__lbl {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(201, 164, 74, 0.55);
  margin-top: 6px;
}


.countdown__done {
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--gold);
}

@media (min-width: 481px) {
  .hero__countdown {
    gap: 18px;
    padding: 22px 0 30px;
  }

  .countdown__num {
    font-size: 46px;
  }

  .countdown__unit {
    min-width: 68px;
  }

  .countdown__lbl {
    font-size: 10px;
  }
}

@media (min-width: 769px) {
  .hero__countdown {
    gap: 20px;
    padding: 24px 0 32px;
  }

  .hero__countdown-label {
    font-size: 13px;
    letter-spacing: 0.3em;
  }

  .countdown__num {
    font-size: 56px;
  }

  .countdown__unit {
    min-width: 88px;
  }

  .countdown__lbl {
    font-size: 11px;
    margin-top: 8px;
  }
}

/* ────────────────────────────────────────
   TIMETABLE
──────────────────────────────────────── */
.timetable {
  position: relative;
  padding: 56px 20px 64px;
  background-color: var(--navy-mid);
  overflow: hidden;
}

.timetable::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://weddsite.b-cdn.net/showcase/graduation-gahs/bg-layer.png");
  background-repeat: repeat;
  background-position: center;
  background-size: 420px auto;
  opacity: 0.18;
  pointer-events: none;
}

.timetable__title {
  position: relative;
  z-index: 1;
  margin: 0 0 40px;
  font-size: 20px;
  font-weight: normal;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  text-align: center;
}

.timetable__cards {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
}

.timetable__card {
  padding: 24px 20px;
  text-align: center;
  width: 100%;
}

.timetable__label {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(201, 164, 74, 0.6);
}

.timetable__name {
  margin: 0 0 4px;
  font-size: 28px;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
  line-height: 1.1;
}

.timetable__sub {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: rgba(201, 164, 74, 0.65);
}

.timetable__addr {
  margin: 8px 0 0;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(201, 164, 74, 0.62);
  line-height: 1.7;
}

.timetable__divider {
  width: 48px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201, 164, 74, 0.4), transparent);
  flex-shrink: 0;
}

@media (min-width: 481px) {
  .timetable {
    padding: 64px 28px 72px;
  }

  .timetable__title {
    font-size: 22px;
    margin-bottom: 44px;
  }

  .timetable__name {
    font-size: 32px;
  }

  .timetable__label {
    font-size: 12px;
  }
}

@media (min-width: 769px) {
  .timetable {
    padding: 72px 32px 80px;
  }

  .timetable__title {
    font-size: 24px;
    margin-bottom: 52px;
  }

  .timetable__cards {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .timetable__card {
    flex: 1;
    padding: 32px 40px;
  }

  .timetable__label {
    font-size: 12px;
    margin-bottom: 14px;
  }

  .timetable__name {
    font-size: 34px;
    margin-bottom: 6px;
  }

  .timetable__sub {
    font-size: 15px;
  }

  .timetable__addr {
    font-size: 14px;
  }

  .timetable__divider {
    width: 1px;
    height: 88px;
    background: linear-gradient(to bottom, transparent, rgba(201, 164, 74, 0.4), transparent);
    align-self: center;
  }
}

@media (min-width: 1025px) {
  .timetable::before {
    background-size: 480px auto;
    opacity: 0.22;
  }

  .timetable__name {
    font-size: 38px;
  }
}

/* ────────────────────────────────────────
   LOCATION
──────────────────────────────────────── */
.location {
  position: relative;
  padding: 56px 20px 64px;
  background-color: var(--navy);
  overflow: hidden;
}

.location__title {
  margin: 0 0 32px;
  font-size: 20px;
  font-weight: normal;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  text-align: center;
}

.location__map-wrap {
  width: 100%;
  max-width: 720px;
  margin: 0 auto 28px;
  border: 1px solid rgba(201, 164, 74, 0.3);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  aspect-ratio: 4 / 3;
}

.location__map {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: grayscale(30%) brightness(0.88) contrast(1.05);
}

.location__directions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--gold);
  border: 1px solid rgba(201, 164, 74, 0.45);
  border-radius: 6px;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.location__directions:hover {
  color: var(--navy);
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 60%, var(--gold-dim) 100%);
  border-color: var(--gold-bright);
}

@media (min-width: 481px) {
  .location {
    padding: 64px 28px 72px;
  }

  .location__title {
    font-size: 22px;
  }

  .location__map-wrap {
    aspect-ratio: 16 / 9;
  }
}

@media (min-width: 769px) {
  .location {
    padding: 72px 32px 80px;
  }

  .location__title {
    font-size: 24px;
    margin-bottom: 40px;
  }

  .location__map-wrap {
    aspect-ratio: 16 / 7;
  }

  .location__directions {
    font-size: 14px;
    padding: 14px 36px;
  }
}

/* ────────────────────────────────────────
   RSVP
──────────────────────────────────────── */
.rsvp {
  position: relative;
  padding: 48px 20px 56px;
  background-color: var(--navy);
  overflow: hidden;
}

.rsvp__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.rsvp__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://weddsite.b-cdn.net/showcase/graduation-gahs/bg-layer.png");
  background-repeat: repeat;
  background-position: center;
  background-size: 420px auto;
  opacity: 0.28;
  transform: scaleX(-1);
}

.rsvp__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.rsvp__title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: normal;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  text-align: center;
}

.rsvp__lead {
  margin: 0 0 28px;
  font-size: 15px;
  letter-spacing: 0.05em;
  color: var(--gold);
  text-align: center;
  line-height: 1.55;
  opacity: 0.95;
}

.rsvp__form {
  padding: 28px 22px 32px;
  border: 1px solid rgba(201, 164, 74, 0.38);
  border-radius: 12px;
  background: rgba(0, 13, 31, 0.72);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.rsvp__field {
  margin-bottom: 24px;
}

.rsvp__label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
}

.rsvp__input {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--white);
  background: rgba(0, 21, 46, 0.9);
  border: 1px solid rgba(201, 164, 74, 0.45);
  border-radius: 8px;
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background-color 0.35s ease;
}

.rsvp__input::placeholder {
  color: rgba(201, 164, 74, 0.4);
}

.rsvp__input:hover {
  border-color: rgba(228, 197, 108, 0.55);
}

.rsvp__input:focus {
  outline: none;
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 2px rgba(201, 164, 74, 0.2);
}

.rsvp__fieldset {
  margin: 0 0 24px;
  padding: 0;
  border: none;
}

.rsvp__legend {
  display: block;
  margin-bottom: 14px;
  padding: 0;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
}

.rsvp__radios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.rsvp__radio-card {
  cursor: pointer;
}

.rsvp__radio-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rsvp__radio-face {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--gold);
  border: 1px solid rgba(201, 164, 74, 0.45);
  border-radius: 10px;
  background: rgba(0, 21, 46, 0.55);
  transition:
    background-color 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.rsvp__radio-input:focus-visible + .rsvp__radio-face {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.rsvp__radio-input:checked + .rsvp__radio-face {
  color: var(--navy);
  border-color: rgba(228, 197, 108, 0.95);
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 50%, var(--gold-dim) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.rsvp__status {
  min-height: 22px;
  margin: 0 0 16px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--gold-dim);
  text-align: center;
}

.rsvp__submit {
  width: 100%;
  min-height: 50px;
  padding: 14px 24px;
  font-family: inherit;
  font-size: 15px;
  letter-spacing: 0.08em;
  cursor: pointer;
  color: var(--navy);
  border: 1px solid rgba(228, 197, 108, 0.85);
  border-radius: 10px;
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 45%, var(--gold-dim) 100%);
  box-shadow:
    0 3px 0 rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition:
    background-color 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.2s ease;
}

.rsvp__submit:hover {
  color: var(--white);
  background: transparent;
  border-color: var(--gold-bright);
}

.rsvp__submit:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.rsvp__submit:active {
  transform: translateY(2px);
}

.rsvp__success {
  padding: 40px 24px;
  border: 1px solid rgba(201, 164, 74, 0.45);
  border-radius: 12px;
  text-align: center;
  background: rgba(0, 13, 31, 0.72);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.rsvp__success-title {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
}

.rsvp__success-text {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.05em;
  color: var(--gold);
  line-height: 1.5;
}

@media (min-width: 481px) {
  .rsvp {
    padding: 56px 28px 64px;
  }

  .rsvp__inner {
    max-width: 520px;
  }

  .rsvp__title {
    font-size: 24px;
  }

  .rsvp__lead {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .rsvp__form {
    padding: 32px 28px 36px;
  }
}

@media (min-width: 769px) {
  .rsvp {
    padding: 64px 32px 72px;
  }

  .rsvp__inner {
    max-width: 560px;
  }

  .rsvp__title {
    font-size: 26px;
    margin-bottom: 14px;
  }

  .rsvp__form {
    padding: 36px 36px 40px;
  }

  .rsvp__radios {
    gap: 16px;
  }
}

@media (min-width: 1025px) {
  .rsvp__bg::before {
    background-size: 480px auto;
    opacity: 0.32;
  }
}

/* ────────────────────────────────────────
   FOOTER
──────────────────────────────────────── */
.footer {
  padding: 44px 20px 40px;
  background-color: var(--navy-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border-top: 1px solid rgba(201, 164, 74, 0.14);
}

.footer__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.footer__logo-img {
  height: 76px;
  width: auto;
  display: block;
  opacity: 0.82;
}

.footer__site-link {
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.25s ease;
}

.footer__site-link:hover {
  opacity: 1;
}

.footer__credit {
  margin: 0;
}

.footer__credit-link {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(201, 164, 74, 0.32);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer__credit-link:hover {
  color: rgba(201, 164, 74, 0.58);
}

@media (min-width: 481px) {
  .footer {
    padding: 52px 28px 48px;
    gap: 22px;
  }

  .footer__logo-img {
    height: 84px;
  }
}

@media (min-width: 769px) {
  .footer {
    padding: 60px 32px 56px;
    gap: 26px;
  }

  .footer__logos {
    gap: 32px;
  }

  .footer__logo-img {
    height: 92px;
  }

  .footer__credit-link {
    font-size: 12px;
  }
}


/* ===========================================================================
   Viewport pin + loading screen
   ---------------------------------------------------------------------------
   Shared across every Weddsite template; only the palette below is per design.

   --vh is written by the inline script in <head> and re-measured on width
   changes only, so Instagram's and Messenger's sliding nav bar cannot resize
   the layout. `vh`, `svh`, `lvh` and `dvh` all move with it, which is why the
   pin has to come from JS. The 100vh/100svh floors stay as the no-JS fallback
   and MUST be declared before the .vh-lock rule that overrides them.

   The loader exists so `font-display: block` is safe: the block period is spent
   behind the spinner instead of on an invisible page. It also holds the entry
   animation (via .is-loading) so the intro is not played out behind it.
   =========================================================================== */

:root {
    --vh: 1vh;
}

html {
    overscroll-behavior-y: none;
}

.vh-lock body,
.vh-lock .hero {
    min-height: calc(var(--vh) * 100);
}

/* Entry animations must not play out behind the spinner - a guest who uncovers a
   finished, static scene has been shown nothing. `is-loading` is set by the
   inline script in <head> before first paint and removed on reveal, so a paused
   animation resumes from frame zero exactly when the guest can first see it.
   The spinner itself is excluded, and with JS off the class never lands. */
.is-loading body *:not(.loader):not(.loader__spinner) {
    animation-play-state: paused !important;
}

.loader {
    position: fixed;
    inset: 0;
    /* Out-ranks every entry overlay (envelopes / curtains / clouds live at 9999+). */
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #00152e;
    opacity: 1;
    transition: opacity 0.55s ease;
}

.loader.is-hidden {
    opacity: 0;
}

.loader.is-gone {
    display: none;
}

.loader__spinner {
    display: block;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(201, 164, 74, 0.25);
    border-top-color: #c9a44a;
    border-radius: 50%;
    animation: loader-spin 0.9s linear infinite;
}

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