:root {
  --ink: #062c36;
  --deep: #003845;
  --water: #087c82;
  --foam: #edf6f2;
  --paper: #f8faf6;
  --coral: #d9362b;
  --line: rgba(6, 44, 54, 0.19);
  --content: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Avenir, "Trebuchet MS", sans-serif;
  line-height: 1.6;
}

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

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

.skip-link {
  position: fixed;
  z-index: 20;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  color: white;
  background: var(--coral);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #ffda57;
  outline-offset: 4px;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  display: flex;
  width: var(--content);
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.86rem;
  font-weight: 700;
}

nav a:not(.nav-contact) {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

nav a:not(.nav-contact):hover {
  border-color: white;
}

.nav-contact,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 800;
}

.nav-contact,
.button-primary {
  color: white;
  background: var(--coral);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(860px, 92vh);
  align-items: end;
  overflow: hidden;
  color: white;
  background: var(--deep);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 42%;
  animation: reveal-image 1.1s ease-out both;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(0, 27, 33, 0.86) 0%, rgba(0, 40, 48, 0.38) 52%, rgba(0, 20, 25, 0.12) 100%), linear-gradient(0deg, rgba(0, 28, 34, 0.62), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: var(--content);
  margin: 0 auto;
  padding: 160px 0 88px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.9;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: clamp(5rem, 13vw, 10rem);
}

h2 {
  font-size: clamp(3rem, 7vw, 6rem);
}

h3 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
}

.hero-intro {
  max-width: 600px;
  margin-bottom: 30px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button-ghost {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.button:hover,
.nav-contact:hover {
  filter: brightness(1.1);
}

.federation {
  position: absolute;
  z-index: 2;
  right: max(20px, calc((100% - 1180px) / 2));
  bottom: 36px;
  margin: 0;
  font-size: 0.8rem;
}

.forum-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  width: 100%;
  align-items: center;
  gap: 36px;
  padding: 28px max(20px, calc((100% - 1180px) / 2));
  color: white;
  background: var(--coral);
}

.forum-banner h2 {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.15;
  text-transform: none;
}

.forum-banner p {
  margin-bottom: 0;
}

.forum-date {
  min-width: 100px;
  padding-right: 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.48);
  font-size: 0.75rem;
  line-height: 1.15;
  text-transform: uppercase;
}

.forum-date span {
  display: block;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 3.5rem;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  font-weight: 900;
  border-bottom: 2px solid currentColor;
}

.section {
  width: var(--content);
  margin: 0 auto;
  padding: 110px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  column-gap: 8vw;
  align-items: end;
  margin-bottom: 70px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  color: var(--coral);
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p:last-child {
  max-width: 440px;
  margin-bottom: 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 70px minmax(280px, 0.9fr) 1.1fr;
  gap: 34px;
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-number {
  color: var(--coral);
  font-weight: 900;
}

.timeline-copy {
  padding-right: 20px;
}

.timeline-item img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  border-radius: 4px;
}

.timeline-period {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

dl {
  margin: 26px 0;
  border-top: 1px solid var(--line);
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

dt {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

dd {
  margin: 0;
  text-align: right;
}

.sea-dates p {
  display: grid;
  margin-bottom: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.sea-dates strong {
  color: var(--coral);
}

.activities {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 660px;
  color: white;
  background: var(--deep);
}

.activities-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activities-content {
  align-self: center;
  max-width: 560px;
  padding: 80px clamp(36px, 7vw, 110px);
}

.activities-content h2 {
  margin-bottom: 30px;
}

.activities-content > p:not(.eyebrow) {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.schedule-list {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.schedule-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.schedule-list strong {
  text-align: right;
}

.gallery-heading h2 {
  font-size: clamp(3.5rem, 8vw, 7rem);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 700px;
  margin: 0 auto;
  gap: 16px;
}

figure {
  margin: 0;
}

.gallery-grid figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
}

.gallery-wide {
  grid-column: auto;
}

figcaption {
  padding-top: 9px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 100px max(20px, calc((100% - 1180px) / 2));
  color: white;
  background: var(--water);
}

.contact h2 {
  margin-bottom: 0;
}

.contact-links {
  align-self: end;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
}

.contact-links a {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
}

.contact-links span {
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-links i {
  font-size: 1.4rem;
  font-style: normal;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 36px;
  padding: 32px max(20px, calc((100% - 1180px) / 2));
  color: white;
  background: #00252d;
  font-size: 0.74rem;
}

footer p {
  margin: 0;
}

.footer-brand img {
  width: 36px;
  height: 36px;
}

@keyframes reveal-image {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 840px) {
  .site-header {
    align-items: flex-start;
  }

  nav {
    gap: 10px;
  }

  nav a:not(.nav-contact) {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

  .federation {
    display: none;
  }

  .forum-banner {
    grid-template-columns: auto 1fr;
  }

  .forum-banner > .arrow-link {
    grid-column: 2;
    justify-self: start;
  }

  .section-heading,
  .timeline-item,
  .contact {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    gap: 16px;
  }

  .timeline-item img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .activities {
    grid-template-columns: 1fr;
  }

  .activities-image img {
    max-height: 500px;
  }

  .contact {
    gap: 50px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 560px) {
  :root {
    --content: calc(100% - 32px);
  }

  .brand span {
    max-width: 80px;
    line-height: 1.05;
  }

  .hero-content {
    padding-bottom: 58px;
  }

  h1 {
    font-size: 4.7rem;
  }

  .forum-banner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .forum-date {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 0 0 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.48);
  }

  .forum-date span {
    font-size: 2.6rem;
  }

  .forum-banner > .arrow-link {
    grid-column: auto;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading {
    margin-bottom: 44px;
  }

  .timeline-item {
    padding: 32px 0;
  }

  .timeline-copy {
    padding-right: 0;
  }

  .activities-content {
    padding: 64px 24px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .contact {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .contact-links a {
    grid-template-columns: 1fr auto;
  }

  .contact-links span {
    grid-column: 1 / -1;
  }

  .contact-links strong {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

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

  .hero-image {
    animation: none;
  }
}