:root {
  --sky: #88b8d0;
  --sky-deep: #75a9c5;
  --marine: #255b77;
  --marine-dark: #174359;
  --cream: #f7f3d8;
  --red: #f61008;
  --orange: #f3aa08;
  --farm-green: #477f45;
  --paper: #fbf8df;
  --line: rgba(23, 67, 89, 0.22);
  --space: clamp(1rem, 2vw, 1.75rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--marine-dark);
  background: var(--paper);
  font-family: "Space Grotesk", system-ui, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  content: "";
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(23, 67, 89, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 67, 89, 0.12) 1px, transparent 1px);
  background-size: 38px 38px;
  mix-blend-mode: multiply;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

.secondary-action,
.primary-action {
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.secondary-action:hover,
.primary-action:hover {
  transform: translateY(-2px);
}

.secondary-action:active,
.primary-action:active {
  transform: translateY(1px) scale(0.98);
}

.hero {
  --hero-min-height: max(100dvh, calc(56.25vw + clamp(28rem, 40vw, 38rem)));

  position: relative;
  min-height: var(--hero-min-height);
  overflow: hidden;
  color: var(--marine);
  background: var(--farm-green);
}

.hero-art {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0 0 0 0);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: end;
  gap: clamp(1.15rem, 2.5vw, 2rem);
  max-width: min(980px, 100%);
  min-height: var(--hero-min-height);
  padding: calc(56.25vw + clamp(3rem, 6vw, 5rem)) var(--space) clamp(5.25rem, 10vh, 7rem);
}

.micro-label {
  width: max-content;
  max-width: 100%;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--marine);
  text-transform: uppercase;
  background: var(--cream);
  border: 2px solid currentColor;
  border-radius: 999px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero-intro {
  max-width: 860px;
  margin-inline: auto;
  color: var(--cream);
  text-align: center;
}

.hero-intro h2 {
  max-width: 900px;
  margin-bottom: clamp(1.1rem, 2.5vw, 1.75rem);
  color: var(--cream);
  font-size: clamp(3rem, 8vw, 8.6rem);
}

.hero-intro p:not(.micro-label) {
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 0;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.42;
}

.hero-intro p:not(.micro-label) + p:not(.micro-label) {
  margin-top: 0.9rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: min(100%, 720px);
  margin-inline: auto;
  width: min(100%, 720px);
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.05rem;
  font-weight: 700;
  border: 2px solid var(--marine);
  border-radius: 999px;
}

.primary-action {
  color: var(--cream);
  background: var(--marine);
}

.secondary-action {
  color: var(--cream);
  background: rgba(23, 67, 89, 0.1);
  border-color: var(--cream);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  z-index: 3;
  display: grid;
  gap: 0.22rem;
  place-items: center;
  width: max-content;
  max-width: calc(100% - (var(--space) * 2));
  min-height: 50px;
  padding: 0.55rem 1.15rem 0.7rem;
  color: var(--marine);
  background: var(--cream);
  border: 2px solid var(--marine);
  border-radius: 999px;
  transform: translateX(-50%);
  animation: cue-pulse 1.8s ease-in-out infinite;
}

.scroll-cue strong {
  font-size: 0.95rem;
  line-height: 1;
}

.scroll-cue span {
  width: 11px;
  height: 11px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.visit-section,
.contact-section {
  padding: clamp(4rem, 9vw, 8rem) var(--space);
  text-align: center;
}

h2 {
  max-width: 900px;
  margin-bottom: 0;
  font-family: "Righteous", system-ui, sans-serif;
  font-size: clamp(2.6rem, 6vw, 6.8rem);
  font-weight: 400;
  line-height: 0.88;
  text-transform: lowercase;
}

.visit-section {
  color: var(--cream);
  background: var(--marine);
}

.visit-copy {
  max-width: 1180px;
  margin-inline: auto;
}

.visit-section .micro-label,
.contact-section .micro-label {
  margin-inline: auto;
}

.visit-copy h2 {
  margin-inline: auto;
  margin-bottom: clamp(1rem, 2vw, 1.45rem);
}

.visit-image {
  width: min(100%, 980px);
  aspect-ratio: 4 / 3;
  margin: 0 auto clamp(1.5rem, 3.5vw, 2.75rem);
  object-fit: cover;
  border: 2px solid rgba(247, 243, 216, 0.45);
}

.venue-note {
  max-width: 860px;
  margin: 0 auto clamp(1.8rem, 4vw, 3rem);
  font-size: clamp(1.2rem, 2.2vw, 1.9rem);
  line-height: 1.32;
  color: var(--cream);
}

.event-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid rgba(247, 243, 216, 0.38);
}

.event-facts div {
  padding: 1.2rem 1rem;
  border-bottom: 1px solid rgba(247, 243, 216, 0.38);
}

.event-facts dt {
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sky);
  text-transform: uppercase;
}

.event-facts dd {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.35;
}

.contact-section {
  color: var(--marine);
  background: var(--orange);
}

.contact-section h2 {
  max-width: 1040px;
  margin-inline: auto;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.contact-mail {
  display: inline-block;
  padding-bottom: 0.2rem;
  font-family: "Poiret One", system-ui, sans-serif;
  font-size: clamp(1.65rem, 5.8vw, 7.4rem);
  line-height: 1;
  border-bottom: 0.08em solid var(--marine);
  transition: transform 180ms ease;
}

.contact-mail:hover {
  transform: translateY(-0.08em);
}

@keyframes cue-pulse {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.72;
  }

  50% {
    transform: translateX(-50%) translateY(8px);
    opacity: 1;
  }
}

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

  .scroll-cue {
    animation: none !important;
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: var(--hero-min-height);
  }

  .hero-content {
    min-height: var(--hero-min-height);
    padding-top: 14rem;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
    justify-content: center;
  }

  .visit-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .event-facts {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 520px) {
  .hero-content,
  .visit-section,
  .contact-section {
    padding-inline: 0.9rem;
  }

  .contact-mail {
    overflow-wrap: anywhere;
  }

}
