@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Space+Grotesk:wght@400;500;600;700&display=swap");
:root {
  --ink: #1e3029;
  --muted: #5c6e65;
  --paper: #f5f3ed;
  --white: #fffdf8;
  --line: #d9ded5;
  --green: #1a5c49;
  --coral: #c65d45;
  --yellow: #e9bd61;
  --shell: min(1160px, calc(100% - 64px));
  --header-bg: rgba(245, 243, 237, .94);
  --card-bg: #fffdf8;
  --hero-bg: #e7eee6;
  --link-hover: #1a5c49;
  --brand-bg: #f4f5ef;
  --card-shadow: 0 12px 32px rgba(30, 48, 41, .07);
}

:root[data-theme=dark] {
  --ink: #f1f2e9;
  --muted: #c4c4de;
  --paper: #32325b;
  --white: #f8f8ef;
  --line: #53538a;
  --green: #25254a;
  --coral: #ff947b;
  --yellow: #f5cf67;
  --header-bg: rgba(50, 50, 91, .97);
  --card-bg: #3c3c6b;
  --hero-bg: #414175;
  --link-hover: #ff947b;
  --brand-bg: #32325b;
  --card-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

a:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  box-shadow: 0 4px 20px rgba(30, 48, 41, 0.04);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 122px;
  gap: 32px;
}

.brand {
  display: block;
  flex: 0 0 110px;
  width: 110px;
  height: 110px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--brand-bg);
  text-decoration: none;
}

.brand img {
  display: block;
  width: 110px;
  height: 110px;
  max-width: none;
}

:root[data-theme=light] .logo-dark, :root[data-theme=dark] .logo-light {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav > a:not(.nav-cta) {
  position: relative;
  padding: 8px 0;
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--coral);
  content: "";
  transition: transform 0.2s ease;
}

.site-nav > a:not(.nav-cta):hover {
  color: var(--ink);
}

.site-nav > a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.site-nav .nav-cta {
  padding: 10px 17px;
  border: 1px solid var(--green);
  border-radius: 100px;
  background: var(--green);
  color: var(--white);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-nav .nav-cta:hover {
  transform: translateY(-1px);
  border-color: var(--coral);
  background: var(--coral);
  color: #1e3029;
}

.theme-switch {
  display: flex;
}

.theme-switch button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.theme-switch button:hover, .theme-switch button:focus-visible {
  border-color: var(--coral);
  color: var(--coral);
}

:root[data-theme=light] .theme-icon-light, :root[data-theme=dark] .theme-icon-dark {
  display: none;
}

.page-content {
  padding: 68px 0 112px;
}

.page-content > h1 {
  max-width: 900px;
  margin: 0 0 28px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.page-content > h2 {
  margin: 88px 0 24px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.page-content > h2:first-of-type {
  margin-top: 20px;
}

.page-content > p, .page-content > ul, .page-content > ol {
  max-width: 760px;
}

.page-content > p {
  margin: 0 0 24px;
}

.page-content > ul {
  padding-left: 22px;
}

.page-content > ul li {
  margin: 8px 0;
}

.page-content strong {
  font-weight: 700;
}

.home .page-content {
  padding-top: 72px;
}

.home .page-content > h2, .home .page-content > h2[id] {
  scroll-margin-top: 112px;
}

.home .page-content > p:first-child {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: none;
  margin: 0 0 50px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(26, 92, 73, 0.12);
  border-radius: 24px;
  background: radial-gradient(ellipse at 94% 15%, rgba(233, 189, 97, 0.22), transparent 31%), var(--hero-bg);
  box-shadow: var(--card-shadow);
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.7;
}

.home .page-content > p:first-child strong {
  color: var(--green);
}

:root[data-theme=dark] .home .page-content > p:first-child {
  border-color: rgba(244, 201, 93, 0.16);
}

:root[data-theme=dark] .home .page-content > p:first-child strong {
  color: var(--coral);
}

#events, #archive, #join, #sponsor, #gallery, #contacts {
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

#events + ul, .home .page-content > h2:nth-of-type(2) + ul, #archive + ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: none;
  padding: 0;
  list-style: none;
}

#events + ul li, .home .page-content > h2:nth-of-type(2) + ul li, #archive + ul li {
  min-height: 100px;
  margin: 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

#events + ul li:first-child {
  grid-column: 1/-1;
  min-height: 122px;
  padding: 28px 30px;
  border-left: 4px solid var(--coral);
  background: linear-gradient(115deg, var(--hero-bg), var(--card-bg));
}

#events + ul li:hover, .home .page-content > h2:nth-of-type(2) + ul li:hover, #archive + ul li:hover {
  transform: translateY(-3px);
  border-color: var(--coral);
  box-shadow: 0 16px 34px rgba(30, 48, 41, 0.12);
}

:root[data-theme=dark] #events + ul li:hover, :root[data-theme=dark] .home .page-content > h2:nth-of-type(2) + ul li:hover, :root[data-theme=dark] #archive + ul li:hover {
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}

#events + ul li a, .home .page-content > h2:nth-of-type(2) + ul li a, #archive + ul li a {
  font-weight: 700;
  text-decoration-thickness: 1.5px;
}

#join + ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: none;
  padding: 0;
  list-style: none;
}

#join + ul li {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card-bg);
}

#join + ul li a {
  font-weight: 700;
}

.contact-qr {
  width: 280px;
  max-width: 100%;
  margin: 36px 0 0;
  text-align: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--card-shadow);
}

.contact-qr a {
  display: block;
  text-decoration: none;
}

.contact-qr span {
  display: block;
  margin-top: 10px;
  color: #202b2b;
  font-weight: 700;
}

.contact-qr img {
  display: block;
  width: 100%;
  height: auto;
}

.contact-form {
  display: grid;
  gap: 16px;
  max-width: 580px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card-bg);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}

.contact-form input:focus-visible, .contact-form textarea:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
}

.contact-form button {
  justify-self: start;
  padding: 13px 24px;
  border: 1px solid var(--green);
  border-radius: 100px;
  background: var(--green);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.contact-form button:hover {
  transform: translateY(-1px);
  border-color: var(--coral);
  background: var(--coral);
  color: #1e3029;
}

.sponsor-logo {
  max-width: 360px;
  margin: 0 0 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card-bg);
}

.sponsor-logo a {
  display: block;
}

.sponsor-logo img {
  display: block;
  width: 100%;
  height: auto;
}

#gallery + p {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: none;
}

#gallery + p img {
  display: block;
  width: 100%;
  height: 190px;
  border-radius: 12px;
  object-fit: cover;
  filter: saturate(0.88);
  transition: filter 0.2s ease, transform 0.2s ease;
}

#gallery + p img:hover {
  transform: translateY(-2px);
  filter: saturate(1);
}

#gallery + p img.gallery-image {
  cursor: zoom-in;
}

#gallery + p img.gallery-image:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.gallery-open {
  overflow: hidden;
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(42px, 1fr) minmax(0, 1100px) minmax(42px, 1fr);
  align-items: center;
  gap: 18px;
  padding: 44px 24px;
  background: rgba(10, 17, 16, 0.94);
}

.gallery-modal-figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  gap: 14px;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
}

.gallery-modal-figure img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 110px);
  object-fit: contain;
}

.gallery-modal-figure figcaption {
  color: var(--white);
  font-size: 13px;
  text-align: center;
}

.gallery-modal-close, .gallery-modal-arrow {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 254, 249, 0.6);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.gallery-modal-close {
  position: absolute;
  top: 18px;
  right: 24px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}

.gallery-modal-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 24px;
}

.gallery-modal-close:hover, .gallery-modal-arrow:hover, .gallery-modal-close:focus-visible, .gallery-modal-arrow:focus-visible {
  border-color: var(--yellow);
  color: var(--yellow);
  outline: 0;
}

.event-page .page-content {
  max-width: 900px;
}

.breadcrumb {
  padding-top: 28px;
  font-size: 14px;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--link-hover);
}

.event-cover {
  width: min(100%, 760px);
  margin: 0 0 38px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--green);
  box-shadow: var(--card-shadow);
}

.event-cover img {
  display: block;
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

.event-page .page-content > h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
}

.event-page .page-content > h2 {
  margin-top: 52px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.event-page iframe {
  display: block;
  width: 100%;
  max-width: 760px;
  aspect-ratio: 16/9;
  height: auto;
  margin: 42px 0;
  border: 0;
}

.event-page button, .event-page .page-content > p a[href*=eepurl] {
  display: inline-block;
  padding: 13px 20px;
  border: 1px solid var(--green);
  border-radius: 100px;
  background: var(--green);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.event-page button:hover, .event-page .page-content > p a[href*=eepurl]:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: #1e3029;
}

.event-page .page-content > p:last-child {
  margin-top: 50px;
  font-weight: 700;
}

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

.event-page .theme-switch button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 18px;
  line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
.site-footer {
  padding: 42px 0 22px;
  background: var(--green);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
}

.footer-kicker {
  margin: 0;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-title {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.98;
}

.footer-links {
  display: flex;
  align-content: start;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 1rem;
}

.footer-links a {
  width: fit-content;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--yellow);
}

.footer-links a span {
  color: var(--yellow);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 254, 249, 0.3);
  color: rgba(255, 254, 249, 0.78);
  font-size: 13px;
}

@media (max-width: 700px) {
  :root {
    --shell: min(100% - 36px, 1160px);
  }
  .header-inner {
    min-height: 0;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 12px 0 8px;
  }
  .header-inner {
    min-height: 100px;
  }
  .brand {
    flex-basis: 92px;
    width: 92px;
    height: 92px;
    border-radius: 10px;
  }
  .brand img {
    width: 92px;
    height: 92px;
  }
  .site-nav {
    order: 2;
    width: 100%;
    gap: clamp(10px, 2.8vw, 16px);
    overflow-x: auto;
    font-size: 12px;
    scrollbar-width: thin;
  }
  .site-nav > a {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .site-nav .nav-cta {
    padding: 8px 11px;
  }
  .theme-switch {
    order: 1;
    flex: 0 0 auto;
    margin-left: auto;
  }
  .theme-switch button {
    width: 34px;
    height: 34px;
  }
  .page-content, .home .page-content {
    padding-top: 48px;
    padding-bottom: 76px;
  }
  .page-content > h2 {
    margin-top: 64px;
  }
  .home .page-content > p:first-child {
    margin-bottom: 38px;
    padding: 25px;
    border-radius: 18px;
    font-size: 1.08rem;
  }
  #events + ul, .home .page-content > h2:nth-of-type(2) + ul, #archive + ul {
    grid-template-columns: 1fr;
  }
  #events + ul li:first-child {
    grid-column: auto;
    min-height: 0;
    padding: 20px;
  }
  #join + ul {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .sponsor-logo {
    max-width: 280px;
  }
  #gallery + p {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  #gallery + p img {
    height: clamp(120px, 35vw, 180px);
  }
  .gallery-modal {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 8px;
    padding: 52px 10px 28px;
  }
  .gallery-modal-close {
    right: 14px;
  }
  .gallery-modal-arrow {
    width: 38px;
    height: 38px;
  }
  #events + ul li, .home .page-content > h2:nth-of-type(2) + ul li, #archive + ul li {
    min-height: 0;
    padding: 17px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-bottom: 22px;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom span {
    display: block;
    margin-top: 5px;
  }
}

/*# sourceMappingURL=style.css.map */