:root {
  --primary-blue: #0a2463;
  --accent-gold: #d4af37;
  --bg-white: #ffffff;
  --text-main: #333333;
  --text-muted: #666666;
  --line-soft: #f0f0f0;
  --radius: 14px;
  --shadow-soft: 0 10px 30px rgba(10, 36, 99, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg-white);
  color: var(--text-main);
  line-height: 1.6;
}
.clear {
  clear: both;
  height: 1px;
  width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 10px;
  z-index: 1200;
  padding: 0.6rem 0.8rem;
  background: var(--primary-blue);
  color: #fff;
}

.skip-link:focus {
  top: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(6px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--primary-blue);
  font-weight: 700;
}

.brand-logo {
  height: 38px;
  width: auto;
  display: block;
}

.brand-text {
  height: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}
.brand-text span {
  display: block;
  font-size: 22px;
  line-height: 1;
  font-weight: bolder;
  color: var(--primary-blue);
}
span.brand-text-small {
  font-size: 9px;
  line-height: 1;
  font-weight: 400;
  color: var(--text-main);
  font-style: italic;
  padding-left: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: var(--primary-blue);
  font-weight: 500;
}

.site-nav a {
  position: relative;
  padding: 0.2rem 0;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  width: 100%;
  height: 2px;
  background: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line-soft);
  background: #fff;
  color: var(--primary-blue);
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
}

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: #fafafa;
}

h1,
h2,
h3 {
  color: var(--primary-blue);
  line-height: 1.25;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  margin-bottom: 1rem;
}

.eyebrow {
  color: var(--accent-gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
  position: relative;
  z-index: 2;
}

.hero {
  padding-top: 8rem;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  display: flex;
  align-items: center;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition:
    opacity 0.8s ease,
    transform 4.5s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  background: linear-gradient(
    105deg,
    rgba(9, 16, 34, 0.75) 8%,
    rgba(9, 16, 34, 0.56) 44%,
    rgba(9, 16, 34, 0.35) 100%
  );
  z-index: 1;
}

.hero-copy {
  color: #ffffff;
}

.hero-copy h1,
.hero-copy p {
  color: #ffffff;
}

.hero-copy .eyebrow {
  color: #f0cd68;
}

.hero-card-dark {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--primary-blue);
  backdrop-filter: blur(4px);
}

.hero-card-dark h2,
.hero-card-dark li {
  color: var(--primary-blue);
}

.hero-card-dark h2 {
  color: #072055;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.55rem;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
}

.hero-dot.is-active {
  background: #ffffff;
}

.hero-dot:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

.hero-card,
.card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow-soft);
}
.grid-5 .card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-position: 50%;
  background-size: cover;
  min-height: 210px;
}
.grid-5 .card h3 {
  margin: 0;
  padding: 0;
  color: #fff;
}

.hero-card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
}

.hero-card li {
  margin: 0.45rem 0;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.grid-4 .card {
  padding: 0 0 1.3rem 0;
}
.grid-4 .card h3 {
  padding: 0 1.3rem;
}
.grid-4 .card p {
  padding: 0 1.3rem;
}
.grid-4 .card img {
  width: 100%;
  border-radius: var(--radius) var(--radius) 0 0;
  height: auto;
  object-fit: cover;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

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

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #14337f;
  box-shadow: 0 8px 20px rgba(10, 36, 99, 0.24);
  transform: translateY(-1px);
}

.btn-secondary {
  border: 1px solid var(--primary-blue);
  color: var(--primary-blue);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}
.values {
  margin-top: 2rem;
}
.values ul,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  list-style: none;
  padding: 0;
}

.values li,
.tag-list li {
  border: 1px solid var(--line-soft);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-weight: 500;
  color: var(--text-muted);
  background: #fff;
}

.event-highlight {
  border-left: 4px solid var(--accent-gold);
  display: grid;
  grid-template-columns: 38.2% 61.8%;
  gap: 1.4rem;
  align-items: center;
}

.event-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.event-media img {
  width: 100%;
  max-width: 360px;
  height: auto;
  object-fit: contain;
}

.event-content h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 0.7rem;
}

.event-content p {
  margin-top: 0;
}

.contact-form {
  display: grid;
  gap: 0.55rem;
  max-width: 680px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #dadada;
  border-radius: 10px;
  padding: 0.75rem 0.8rem;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus,
.menu-toggle:focus-visible,
.site-nav a:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible {
  outline: 3px solid rgba(212, 175, 55, 0.45);
  outline-offset: 2px;
}

.site-footer {
  background: #0a2463;
  color: rgba(255, 255, 255, 0.92);
  padding-top: 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.9fr;
  gap: 1.8rem;
  align-items: start;
}

.footer-block h3 {
  margin: 0 0 0.7rem;
  color: #ffffff;
  font-size: 1.2rem;
}

.footer-block p {
  margin: 0.35rem 0;
  color: rgba(255, 255, 255, 0.85);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1.4rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.88);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
}

.footer-brand img {
  width: 62px;
  height: auto;
  margin-right: 45px;
  margin-left: 36px;
}

.footer-brand p {
  margin: 0;
  color: #ffffff;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
}

.footer-bottom {
  margin-top: 1.6rem;
  padding: 0.9rem 0 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  color: var(--text-muted);
}

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, #ffffff 0%, #f7f9ff 60%, #ffffff 100%);
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.intro-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-logo-wrap {
  text-align: center;
  color: var(--primary-blue);
}

.intro-logo {
  width: min(260px, 45vw);
  height: auto;
  margin: 0 auto 0.9rem;
  animation: giftOpen 1.2s ease forwards;
  transform-origin: 50% 70%;
}

.intro-brand {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0;
}

.intro-slogan {
  color: var(--text-muted);
  margin-top: 0.35rem;
  opacity: 0;
  animation: sloganReveal 0.9s ease 0.85s forwards;
}

@keyframes giftOpen {
  0% {
    transform: scale(0.72) rotate(0deg);
    opacity: 0;
  }
  55% {
    transform: scale(1.08) rotate(1.5deg);
    opacity: 1;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

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

@media (max-width: 940px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5 {
    grid-template-columns: 1fr;
  }

  .hero-slider {
    min-height: 68vh;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    background: #fff;
    border-bottom: 1px solid var(--line-soft);
    padding: 0.7rem 1.25rem 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: inline-block;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .footer-brand {
    align-items: flex-start;
  }

  .footer-brand p {
    font-size: 1.7rem;
  }

  .event-highlight {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .event-media {
    justify-content: flex-start;
  }
}

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

  .intro-overlay {
    display: none;
  }
}
