@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Limelight";
  src: url("assets/fonts/limelight-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Schoolbell";
  src: url("assets/fonts/schoolbell-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #101010;
  --paper: #f5f0e8;
  --red: #ef3f32;
  --blue: #3565db;
  --yellow: #ffd83d;
  --green: #0f4c3a;
  --line: 2px solid var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  max-width: 100%;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
section[id] { scroll-margin-top: 72px; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 28px;
  color: white;
  mix-blend-mode: difference;
}
.logo { display: flex; align-items: center; gap: 10px; width: max-content; }
.logo span { font: 400 34px/1 "Limelight", serif; }
.logo small { font-size: 8px; line-height: 1.1; letter-spacing: .08em; text-transform: uppercase; }
.site-header nav { display: flex; gap: 30px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.site-header nav a { padding: 14px 4px; }
.language-switch {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 700;
  transition: background .25s, color .25s;
}
.language-switch:hover { background: white; color: black; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: white;
  background: var(--green);
}
.hero-photo { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center; animation: hero-in 1.5s cubic-bezier(.2,.7,.2,1) both; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.08) 70%), linear-gradient(0deg, rgba(0,0,0,.4), transparent 40%); }
.hero-copy { position: relative; z-index: 2; padding: clamp(130px, 15vh, 180px) 5vw 100px; }
.eyebrow, .section-tag { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 {
  margin: 14px 0 18px;
  max-width: 800px;
  font: 400 clamp(72px, 10.5vw, 168px)/.75 "Limelight", serif;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero h1 em, .gallery-heading h2 em { color: var(--yellow); font-style: normal; }
.hero-intro { max-width: 330px; margin: 0 0 0 34vw; font-size: clamp(16px, 2vw, 23px); line-height: 1.3; }
.hero-cta {
  position: absolute;
  z-index: 3;
  right: 5vw;
  bottom: 72px;
  width: 112px;
  height: 112px;
  border: 1.5px solid var(--ink);
  border-radius: 48% 52% 49% 51% / 51% 47% 53% 49%;
  background: var(--yellow);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 400 22px/1 "Schoolbell", "Chalkboard SE", cursive;
  transform: rotate(-7deg);
  box-shadow: 3px 4px 0 rgba(0, 0, 0, .18);
  transition: transform .3s, box-shadow .3s;
}
.hero-cta:hover { transform: rotate(-1deg) scale(1.04); box-shadow: 1px 2px 0 rgba(0, 0, 0, .18); }
.hero-cta b { font: 400 28px/1 "Schoolbell", "Chalkboard SE", cursive; }
.ticker { position: absolute; z-index: 4; left: 0; bottom: 0; width: 100%; overflow: hidden; background: var(--red); color: var(--ink); border-block: var(--line); }
.ticker-track { display: flex; width: max-content; padding: 10px 0; animation: ticker 22s linear infinite; font: 400 20px/1 "Limelight", serif; text-transform: uppercase; }
.ticker span { padding: 0 24px; }
.ticker i { font-style: normal; }

.manifesto { display: grid; grid-template-columns: 1fr 2.2fr 1.2fr; gap: 4vw; padding: 12vw 5vw; border-bottom: var(--line); }
.manifesto > *, .ritual-grid > *, .gallery-heading > *, .visit > *, footer > * { min-width: 0; }
.manifesto-copy p { margin: 0; font: 400 clamp(45px, 6vw, 98px)/.92 "Limelight", serif; text-transform: uppercase; }
.manifesto-copy span { color: var(--blue); }
.manifesto-note { align-self: end; max-width: 370px; font-size: 16px; line-height: 1.65; }
.manifesto-note p:last-child { font-weight: 700; }

.feature-photo { position: relative; margin: 5vw; height: min(78vw, 850px); overflow: hidden; background: var(--ink); }
.feature-photo img { height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.feature-photo:hover img { transform: scale(1.025); }
.photo-caption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: end; justify-content: space-between; padding: 28px; color: white; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.photo-caption span { max-width: 650px; font: 400 clamp(38px, 6vw, 90px)/.9 "Limelight", serif; text-transform: uppercase; }
.photo-caption small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

.ritual { padding: 7vw 5vw 10vw; background: var(--yellow); border-block: var(--line); }
.ritual-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border: var(--line); }
.ritual-item { position: relative; min-height: 340px; padding: 30px; border-right: var(--line); }
.ritual-item:last-child { border: 0; }
.ritual-item strong { font-size: 12px; }
.ritual-item h2 { margin: 70px 0 12px; font: 400 clamp(55px, 7vw, 100px)/.85 "Limelight", serif; text-transform: uppercase; }
.ritual-item p { max-width: 270px; line-height: 1.5; }
.ritual-item:nth-child(2) { background: var(--red); }
.ritual-item:nth-child(3) { background: var(--blue); color: white; }

.gallery { padding: 10vw 3vw; }
.gallery-heading { display: grid; grid-template-columns: 1fr 2fr; align-items: end; padding: 0 2vw 7vw; }
.gallery-heading h2 { margin: 0; font: 400 clamp(65px, 10vw, 150px)/.8 "Limelight", serif; text-transform: uppercase; }
.gallery-heading h2 em { color: var(--red); }
.photo-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3vw 2vw; }
.photo-card { grid-column: span 4; margin: 0; }
.photo-card.wide { grid-column: span 8; }
.photo-card.portrait { grid-column: span 4; }
.photo-card img { height: clamp(280px, 36vw, 560px); object-fit: cover; filter: saturate(.9); transition: transform .5s, filter .5s; }
.photo-card.wide img { height: clamp(300px, 40vw, 620px); }
.photo-card.portrait img, .photo-card.tall img { height: clamp(430px, 54vw, 760px); }
.photo-card:hover img { transform: scale(.985) rotate(-.4deg); filter: saturate(1.15); }
.photo-card figcaption { padding: 10px 0; border-bottom: 1px solid var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.visit { display: grid; grid-template-columns: 1fr 1fr; min-height: 760px; border-top: var(--line); background: var(--red); }
.visit-photo { min-height: 620px; overflow: hidden; border-right: var(--line); }
.visit-photo img { height: 100%; object-fit: cover; }
.visit-copy { padding: 6vw; display: flex; flex-direction: column; justify-content: center; }
.visit-kicker { margin: 35px 0 15px; font-size: 20px; font-weight: 600; }
.visit h2 { margin: 0 0 45px; font: 400 clamp(75px, 10vw, 150px)/.85 "Limelight", serif; text-transform: uppercase; }
.visit-details { border-top: var(--line); }
.visit-details p { display: grid; grid-template-columns: 100px 1fr; margin: 0; padding: 15px 0; border-bottom: var(--line); }
.visit-details span { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.map-link { align-self: flex-start; margin-top: 38px; padding: 15px 0; border-bottom: var(--line); font-weight: 700; text-transform: uppercase; }
.map-link span { display: inline-block; margin-left: 25px; transition: transform .25s; }
.map-link:hover span { transform: translate(5px, -5px); }

footer { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 30px; align-items: end; padding: 5vw; background: var(--ink); color: var(--paper); }
.telegram-link {
  grid-column: 1 / -1;
  min-height: 150px;
  margin-bottom: 4vw;
  padding: 24px 28px;
  border: 2px solid var(--paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--blue);
  color: white;
  transition: background .3s, color .3s, transform .3s;
}
.telegram-link:hover, .telegram-link:focus-visible { background: var(--yellow); color: var(--ink); transform: translateY(-4px); }
.telegram-link:focus-visible { outline: 3px solid var(--paper); outline-offset: 5px; }
.telegram-copy { font: 400 clamp(38px, 6vw, 92px)/.86 "Limelight", serif; text-transform: uppercase; }
.telegram-copy small { display: block; margin-bottom: 16px; font: 700 11px/1.2 "DM Sans", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.telegram-icon { flex: 0 0 auto; width: clamp(70px, 10vw, 130px); height: clamp(70px, 10vw, 130px); border: 2px solid currentColor; border-radius: 50%; display: grid; place-items: center; transition: transform .35s; }
.telegram-icon svg { width: 55%; fill: currentColor; transform: translate(-3%, 2%); }
.telegram-link:hover .telegram-icon, .telegram-link:focus-visible .telegram-icon { transform: rotate(-9deg) scale(1.06); }
.footer-mark { font: 400 clamp(110px, 20vw, 300px)/.7 "Limelight", serif; }
footer p { margin: 0; font-size: 12px; line-height: 1.5; text-transform: uppercase; }
.back-to-top { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--paper); border-radius: 50%; font-size: 23px; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes hero-in { from { transform: scale(1.08); filter: brightness(.5); } to { transform: scale(1); filter: brightness(1); } }

@media (max-width: 800px) {
  .site-header { height: 64px; grid-template-columns: 1fr auto; padding: 0 16px; }
  .site-header nav { display: none; }
  .logo span { font-size: 28px; }
  .language-switch { width: 42px; height: 42px; }
  .hero { min-height: max(700px, 92svh); contain: paint; }
  .hero-photo { object-position: 54% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.3) 38%, rgba(0,0,0,.08) 64%), linear-gradient(90deg, rgba(0,0,0,.28), transparent 72%); }
  .hero-copy {
    position: absolute;
    inset: auto 0 0;
    padding: 0 18px 112px;
  }
  .hero h1 { max-width: calc(100% - 18px); font-size: clamp(50px, 15.5vw, 74px); line-height: .84; overflow-wrap: anywhere; }
  .hero-intro { margin: 18px 0 0; max-width: min(58%, 240px); font-size: 15px; }
  .hero-cta { right: 16px; bottom: 58px; width: 82px; height: 82px; gap: 6px; font-size: 17px; }
  .hero-cta b { font-size: 22px; }
  .manifesto { grid-template-columns: 1fr; gap: 32px; padding: 90px 18px; }
  .manifesto-copy, .manifesto-copy p, .manifesto-note { width: 100%; max-width: 100%; }
  .manifesto-copy p { font-size: clamp(38px, 12vw, 62px); line-height: .94; overflow-wrap: anywhere; }
  .manifesto-copy span { display: block; }
  .manifesto-note { font-size: 15px; overflow-wrap: anywhere; }
  .feature-photo { margin: 18px; height: auto; min-height: 0; aspect-ratio: 4 / 5; }
  .photo-caption { padding: 18px; display: block; }
  .photo-caption span { display: block; max-width: 100%; font-size: clamp(32px, 10vw, 48px); overflow-wrap: anywhere; }
  .photo-caption small { display: block; margin-top: 12px; }
  .ritual { padding: 70px 18px; }
  .ritual-grid { grid-template-columns: minmax(0, 1fr); }
  .ritual-item { width: 100%; min-width: 0; min-height: 260px; padding: 24px; border-right: 0; border-bottom: var(--line); overflow: hidden; }
  .ritual-item h2 { max-width: 100%; margin-top: 45px; font-size: clamp(50px, 16vw, 70px); overflow-wrap: anywhere; }
  .ritual-item p { max-width: 100%; }
  .gallery { padding: 90px 12px; }
  .gallery-heading { grid-template-columns: 1fr; gap: 30px; padding: 0 6px 60px; }
  .gallery-heading h2 { max-width: 100%; font-size: clamp(48px, 15vw, 78px); overflow-wrap: anywhere; }
  .photo-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .photo-card, .photo-card.wide, .photo-card.portrait, .photo-card.tall { grid-column: auto; width: 100%; min-width: 0; }
  .photo-card img, .photo-card.wide img, .photo-card.portrait img, .photo-card.tall img { width: 100%; height: auto; min-height: 0; max-height: none; object-fit: contain; }
  .photo-card figcaption { overflow-wrap: anywhere; }
  .visit { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .visit-photo { min-height: 0; border: 0; border-bottom: var(--line); }
  .visit-photo img { height: auto; object-fit: contain; }
  .visit-copy { padding: 70px 18px; }
  .visit h2 { max-width: 100%; font-size: clamp(52px, 16vw, 86px); overflow-wrap: anywhere; }
  .visit-details p { grid-template-columns: minmax(72px, 25%) minmax(0, 1fr); gap: 12px; overflow-wrap: anywhere; }
  .map-link { max-width: 100%; overflow-wrap: anywhere; }
  footer { grid-template-columns: 1fr auto; gap: 30px; padding: 60px 18px; }
  .telegram-link { min-height: 120px; margin-bottom: 35px; padding: 18px; gap: 16px; }
  .telegram-copy { max-width: calc(100% - 82px); font-size: clamp(30px, 10vw, 48px); overflow-wrap: anywhere; }
  .telegram-copy small { margin-bottom: 10px; font-size: 9px; }
  .telegram-icon { width: 66px; height: 66px; }
  .footer-mark { grid-column: 1 / -1; max-width: 100%; font-size: min(46vw, 230px); overflow: hidden; }
  .footer-note { display: none; }
}

@media (max-width: 370px) {
  .site-header { padding-inline: 12px; }
  .logo { gap: 7px; }
  .logo span { font-size: 25px; }
  .logo small { font-size: 7px; }
  .hero-copy { padding-inline: 14px; padding-bottom: 108px; }
  .hero h1 { font-size: clamp(46px, 15vw, 56px); }
  .hero-intro { max-width: 205px; font-size: 15px; }
  .hero-cta { right: 12px; width: 76px; height: 76px; font-size: 15px; }
  .manifesto, .ritual { padding-inline: 14px; }
  .manifesto-copy p { font-size: clamp(33px, 10.5vw, 40px); }
  .gallery { padding-inline: 10px; }
  .gallery-heading h2 { font-size: clamp(44px, 14vw, 54px); }
  .visit-copy { padding-inline: 14px; }
  .visit h2 { font-size: clamp(48px, 15vw, 58px); }
}

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