:root {
  --bg: #07130f;
  --surface: #133126;
  --text: #ecf8f1;
  --muted: rgba(236, 248, 241, 0.75);
  --accent: #74d9a8;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

html,
body {
  margin: 0;
  font-family: "DM Sans", "Noto Sans Armenian", sans-serif;
  color: var(--text);
  background: radial-gradient(ellipse at top, #143728, var(--bg));
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 20%, rgba(116, 217, 168, 0.14), transparent 35%);
}

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: 74px;
  background: rgba(6, 19, 14, 0.92);
  backdrop-filter: blur(8px);
  max-width: 100%;
}

.header__container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: nowrap;
}

.header__brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: inherit; min-width: 0; }
.header__logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.header__name { font-family: "Outfit", sans-serif; font-weight: 600; white-space: nowrap; }

.header__burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.header__burger span {
  width: 18px;
  height: 2px;
  background: var(--text);
  display: block;
  transition: transform .25s ease, opacity .25s ease;
}
.header__backdrop { display: none; }

.header__nav {
  display: flex;
  gap: 1.4rem;
  min-width: 0;
  align-items: center;
}
.header__link {
  position: relative;
  color: var(--muted);
  text-decoration: unset;
  font-family: "Outfit", "Noto Sans Armenian", sans-serif;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .55rem 0;
  white-space: nowrap;
  transition: color .25s ease;
}
.header__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: .25rem;
  height: 1.5px;
  width: 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: translateX(-50%);
  transition: width .35s cubic-bezier(.65,.05,.36,1), opacity .25s ease;
  opacity: 0;
}
.header__link:hover,
.header__link:focus-visible {
  color: var(--text);
  outline: none;
}
.header__link:hover::after,
.header__link:focus-visible::after {
  width: 100%;
  opacity: 1;
}
.header__link--active {
  color: var(--accent);
}
.header__link--active::after {
  width: 100%;
  opacity: 1;
  background: var(--accent);
  height: 2px;
  box-shadow: 0 0 12px rgba(116, 217, 168, .55);
}

.lang { display: flex; gap: .35rem; flex-shrink: 0; }
.lang__btn {
  border: 1px solid rgba(255,255,255,.18);
  background: transparent; color: var(--muted);
  padding: .35rem .55rem; border-radius: 999px; cursor: pointer;
  text-decoration: unset;
  font: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.lang__btn--active { background: var(--accent); color: #062015; border-color: var(--accent); }

.hero { min-height: 100vh; position: relative; display: grid; place-items: center; overflow: hidden; }
.hero__parallax, .hero__video-wrap, .hero__video, .hero__video-fallback, .hero__static-bg, .hero__veil {
  position: absolute; inset: 0;
}
.hero__video-wrap { z-index: 1; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__video-fallback { display: none; background-size: cover; background-position: center; }
.hero__video-wrap.video-fallback-active .hero__video { display: none; }
.hero__video-wrap.video-fallback-active .hero__video-fallback { display: block; }
.hero__static-bg { background-size: cover; background-position: center; z-index: 0; }
.hero__veil { background: linear-gradient(160deg, rgba(9,21,15,.75), rgba(7,16,12,.9)); }
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  width: min(820px, 100% - 1rem);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 6rem 1rem 4.2rem;
}
.hero__eyebrow { color: var(--accent); letter-spacing: .2em; text-transform: uppercase; font-size: .75rem; }
.hero__title { margin: .5rem 0; font: 600 clamp(2rem, 8vw, 4.8rem) "Outfit", sans-serif; }
.hero__subtitle { color: var(--muted); font-size: 1.05rem; }
.hero__actions { margin-top: .9rem; display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.25);
  display: grid;
  place-items: center;
  cursor: pointer;
  animation: heroScrollFloat 2.2s ease-in-out infinite;
}
.hero__scroll-icon {
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translateY(-1px);
}
@keyframes heroScrollFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(5px); }
}

.btn { padding: .85rem 1.4rem; border-radius: 999px; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; }
.btn--primary { background: var(--accent); color: #062015; }
.btn--ghost { border: 1px solid rgba(255,255,255,.25); color: var(--text); }

.section { position: relative; padding: 4rem 1rem; overflow: hidden; }
.section[id] {
  scroll-margin-top: 72px;
}
.container { width: min(1120px, 100% - 2rem); margin: 0 auto; }
.section__title { margin: 0 0 1rem; font: 600 clamp(1.7rem, 4vw, 2.6rem) "Outfit", sans-serif; }
.section__title--center { text-align: center; }
.section__lead { margin: 0 0 1.2rem; color: var(--muted); }
.section__bg--parallax { position: absolute; inset: -20% -10%; background-size: cover; background-position: center; opacity: .15; pointer-events: none; }

.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.25rem; align-items: center; }

/* About column: readable typography for ACF / WYSIWYG HTML */
.about-copy {
  max-width: 38rem;
  padding: 1.35rem 1.5rem 1.5rem;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(7, 19, 15, 0.78) 0%, rgba(19, 49, 38, 0.55) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.about-copy > *:first-child { margin-top: 0; }
.about-copy > *:last-child { margin-bottom: 0; }
.about-copy h1,
.about-copy h2,
.about-copy h3 {
  margin: 0 0 0.85rem;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.02em;
}
.about-copy h1 { font-size: clamp(1.65rem, 3.2vw, 2.35rem); }
.about-copy h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.about-copy h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); color: rgba(236, 248, 241, 0.95); }
.about-copy h2 + h3 { margin-top: -0.35rem; }
.about-copy p {
  margin: 0 0 1rem;
  font-size: clamp(0.95rem, 1.35vw, 1.05rem);
  line-height: 1.72;
  color: var(--muted);
}
.about-copy p:last-child { margin-bottom: 0; }
.about-copy ul,
.about-copy ol {
  margin: 0.5rem 0 1.1rem;
  padding-left: 1.25rem;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.35vw, 1.02rem);
  line-height: 1.65;
}
.about-copy li { margin-bottom: 0.45rem; }
.about-copy li::marker { color: var(--accent); }
.about-copy strong { color: rgba(236, 248, 241, 0.95); font-weight: 600; }
.about-copy a {
  color: var(--accent);
  text-decoration: unset;
  text-underline-offset: 3px;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.about-copy a:hover { color: #9ae9c4; }
.about-copy blockquote {
  margin: 1rem 0;
  padding: 0.85rem 0 0.85rem 1rem;
  border-left: 3px solid var(--accent);
  font-style: italic;
  color: rgba(236, 248, 241, 0.82);
  background: rgba(116, 217, 168, 0.06);
  border-radius: 0 10px 10px 0;
}

.about-list { margin: 0; padding-left: 1.1rem; color: var(--muted); display: grid; gap: .55rem; }
.about-card img { width: 100%; border-radius: 18px; aspect-ratio: 4/5; object-fit: cover; }
.about-card {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.35);
}
.about-card img {
  transition: transform 0.55s ease, filter 0.45s ease;
  transform-origin: center center;
}
.about-card:hover img {
  transform: scale(1.06) rotate(-0.8deg);
  filter: saturate(1.06) contrast(1.04);
}

.events { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.event-card {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(19,49,38,.82);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.event-card__media {
  height: 450px;
  background-size: cover;
  background-position: center;
  transition: transform .45s ease, filter .35s ease;
}
.event-card__title { margin: .9rem 1rem .45rem; font-family: "Outfit", sans-serif; }
.event-card__text { margin: 0 1rem 1rem; color: var(--muted); }
.event-card:hover {
  transform: translateY(-8px);
  border-color: rgba(116, 217, 168, 0.55);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(116, 217, 168, 0.12);
}
.event-card:hover .event-card__media {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.03);
}

.gallery { margin-top: 1.5rem; display: grid; gap: .9rem; grid-template-columns: repeat(2,1fr); }
@media (min-width: 860px) {
  .gallery { grid-template-columns: repeat(4,1fr); grid-auto-rows: 220px; }
  .gallery__item--lg { grid-column: span 2; grid-row: span 2; }
  .gallery__item--wide { grid-column: span 2; }
}
.gallery__item {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .32s ease, border-color .32s ease, box-shadow .32s ease;
  border: 1px solid rgba(255,255,255,.08);
}
.gallery__open { border: 0; padding: 0; width: 100%; height: 100%; cursor: zoom-in; }
.gallery__open img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease, filter .35s ease;
}
.gallery__item:hover {
  transform: translateY(-6px);
  border-color: rgba(116, 217, 168, 0.5);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}
.gallery__item:hover .gallery__open img {
  transform: scale(1.06);
  filter: saturate(1.07) contrast(1.03);
}
.section--video-gallery {
  padding-top: 2rem;
}

.video-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.video-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0e1e18;
}

.video-card__inner {
  width: 100%;
  height: 546px;
  min-height: 522px;
}

.video-card__inner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 1rem; }
.contact__info-card, .contact__map-card {
  border: 1px solid rgba(116,217,168,.25);
  background: rgba(19,49,38,.76);
  border-radius: 18px;
  padding: 1.25rem;
}
.contact__info-card {
  padding: 1.5rem 1.4rem;
  background: linear-gradient(160deg, rgba(19,49,38,.92), rgba(10,28,21,.9));
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.28);
}
.contact__info-card .section__title {
  margin-bottom: .55rem;
}
.contact__intro {
  color: var(--muted);
  margin: 0 0 1rem;
}
.contact__block {
  color: var(--muted);
  font-style: normal;
  display: grid;
  gap: .55rem;
  line-height: 1.55;
}
.contact__block p {
  margin: 0;
  padding: .55rem .7rem;
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.05);
  display: flex;
  align-items: flex-start;
  gap: .55rem;
}
.contact__icon {
  width: 1.25rem;
  text-align: center;
  line-height: 1.2;
  flex-shrink: 0;
  opacity: .95;
}
.contact__link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.contact__link:hover {
  color: #9ff1cb;
  border-color: rgba(159, 241, 203, .6);
}
.contact__map-card {
  padding: .85rem;
  background: linear-gradient(170deg, rgba(15,39,29,.92), rgba(9,23,17,.92));
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.28);
}
.contact__map {
  width: 100%;
  min-height: 380px;
  border: 0;
  border-radius: 12px;
}
.contact__map-btn {
  margin-top: .7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: .8rem 1rem;
  border-radius: 10px;
  background: var(--accent);
  color: #062015;
  font-weight: 700;
  text-decoration: none;
  transition: filter .2s ease, transform .2s ease;
}
.contact__map-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.footer { padding: 2rem 0; border-top: 1px solid rgba(255,255,255,.1); text-align: center; color: var(--muted); }

.lightbox[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 10100; }
.lightbox__backdrop { position: absolute; inset: 0; border: 0; background: rgba(0,0,0,.88); }
.lightbox__inner { position: relative; height: 100%; display: grid; place-items: center; padding: 1rem; }
.lightbox__img { max-width: 94vw; max-height: 88vh; border-radius: 12px; }
.lightbox__close, .lightbox__nav {
  position: absolute; border: 1px solid rgba(255,255,255,.24); background: rgba(0,0,0,.5); color: #fff;
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer; font-size: 1.3rem;
}
.lightbox__close { top: 14px; right: 14px; }
.lightbox__nav--prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 14px; top: 50%; transform: translateY(-50%); }

body.lightbox-open { overflow: hidden; }
body.menu-open { overflow: hidden; }

@media (max-width: 980px) {
  .header { height: auto; padding: .7rem 0; }
  .header__container { flex-wrap: wrap; gap: .6rem; position: relative; align-items: center; }
  .header__burger { display: inline-flex; }
  .header__brand { order: 1; }
  .header__burger { order: 2; margin-left: auto; }
  .lang { order: 3; }
  .header__nav {
    order: 4;
    position: absolute;
    top: calc(100% + .4rem);
    right: 0;
    left: auto;
    width: min(360px, calc(100vw - 1.2rem));
    max-height: min(72dvh, 520px);
    background: rgba(7, 19, 15, 0.98);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: .35rem .8rem .7rem;
    transform: translateY(-8px) scale(.98);
    transform-origin: top right;
    opacity: 0;
    pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
    overflow-y: auto;
    white-space: normal;
    z-index: 45;
    box-shadow: 0 18px 40px rgba(0,0,0,.35);
  }
  .header--menu-open .header__nav {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }
  .header__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: .95rem .8rem;
    font-size: .82rem;
    letter-spacing: .14em;
    border-bottom: 1px solid rgba(255,255,255,.08);
    border-left: 2px solid transparent;
    border-radius: 0 8px 8px 0;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, padding-left .2s ease;
  }
  .header__link::after { display: none; }
  .header__link::before {
    content: "›";
    margin-left: .75rem;
    font-size: 1.1rem;
    line-height: 1;
    color: var(--accent);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .2s ease, transform .2s ease;
    order: 2;
  }
  .header__link:hover,
  .header__link:focus-visible {
    background: rgba(116, 217, 168, .06);
    border-left-color: rgba(116, 217, 168, .35);
    padding-left: 1rem;
  }
  .header__link:hover::before,
  .header__link:focus-visible::before {
    opacity: 1;
    transform: translateX(0);
  }
  .header__link--active {
    background: rgba(116, 217, 168, .08);
    border-left-color: var(--accent);
    padding-left: 1rem;
  }
  .header__link--active::before {
    opacity: 1;
    transform: translateX(0);
  }
  .header__link:last-child { border-bottom: 0; }
  .header__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.32);
    border: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 30;
  }
  .header--menu-open .header__backdrop {
    opacity: 1;
    pointer-events: auto;
  }
  .header--menu-open .header__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .header--menu-open .header__burger span:nth-child(2) { opacity: 0; }
  .header--menu-open .header__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .header__name { white-space: normal; }
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
  }
  .hero__content { padding-top: 7.6rem; padding-bottom: 4.4rem; }
  .hero__subtitle { font-size: .98rem; }
  .about-grid, .events, .video-grid, .contact { grid-template-columns: 1fr; gap: .9rem; }
  .section[id] { scroll-margin-top: 118px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: .65rem; }
  .gallery__item--lg,
  .gallery__item--wide { grid-column: auto; grid-row: auto; }
  .event-card__media { height: 522px; }
  .video-card__inner { height: 522px; min-height: 522px; }
  .contact__map { min-height: 300px; }
}

@media (max-width: 640px) {
  .container { width: min(1120px, 100% - 1.2rem); }
  .header__logo { width: 38px; height: 38px; }
  .header__name { font-size: .98rem; }
  .lang__btn { padding: .32rem .45rem; font-size: .74rem; }
  .section { padding: 3rem .45rem; }
  .section[id] { scroll-margin-top: 126px; }
  .hero__eyebrow { font-size: .66rem; letter-spacing: .14em; }
  .hero__title { font-size: clamp(1.7rem, 11vw, 2.5rem); }
  .hero__actions { gap: .55rem; }
  .btn { width: 100%; max-width: 280px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item { min-height: 240px; }
  .event-card__media { height: 350px; }
  .video-card__inner { height: 522px; min-height: 522px; }
  .contact__map { min-height: 260px; }
  .contact__block p { padding: .5rem .55rem; }
  .about-copy {
    max-width: none;
    padding: 1.05rem 1.1rem 1.15rem;
    border-radius: 14px;
  }
}

.to-top {
  position: fixed;
  right: calc(1.4rem + env(safe-area-inset-right, 0px));
  bottom: calc(1.4rem + env(safe-area-inset-bottom, 0px));
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(116, 217, 168, .35);
  border-radius: 999px;
  background: rgba(7, 19, 15, .72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--accent);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, background-color .25s ease, color .25s ease, box-shadow .25s ease, visibility 0s linear .25s;
  z-index: 10050;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
.to-top__icon {
  width: 22px;
  height: 22px;
  display: block;
}
.to-top:hover,
.to-top:focus-visible {
  background: var(--accent);
  color: #062015;
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 10px 28px rgba(116, 217, 168, .35);
  transform: translateY(0) scale(1.04);
}
.to-top--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity .25s ease, transform .25s ease, background-color .25s ease, color .25s ease, box-shadow .25s ease, visibility 0s linear 0s;
}
@media (prefers-reduced-motion: reduce) {
  .to-top { transition: opacity .15s ease; }
}
@media (max-width: 640px) {
  .to-top {
    right: .9rem;
    bottom: .9rem;
    width: 42px;
    height: 42px;
  }
  .to-top__icon { width: 20px; height: 20px; }
}
