:root {
  --black: #070806;
  --black-2: #0d0f0c;
  --gold: #f2c230;
  --gold-soft: #e9cf7a;
  --gold-deep: #b98f16;
  --emerald: #13a85a;
  --emerald-deep: #0b6b3a;
  --white: #f7f5ee;
  --muted: rgba(247, 245, 238, 0.66);
  --line: rgba(242, 194, 48, 0.22);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

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

/* ---------- Shared ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.eyebrow::before, .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow--green { color: var(--emerald); }

.section-title {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.lead {
  margin: 0 auto;
  max-width: 560px;
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn--tg {
  background: var(--white);
  color: var(--black);
  border: 1px solid transparent;
  box-shadow: 0 0 0 1px rgba(242, 194, 48, 0.35), 0 10px 30px -12px rgba(242, 194, 48, 0.45);
}
.btn--tg:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--gold), 0 16px 40px -14px rgba(242, 194, 48, 0.7);
}
.btn--sm { padding: 8px 16px 8px 9px; font-size: 14px; }
.btn--lg { padding: 13px 28px 13px 14px; font-size: 16px; }
.tg-icon { flex: none; width: 26px; height: 26px; }
.btn--lg .tg-icon { width: 34px; height: 34px; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7, 8, 6, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px var(--gutter);
}
.nav__brand img { width: 54px; height: 54px; border-radius: 50%; }
.nav__links { display: flex; gap: 36px; font-size: 14px; font-weight: 500; letter-spacing: 0.06em; }
.nav__links a { position: relative; color: var(--muted); transition: color 0.3s; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 14px; }

.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.lang button {
  padding: 5px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 600 12px/1 var(--sans);
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.lang button[aria-pressed="true"] { background: var(--gold); color: var(--black); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 110px var(--gutter) 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg, .hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero__bg img { animation: hero-zoom 18s var(--ease) both; }
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 55% 45% at 50% 42%, rgba(242, 194, 48, 0.14), transparent 70%),
    linear-gradient(180deg, rgba(7, 8, 6, 0.72) 0%, rgba(7, 8, 6, 0.6) 40%, rgba(7, 8, 6, 0.92) 85%, var(--black) 100%);
}
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 820px;
}
.hero__logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  margin-bottom: 28px;
}
.hero__logo img { position: relative; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 20px 50px -10px rgba(0, 0, 0, 0.8); }
.hero__halo {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1px solid rgba(242, 194, 48, 0.45);
  box-shadow: 0 0 60px -6px rgba(242, 194, 48, 0.35);
  animation: halo 5s ease-in-out infinite;
}
.hero__halo::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(19, 168, 90, 0.25);
}
.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 8.5vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.015em;
}
.hero__title em {
  white-space: nowrap;
  background: linear-gradient(100deg, var(--gold-deep) 0%, var(--gold) 35%, #fff1b8 50%, var(--gold) 65%, var(--gold-deep) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s ease-in-out infinite;
}
.hero__sub {
  margin: 22px 0 38px;
  font-size: clamp(15px, 1.8vw, 19px);
  letter-spacing: 0.08em;
  color: var(--muted);
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 24px;
  height: 40px;
  margin-left: -12px;
  border: 1px solid rgba(247, 245, 238, 0.35);
  border-radius: 14px;
}
.hero__scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--gold);
  animation: scroll-dot 2.2s ease-in-out infinite;
}

/* ---------- Experience ---------- */
.experience {
  position: relative;
  padding: clamp(80px, 12vw, 150px) 0 clamp(80px, 11vw, 140px);
}
.experience__head { text-align: center; margin-bottom: clamp(48px, 7vw, 80px); }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}
.gallery__item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--black-2);
  aspect-ratio: 706 / 860;
}
.gallery__item:nth-child(even) { transform: translateY(44px); }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter 0.8s var(--ease);
  filter: saturate(0.92);
}
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(242, 194, 48, 0.14);
  background: linear-gradient(180deg, transparent 55%, rgba(7, 8, 6, 0.85) 100%);
  pointer-events: none;
}
.gallery__item:hover img { transform: scale(1.05); filter: saturate(1.05); }
.gallery__item figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}
.gallery__num {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  padding: clamp(90px, 12vw, 140px) 0 36px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 70% at 50% 0%, rgba(19, 168, 90, 0.12), transparent 70%),
    var(--black-2);
  border-top: 1px solid var(--line);
}
.footer__inner { display: flex; flex-direction: column; align-items: center; }
.footer__logo { width: 120px; height: 120px; margin-bottom: 26px; border-radius: 50%; }
.footer__title {
  margin: 0 0 34px;
  max-width: 640px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.08;
}
.footer__rule {
  width: 100%;
  height: 1px;
  margin: clamp(70px, 9vw, 100px) 0 26px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.footer__copy { margin: 0; font-size: 13px; letter-spacing: 0.06em; color: rgba(247, 245, 238, 0.45); }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.gallery__item.reveal.is-in:nth-child(even) { transform: translateY(44px); }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }

@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes halo { 0%, 100% { opacity: 0.55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes shimmer { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Responsive ---------- */
@media (max-width: 999px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item:nth-child(even),
  .gallery__item.reveal.is-in:nth-child(even) { transform: translateY(36px); }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
}
@media (max-width: 639px) {
  .nav__brand img { width: 46px; height: 46px; }
  .btn--sm span { display: none; }
  .btn--sm { padding: 6px; }
  .hero__logo { width: 120px; height: 120px; }
  .hero__logo img { width: 120px; height: 120px; }
  .gallery {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 8px;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery__item { scroll-snap-align: start; }
  .gallery__item:nth-child(even),
  .gallery__item.reveal.is-in:nth-child(even) { transform: none; }
}

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