/* Mary Jane's 441 — charcoal, neon green, white, magenta */
:root {
  --ink: #0e100f;
  --ink-2: #151816;
  --ink-3: #1c201e;
  --line: rgba(255, 255, 255, .09);
  --white: #f6f5f0;
  --muted: #a7aca8;
  --neon: #46f25a;
  --neon-soft: rgba(70, 242, 90, .16);
  --pink: #e23fd2;
  --pink-soft: rgba(226, 63, 210, .18);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --script: "Yellowtail", "Brush Script MT", cursive;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;
  --radius: 14px;
  --nav-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--neon); color: var(--ink); padding: 10px 16px; border-radius: 8px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Brand wordmark (echoes the real sign) ---------- */
.brand {
  display: inline-flex; align-items: baseline; gap: .35em;
  text-decoration: none; line-height: 1; white-space: nowrap;
}
.brand__script {
  font-family: var(--script);
  font-size: 1.75rem;
  color: var(--white);
  letter-spacing: .01em;
}
.brand__num {
  font-weight: 800;
  font-stretch: 112%;
  font-size: 1rem;
  color: var(--neon);
  letter-spacing: .04em;
  text-shadow: 0 0 12px rgba(70, 242, 90, .45);
}
.brand--lg .brand__script { font-size: clamp(2.4rem, 7vw, 3.4rem); }
.brand--lg .brand__num { font-size: clamp(1.3rem, 3.5vw, 1.8rem); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled, .nav.is-open {
  background: rgba(14, 16, 15, .86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--line);
}
.nav__inner {
  height: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav__links { display: flex; gap: 32px; }
.nav__links a {
  position: relative; text-decoration: none;
  font-size: .9rem; font-weight: 500; letter-spacing: .02em; color: var(--muted);
  transition: color .2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--neon); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--white); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 12px; }

.lang {
  display: inline-flex; padding: 3px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
}
.lang button {
  border: 0; background: transparent; padding: 5px 10px; border-radius: 999px;
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; color: var(--muted);
  transition: background-color .2s, color .2s;
}
.lang button[aria-pressed="true"] { background: var(--white); color: var(--ink); }
.lang button:not([aria-pressed="true"]):hover { color: var(--white); }

.menu-btn {
  display: none; width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--line); background: transparent; padding: 0;
  align-items: center; justify-content: center;
}
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after {
  display: block; width: 18px; height: 2px; background: var(--white); border-radius: 2px;
  transition: transform .3s var(--ease), background-color .2s;
}
.menu-btn__bars { position: relative; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -6px; }
.menu-btn__bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Telegram CTA ---------- */
.tg-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); color: var(--ink);
  text-decoration: none; font-weight: 600; letter-spacing: .01em; line-height: 1;
  border-radius: 999px; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s;
}
.tg-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(42, 171, 238, .55); background: #fff; }
.tg-btn:active { transform: translateY(0); }
.tg-logo { flex: none; width: 24px; height: 24px; }
.tg-btn--sm { padding: 7px 14px 7px 7px; font-size: .85rem; }
.tg-btn--lg { padding: 10px 24px 10px 10px; font-size: 1rem; }
.tg-btn--lg .tg-logo { width: 32px; height: 32px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding-top: var(--nav-h);
  isolation: isolate;
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0; z-index: -1;
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%;
}
/* Dark overlay: keeps the green sign readable while protecting the text */
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,16,15,.55) 0%, rgba(14,16,15,0) 22%),
    linear-gradient(0deg, var(--ink) 0%, rgba(14,16,15,.92) 26%, rgba(14,16,15,.35) 58%, rgba(14,16,15,.1) 100%);
}
.hero__content {
  width: 100%; max-width: var(--max); margin-inline: auto;
  padding: 0 var(--gutter) clamp(48px, 9vh, 96px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--neon);
  box-shadow: 0 0 0 4px var(--neon-soft), 0 0 14px var(--neon);
}
.hero__title {
  font-size: clamp(2.6rem, 9vw, 5.6rem);
  font-weight: 800; font-stretch: 108%;
  line-height: .98; letter-spacing: -.025em;
  max-width: 12ch;
  text-wrap: balance;
}
.hero__sub {
  margin: 16px 0 32px;
  font-family: var(--script);
  font-size: clamp(1.6rem, 4.4vw, 2.3rem);
  line-height: 1.15;
  color: var(--neon);
}

/* Mobile & tablet: photo on top, text below so the sign stays clear */
@media (max-width: 899px) {
  .hero { min-height: auto; padding-top: max(calc(var(--nav-h) + 40vw), 46svh); }
  .hero__media { bottom: auto; height: min(calc(var(--nav-h) + 78vw), 72svh); }
  .hero__media img { object-position: 50% 30%; }
}

/* Desktop: photo on the right, kept at native sharpness */
@media (min-width: 900px) {
  .hero { align-items: center; }
  .hero__media { left: auto; width: min(56vw, 1000px); }
  .hero__media img { object-position: 60% 40%; }
  .hero__media::after {
    background:
      linear-gradient(90deg, var(--ink) 0%, rgba(14,16,15,.75) 22%, rgba(14,16,15,.15) 55%, rgba(14,16,15,0) 100%),
      linear-gradient(0deg, var(--ink) 0%, rgba(14,16,15,0) 24%),
      linear-gradient(180deg, rgba(14,16,15,.6) 0%, rgba(14,16,15,0) 20%);
  }
  .hero__content { padding-block: 64px; }
  .hero__title { max-width: 9.5ch; font-size: clamp(3rem, 5.4vw, 4.8rem); }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(80px, 12vw, 140px); position: relative; }
.section__head { max-width: 620px; margin-bottom: clamp(36px, 6vw, 56px); }
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--neon); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.kicker--pink { color: var(--pink); }
.section__title {
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  font-weight: 800; font-stretch: 108%;
  line-height: 1.02; letter-spacing: -.02em;
}
.section__lead { margin-top: 16px; color: var(--muted); font-size: 1.08rem; max-width: 52ch; }

/* ---------- Gallery ---------- */
.space { background: var(--ink-2); border-block: 1px solid var(--line); }
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(10px, 2vw, 22px);
}
.shot {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  border-radius: var(--radius); overflow: hidden; background: var(--ink-3);
  aspect-ratio: 9 / 10;
  box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.shot img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.shot:hover, .shot:focus-visible { box-shadow: 0 0 0 1px var(--neon), 0 18px 40px -20px var(--neon-soft); }
.shot:hover img { transform: scale(1.035); }
.shot__zoom {
  position: absolute; right: 12px; bottom: 12px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(14, 16, 15, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .18);
  opacity: 0; transform: translateY(6px);
  transition: opacity .3s, transform .3s var(--ease);
}
.shot__zoom::before, .shot__zoom::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--white); border-radius: 2px;
  transform: translate(-50%, -50%);
}
.shot__zoom::before { width: 14px; height: 2px; }
.shot__zoom::after { width: 2px; height: 14px; }
.shot:hover .shot__zoom, .shot:focus-visible .shot__zoom { opacity: 1; transform: none; }
@media (hover: none) { .shot__zoom { opacity: 1; transform: none; width: 32px; height: 32px; right: 8px; bottom: 8px; } }

@media (min-width: 1000px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery li:nth-child(even) { transform: translateY(40px); }
  .gallery li:nth-child(even).reveal:not(.is-visible) { transform: translateY(64px); }
  .space { padding-bottom: calc(clamp(80px, 12vw, 140px) + 40px); }
  .shot { aspect-ratio: 4 / 5; }
}

/* ---------- Visit ---------- */
.visit__grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
.visit__media {
  position: relative; border-radius: 24px; overflow: hidden;
  max-width: 460px; width: 100%; margin-inline: auto;
  box-shadow: 0 0 0 1px var(--pink-soft), 0 30px 80px -40px var(--pink);
}
.visit__media img { width: 100%; }
.visit__facts {
  margin: 32px 0 28px; border-top: 1px solid var(--line);
}
.visit__facts li {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 500;
}
.visit__label {
  font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.link { color: var(--white); text-decoration-color: var(--neon); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.link:hover { color: var(--neon); }
.link--arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none;
}
.link--arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link--arrow:hover::after { transform: translateX(4px); }

@media (min-width: 860px) {
  .visit__grid { grid-template-columns: 1fr 1fr; }
  .visit__media { margin-inline: 0; }
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(64px, 10vw, 100px) 32px;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(70, 242, 90, .07), transparent 70%),
    var(--ink);
}
.footer__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.footer__place { color: var(--muted); font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.footer__copy {
  margin-top: clamp(40px, 7vw, 64px); padding-top: 24px; width: 100%;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: .82rem;
}

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: rgba(8, 9, 9, .94); color: var(--white);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(8, 9, 9, .9); }
.lightbox__img {
  max-width: min(92vw, 900px); max-height: 84dvh; width: auto; height: auto;
  border-radius: 10px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
}
.lightbox__close, .lightbox__nav {
  position: absolute; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2); background: rgba(14, 16, 15, .6);
  font-size: 1.6rem; line-height: 1;
  transition: border-color .2s, color .2s;
}
.lightbox__close:hover, .lightbox__nav:hover { border-color: var(--neon); color: var(--neon); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 2rem; }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
.lightbox__count {
  position: absolute; bottom: 20px; left: 0; right: 0; text-align: center;
  font-size: .8rem; letter-spacing: .2em; color: var(--muted);
}
@media (max-width: 640px) {
  .lightbox__nav { top: auto; bottom: 10px; transform: none; width: 44px; height: 44px; }
  .lightbox__img { max-height: 76dvh; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.gallery li.reveal:nth-child(2) { transition-delay: .08s; }
.gallery li.reveal:nth-child(3) { transition-delay: .16s; }
.gallery li.reveal:nth-child(4) { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }

.hero__content > * { animation: rise .9s var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: .08s; }
.hero__content > :nth-child(3) { animation-delay: .16s; }
.hero__content > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Mobile nav ---------- */
@media (max-width: 760px) {
  :root { --nav-h: 62px; }
  .brand__script { font-size: 1.55rem; }
  .menu-btn { display: inline-flex; }
  .tg-btn--sm { padding: 7px; }
  .tg-btn--sm .tg-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav__links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0;
    padding: 8px var(--gutter) 20px;
    background: rgba(14, 16, 15, .97);
    border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); color: var(--white); }
  .nav__links a::after { display: none; }
}
@media (max-width: 360px) {
  .nav__actions { gap: 8px; }
  .lang button { padding: 5px 8px; }
  .brand__num { display: none; }
}

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