/* Power of BG — pobg.org
   Montserrat (SIL Open Font License) stands in for the Gotham Pro used on the old WordPress site. */
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/montserrat-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --teal: #00484f;
  --teal-2: #00726c;
  --blue: #4797b7;
  --text-light: #fbfbfb;
  --font: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font: 300 15px/1.65 var(--font);
  color: var(--teal);
  background: #fff;
}

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

a { color: inherit; }

.wrap {
  width: min(90%, 1200px);
  margin: 0 auto;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  height: 80px;
  background: #fff;
}
.site-header a {
  display: block;
  width: 200px;
  height: 80px;
}
.site-header img { width: 200px; height: 80px; }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: max(100vh, 850px);
  background: var(--teal) url("/assets/hero-poster.jpg") center / cover;
  color: #fff;
  text-align: center;
}
.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.hero::before { /* teal tint over the video, as on the old site */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--teal);
  opacity: .5;
  mix-blend-mode: darken;
}
.hero .wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 200px 0 250px;
}
.hero .content {
  width: 75%;
  margin-top: 40px;
  padding-bottom: 50px;
}
.hero h1 {
  margin: 0 0 15px;
  font: 200 40px/56px var(--font);
}
.hero p {
  margin: 0;
  color: var(--text-light);
}

@media (prefers-reduced-motion: reduce) {
  .hero video { display: none; }
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 20px 16px;
  background: var(--teal);
  color: #fff;
  font: 15px/1.3 var(--font-ui);
  text-align: center;
}
.site-footer p { margin: 0; }
.site-footer p + p { margin-top: 7.5px; }
.site-footer img { width: 180px; height: auto; margin: 0 auto; }
.site-footer a { color: var(--blue); text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { text-decoration: underline; }

/* ---------- Text pages (event terms, 404) ---------- */
.page-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding: 60px 20px;
  background: var(--teal) url("/assets/terms-bg.png") center top / 100% auto no-repeat;
  color: #fff;
  text-align: center;
}
.page-hero h1 {
  max-width: 420px;
  margin: 0 auto 30px;
  font: 200 35px/1.2 var(--font);
}
.page-hero p {
  max-width: 770px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.5;
}
.page-hero .button {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 28px;
  border: 1px solid #fff;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
}
.page-hero .button:hover, .page-hero .button:focus-visible { background: #fff; color: var(--teal); }

.terms {
  max-width: 880px;
  margin: 0 auto;
  padding: 10px 20px 70px;
  font-size: 16px;
  line-height: 1.65;
  text-align: center;
}
.terms section { padding-top: 50px; }
.terms h2 {
  margin: 0 0 20px;
  color: var(--teal-2);
  font: 400 25px/1.2 var(--font);
}
.terms p { margin: 0 0 20px; }
.terms .lead { font-weight: 500; }
.terms ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.terms li { margin: 0 0 20px; }
.terms li::before { content: "– "; }
.terms a { font-weight: 700; }

/* ---------- Breakpoints (match the old Elementor layout) ---------- */
@media (min-width: 1367px) {
  .hero h1 { font-size: 48px; line-height: 1.4; }
  .hero .wrap { padding: 0; }
  .hero .content { width: 50%; }
}
@media (min-width: 1025px) and (max-width: 1366px) {
  .hero .content { width: 50%; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 30px; line-height: 42px; }
  .page-hero h1 { font-size: 30px; }
  .terms h2 { font-size: 22px; }
}
@media (max-width: 689px) {
  .wrap { width: min(100% - 32px, 330px); }
  .hero .wrap { padding: 190px 0 240px; }
  .hero .content { width: 100%; }
}
