:root {
  --bs-primary: rgb(0, 98, 204);
  --bs-primary-rgb: 0, 98, 204;
  --site-text: #163047;
  --site-muted: #62778b;
  --site-line: rgba(22, 48, 71, 0.12);
  --site-bg: #ffffff;
  --site-shadow: 0 24px 60px rgba(22, 48, 71, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--site-text);
  background: var(--site-bg);
}

h1,
h2,
h3,
.hero-meta strong,
.countdown-part strong {
  font-family: "Urbanist", "Manrope", sans-serif;
}

.site-container {
  max-width: 1240px;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
}

.hero-nav {
  padding-top: 1.1rem;
}

.site-brand {
  padding: 0;
}

.site-brand img {
  width: auto;
  height: 240px;
  object-fit: contain;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus-visible {
  color: #ffffff;
}

.btn {
  --bs-btn-font-weight: 700;
  border-radius: 0.85rem;
  padding: 0.92rem 1.45rem;
}

.btn-brand {
  --bs-btn-bg: rgb(0, 98, 204);
  --bs-btn-border-color: rgb(0, 98, 204);
  --bs-btn-hover-bg: rgb(0, 82, 171);
  --bs-btn-hover-border-color: rgb(0, 82, 171);
  --bs-btn-active-bg: rgb(0, 82, 171);
  --bs-btn-active-border-color: rgb(0, 82, 171);
  --bs-btn-color: white;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: white;
  background: transparent;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.55);
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.hero-section {
  position: relative;
  min-height: 100svh;
  padding: 9.75rem 0 3.5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: url("assets/images/beachparty-hero-konfetti-optimized.jpg") center center / cover no-repeat;
}

.hero-overlay {
  background:
    radial-gradient(ellipse at 26% 52%, rgba(6, 18, 31, 0.58) 0%, rgba(6, 18, 31, 0.42) 34%, rgba(6, 18, 31, 0) 66%),
    linear-gradient(90deg, rgba(22, 48, 71, 0.86) 0%, rgba(22, 48, 71, 0.64) 40%, rgba(22, 48, 71, 0.2) 100%),
    linear-gradient(180deg, rgba(22, 48, 71, 0.2) 0%, rgba(22, 48, 71, 0.54) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-bottom: 1rem;
}

.hero-kicker,
.section-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-kicker {
  color: rgb(73, 165, 255);
  font-family: "Allura", cursive;
  font-size: clamp(2rem, 3.2vw, 3.3rem);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
  margin-bottom: 1.35rem;
}

.section-kicker {
  color: rgb(0, 98, 204);
}

.hero-copy h1 {
  margin: 0;
  color: white;
  font-size: clamp(3.5rem, 6vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.hero-lead {
  max-width: 44rem;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.18rem;
  line-height: 1.8;
  text-shadow: 0 2px 12px rgba(6, 18, 31, 0.72);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem 1.4rem;
  align-items: center;
  margin-top: 1.75rem;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 10px rgba(6, 18, 31, 0.62);
}

.hero-meta strong {
  font-size: 1.6rem;
  line-height: 1.1;
}

.hero-meta span {
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.countdown-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.7rem;
  margin-top: 2.8rem;
}

.countdown-part {
  min-width: 126px;
}

.countdown-part strong {
  display: block;
  color: white;
  font-size: 2.85rem;
  line-height: 1;
}

.countdown-part span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-block {
  padding: 5.25rem 0;
}

.section-block--tight {
  padding-top: 0;
  padding-bottom: 0;
}

.section-border-top {
  border-top: 1px solid var(--site-line);
}

.section-title {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-copy {
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--site-muted);
}

.wide-image img {
  width: 100%;
  height: clamp(280px, 38vw, 520px);
  object-fit: cover;
  display: block;
}

.feature-list {
  display: grid;
  gap: 1.2rem;
}

.feature-item {
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--site-line);
}

.feature-item h3 {
  margin-bottom: 0.45rem;
  font-size: 1.18rem;
}

.feature-item p {
  margin: 0;
  color: var(--site-muted);
  line-height: 1.8;
}

.gallery-years {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.gallery-year {
  padding: 0.78rem 1.12rem;
  border: 1px solid var(--site-line);
  border-radius: 999px;
  background: transparent;
  color: var(--site-text);
  font-weight: 700;
}

.gallery-year.is-active {
  border-color: rgba(0, 98, 204, 0.24);
  color: rgb(0, 73, 153);
  background: rgba(0, 98, 204, 0.06);
}

.gallery-grid {
  margin-top: 1rem;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  border-radius: 1.5rem;
  box-shadow: var(--site-shadow);
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.gallery-card__overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(22, 48, 71, 0.82));
}

.gallery-card__year {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery-card__caption {
  display: block;
  color: white;
  font-size: 1.04rem;
}

.gallery-card__caption:empty {
  display: none;
}

.gallery-modal__content {
  border: 0;
  border-radius: 1.5rem;
  overflow: hidden;
  background: #0d1f31;
}

.gallery-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
}

.gallery-modal__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(70vh, 760px);
  padding: 1.5rem 4.5rem 1rem;
  background: #081624;
}

.gallery-modal__stage img {
  width: 100%;
  max-height: min(62vh, 680px);
  object-fit: contain;
}

.gallery-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  font-size: 2rem;
  line-height: 1;
}

.gallery-modal__nav--prev {
  left: 1rem;
}

.gallery-modal__nav--next {
  right: 1rem;
}

.gallery-modal__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  padding: 0 1.5rem 1rem;
  color: white;
}

.gallery-modal__year {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery-modal__caption {
  display: block;
  min-height: 1.5rem;
  font-size: 1rem;
}

.gallery-modal__caption:empty {
  display: none;
}

.gallery-modal__counter {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  white-space: nowrap;
}

.gallery-modal__thumbs {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding: 0 1.5rem 1.5rem;
}

.gallery-modal__thumb {
  flex: 0 0 auto;
  width: 110px;
  height: 78px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.8rem;
  overflow: hidden;
  background: transparent;
}

.gallery-modal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-modal__thumb.is-active {
  border-color: rgb(73, 165, 255);
}

.site-accordion .accordion-item {
  border: 0;
  border-bottom: 1px solid var(--site-line);
  background: transparent;
}

.site-accordion .accordion-button {
  padding: 1.35rem 0;
  background: transparent;
  box-shadow: none;
  color: var(--site-text);
  font-weight: 800;
}

.site-accordion .accordion-button:not(.collapsed) {
  color: rgb(0, 73, 153);
  background: transparent;
}

.site-accordion .accordion-body {
  padding: 0 0 1.35rem;
  color: var(--site-muted);
  line-height: 1.8;
}

.site-footer {
  border-top: 1px solid var(--site-line);
  background: #f8fbff;
}

.footer-legal {
  padding: 2.4rem 0 3rem;
}

.footer-legal__intro {
  margin-bottom: 1.5rem;
}

.footer-legal__intro h2 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--site-text);
}

.footer-legal__intro p,
.footer-legal__grid p,
.footer-legal__grid address {
  margin: 0;
  color: var(--site-muted);
  font-size: 0.97rem;
  line-height: 1.8;
  font-style: normal;
}

.footer-legal__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--site-line);
}

.footer-legal__grid h3 {
  margin: 0 0 0.75rem;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(0, 73, 153);
}

.footer-legal a {
  color: rgb(0, 73, 153);
  text-decoration: none;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  text-decoration: underline;
}

code {
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(0, 98, 204, 0.08);
  color: rgb(0, 73, 153);
}

@media (min-width: 992px) and (max-height: 1100px) {
  .site-brand img {
    height: clamp(150px, 20svh, 190px);
  }

  .hero-section {
    min-height: 760px;
    padding-top: clamp(12rem, 28svh, 14rem);
    padding-bottom: 2.5rem;
    align-items: flex-start;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-kicker {
    font-size: clamp(2rem, 2.7vw, 2.85rem);
    margin-bottom: 1rem;
  }

  .hero-copy h1 {
    font-size: clamp(3.35rem, 5.2vw, 5.45rem);
  }

  .hero-lead {
    margin-top: 1rem;
    line-height: 1.65;
  }

  .hero-meta {
    margin-top: 1.25rem;
  }

  .hero-actions {
    margin-top: 1.45rem;
  }

  .countdown-row {
    gap: 1rem 1.35rem;
    margin-top: 1.85rem;
  }

  .countdown-part strong {
    font-size: 2.35rem;
  }
}

@media (max-width: 991.98px) {
  .hero-nav .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem 1.25rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1.25rem;
    background: rgba(22, 48, 71, 0.92);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px rgba(22, 48, 71, 0.22);
  }

  .site-brand img {
    height: 190px;
  }

  .hero-section {
    min-height: auto;
    padding-top: 12rem;
    align-items: flex-end;
  }
}

@media (max-width: 767.98px) {
  .site-brand img {
    height: 164px;
  }

  .hero-section {
    padding-top: 10.25rem;
    padding-bottom: 3rem;
  }

  .hero-copy h1 {
    font-size: 3rem;
  }

  .hero-kicker {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section-block {
    padding: 4rem 0;
  }

  .countdown-part {
    min-width: 104px;
  }

  .footer-legal__grid {
    grid-template-columns: 1fr;
  }

  .gallery-modal__stage {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .gallery-modal__nav {
    width: 44px;
    height: 44px;
    font-size: 1.65rem;
  }
}

@media (max-width: 575.98px) {
  .site-brand img {
    height: 142px;
  }

  .hero-copy {
    max-width: min(21rem, calc(100vw - 1.5rem));
  }

  .hero-copy h1 {
    font-size: 2.25rem;
    max-width: 7.5em;
  }

  .hero-kicker {
    display: block;
    font-size: 1.55rem;
    line-height: 1.08;
  }

  .hero-lead,
  .section-copy,
  .feature-item p {
    font-size: 1rem;
  }

  .hero-actions,
  .hero-meta,
  .countdown-row {
    max-width: min(21rem, calc(100vw - 1.5rem));
  }

  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .countdown-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    width: 100%;
  }

  .countdown-part {
    min-width: 0;
  }

  .countdown-part strong {
    font-size: 2.18rem;
  }

  .countdown-part span {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .gallery-modal__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-modal__thumb {
    width: 92px;
    height: 66px;
  }
}
