:root {
  --background: #002039;
  --nav-background: #7c1e23;
  --text: #fff;
  --link-hover: #8ed1fc;
  --content-width: 1120px;
  --page-pad: clamp(20px, 5vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
}

a {
  color: #fff;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

a:hover,
a:focus-visible {
  color: var(--link-hover);
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  width: 100%;
}

.hero {
  position: relative;
  display: block;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #001626;
}

.hero img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
}

.nav-bar {
  position: relative;
  z-index: 20;
  background: var(--nav-background);
  min-height: 72px;
}

.nav-inner {
  width: min(100%, 1400px);
  min-height: 72px;
  margin: 0 auto;
  padding: 0 32px 0 43px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.site-logo {
  width: 92px;
  height: 72px;
  flex: 0 0 92px;
  position: relative;
  display: block;
}

.site-logo img {
  position: absolute;
  width: 49px;
  max-width: none;
  left: 22px;
  top: 10px;
  transform: rotate(-20deg) scale(3.4);
  transform-origin: center;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(16px, 2.2vw, 34px);
  letter-spacing: .7px;
  padding-left: 20px;
  font-size: .88rem;
}

.site-nav a {
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  text-decoration: underline;
}

.menu-button {
  display: none;
  margin-left: auto;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 4px;
  background: transparent;
  color: #fff;
  font: inherit;
  padding: 8px 12px;
}

.main-content {
  min-height: 45vh;
  padding: 40px var(--page-pad) 64px;
}

.content-width {
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.entry-content {
  max-width: 100%;
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4 {
  color: #fff;
  font-weight: 300;
  line-height: 1.2;
}

h1 {
  margin: 0 0 28px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  letter-spacing: 1px;
}

h2 {
  margin-top: 2rem;
  font-size: 1.45rem;
}

.home-content {
  padding-left: min(60px, 5vw);
}

.home-content > .entry-content {
  letter-spacing: .7px;
  font-weight: 300;
}

.entry-content p:first-child {
  margin-top: 0;
}

.entry-content figure {
  margin: 2rem 0;
}

.entry-content img {
  max-height: 700px;
  width: auto;
}

.entry-content .product-image,
.product-image {
  width: 400px;
  max-width: 100%;
}

.wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.wp-block-column {
  flex: 1 1 280px;
}

.wp-block-gallery,
.blocks-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  padding: 0;
  list-style: none;
}

.carousel {
  width: min(100%, 1050px);
  margin: 46px auto 0;
}

.carousel-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 650px;
  overflow: hidden;
  background: #001626;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease;
}

.carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

.carousel-control {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 46px;
  height: 54px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 3px;
  background: rgba(0,0,0,.4);
  color: #fff;
  cursor: pointer;
  font-size: 40px;
  line-height: 1;
}

.carousel-control:hover,
.carousel-control:focus-visible {
  background: rgba(0,0,0,.7);
}

.carousel-prev {
  left: 12px;
}

.carousel-next {
  right: 12px;
}

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  padding: 14px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.carousel-dot.is-active {
  background: #fff;
}

.event-list {
  display: grid;
  gap: 26px;
}

.event-card {
  padding: 0 0 26px;
  border-bottom: 1px solid rgba(255,255,255,.3);
}

.event-card h2 {
  margin: 0 0 6px;
}

.event-date {
  opacity: .82;
  font-size: .94rem;
}

.event-featured-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 700px;
  margin: 28px 0;
}

.event-venue {
  margin: 20px 0 30px;
}

.notice {
  opacity: .75;
}

.site-footer {
  background: rgba(0,0,0,.89);
  color: #fff;
  text-align: center;
  font-size: .82rem;
  padding: 30px var(--page-pad) 28px;
}

@media (max-width: 900px) {
  .nav-inner {
    min-height: 70px;
    padding: 0 20px;
    gap: 18px;
  }

  .site-logo {
    width: 78px;
    flex-basis: 78px;
  }

  .site-logo img {
    left: 18px;
    transform: rotate(-20deg) scale(2.9);
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    display: none;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: var(--background);
    font-size: 1rem;
  }

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

  .site-nav a {
    display: block;
    padding: 10px 4px;
    background: var(--nav-background)
  }

  .product-image,
  .entry-content .product-image {
    width: 100%;
  }

  .home-content {
    padding-left: 0;
  }
}

@media (max-width: 600px) {
  .hero,
  .hero img {
    height: 180px;
  }

  .main-content {
    padding-top: 32px;
    padding-bottom: 46px;
  }

  .home-content br {
    display: none;
  }

  .carousel-viewport {
    aspect-ratio: 4 / 3;
  }

  .carousel-control {
    width: 40px;
    height: 48px;
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .carousel-slide {
    transition: none;
  }
}
