@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/inter-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/playfair-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/playfair-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-400-italic.woff2') format('woff2');
}

:root {
  --bg: #0e0e10;
  --bg-alt: #151517;
  --text: #f2f0ec;
  --text-dim: #a8a6a1;
  --accent: #d8b26a;
  --line: rgba(255,255,255,0.1);
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
  --nav-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2 { font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.01em; }

.section-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.btn {
  display: inline-block;
  padding: 0.95rem 2.2rem;
  background: var(--accent);
  color: #16140f;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 30px -10px rgba(216,178,106,0.55); }

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn--outline:hover { border-color: var(--accent); box-shadow: none; color: var(--accent); }

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  z-index: 100;
  transition: background 0.4s ease, box-shadow 0.4s ease, height 0.4s ease;
}
.nav.scrolled {
  background: rgba(14,14,16,0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  height: 64px;
}
.nav__logo {
  display: flex;
  align-items: center;
}
.nav__logo-img {
  height: 26px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  gap: 2.4rem;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.nav__links a {
  position: relative;
  padding-bottom: 4px;
  color: var(--text-dim);
  transition: color 0.3s ease;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__right {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(1.2rem, 2.5vw, 2.4rem);
}
.nav__lang {
  flex-shrink: 0;
  white-space: nowrap;
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 0.32rem 0.9rem 0.36rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(216, 178, 106, 0.12);
  backdrop-filter: blur(4px);
  transition: color 0.3s ease, background-color 0.3s ease;
}
.nav__lang:hover {
  background: var(--accent);
  color: #16140f;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  background: none; border: none;
  cursor: pointer;
  z-index: 110;
}
.nav__toggle span {
  height: 1px;
  background: var(--text);
  width: 100%;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav__toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* HERO */
.hero {
  position: relative;
  height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.35) 40%, rgba(10,10,10,0.92) 100%);
}
.hero__content {
  position: relative;
  padding: 0 5vw 9rem;
  max-width: 900px;
}
.hero__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.2s forwards;
}
.hero__title {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.08;
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.4s forwards;
}
.hero__subtitle {
  color: var(--text-dim);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 520px;
  margin-bottom: 2.2rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.6s forwards;
}
.hero__content .btn {
  opacity: 0;
  animation: fadeUp 1s ease 0.8s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__scroll {
  position: absolute;
  bottom: 2.4rem; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero__scroll span {
  width: 4px; height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollDot 1.8s ease infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { opacity: 0; }
}

/* ABOUT */
.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(5rem, 10vw, 8rem) 5vw;
  background: var(--bg);
}
.about__image {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 4px;
}
.about__image img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.15);
}
.about__text h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 1.4rem; }
.about__text p { color: var(--text-dim); margin-bottom: 1.1rem; max-width: 52ch; }
.about__stats {
  display: flex;
  gap: 2.6rem;
  margin-top: 2.2rem;
  list-style: none;
}
.about__stats li { display: flex; flex-direction: column; }
.about__stats strong { font-family: var(--font-serif); font-size: 2rem; color: var(--accent); }
.about__stats span { font-size: 0.8rem; color: var(--text-dim); letter-spacing: 0.03em; }

/* GALLERY */
.gallery {
  padding: clamp(4rem, 8vw, 7rem) 5vw clamp(5rem, 8vw, 8rem);
  background: var(--bg-alt);
}
.gallery--soon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
}
.gallery--soon .section-header { margin-bottom: 0; }
.section-header { text-align: center; margin-bottom: 2.6rem; }
.section-header h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); }

.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 3rem;
}
.filter {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text-dim);
  padding: 0.55rem 1.3rem;
  border-radius: 30px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.filter:hover { color: var(--text); border-color: var(--accent); }
.filter.active { background: var(--accent); color: #16140f; border-color: var(--accent); }

.grid {
  column-count: 3;
  column-gap: 1.1rem;
  max-width: 1300px;
  margin: 0 auto;
}
.grid__item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 1.1rem;
  break-inside: avoid;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}
.grid__item img {
  width: 100%; height: auto; display: block;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: saturate(0.9);
}
.grid__item:hover img { transform: scale(1.05); filter: saturate(1.1); }

.grid__item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1.1rem 1.1rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.8), transparent);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s ease;
}
.grid__item:hover figcaption { opacity: 1; transform: translateY(0); }

.grid__item.hide { display: none; }

/* CONTACT */
.contact {
  padding: clamp(5rem, 10vw, 9rem) 5vw;
  background: var(--bg);
  text-align: center;
}
.contact__inner { max-width: 640px; margin: 0 auto; }
.contact h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.2rem; }
.contact__text { color: var(--text-dim); margin-bottom: 2.2rem; }
.socials {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.socials a { color: var(--text-dim); position: relative; padding-bottom: 3px; }
.socials a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.socials a:hover { color: var(--text); }
.socials a:hover::after { width: 100%; }

/* FOOTER */
.footer {
  padding: 2.2rem 5vw;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.8rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer__legal { margin-top: 0.6rem; }
.footer__legal a { color: var(--text-dim); }
.footer__legal a:hover { color: var(--accent); }

/* LEGAL PAGES */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(8rem, 12vw, 10rem) 5vw clamp(5rem, 8vw, 7rem);
  color: var(--text-dim);
}
.legal h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text);
  margin-bottom: 2.2rem;
}
.legal h2 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--text);
  margin: 2.4rem 0 0.8rem;
}
.legal p, .legal li { margin-bottom: 0.9rem; line-height: 1.7; }
.legal a { color: var(--accent); text-decoration: underline; }
.legal ul { padding-left: 1.2rem; }

/* LIGHTBOX */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(8,8,9,0.96);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
  padding: 4rem 2rem;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 90vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.lightbox__caption {
  margin-top: 1.2rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}
.lightbox__close {
  position: absolute; top: 1.6rem; right: 1.8rem;
  background: none; border: none;
  color: var(--text);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: none;
  color: var(--text);
  font-size: 3rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.lightbox__nav:hover { opacity: 1; }
.lightbox__prev { left: 0.5rem; }
.lightbox__next { right: 0.5rem; }

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* CUSTOM CURSOR */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  opacity: 0;
  will-change: transform;
}
.cursor-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  transition: opacity 0.25s ease, transform 0.15s ease;
}
.cursor-ring {
  width: 42px; height: 42px;
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.35s cubic-bezier(.16,1,.3,1), height 0.35s cubic-bezier(.16,1,.3,1),
              background-color 0.35s ease, border-color 0.35s ease, opacity 0.25s ease;
}
.cursor-dot.is-visible, .cursor-ring.is-visible { opacity: 1; }
.cursor-ring.is-hover {
  width: 88px; height: 88px;
  background: var(--accent);
}
.cursor-ring.is-hover ~ .cursor-dot,
.cursor-dot.is-hidden { opacity: 0; }
.cursor-ring.is-pressed { width: 36px; height: 36px; }
.cursor-ring__label {
  opacity: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #16140f;
  white-space: nowrap;
  transition: opacity 0.2s ease 0.1s;
}
.cursor-ring.is-hover .cursor-ring__label { opacity: 1; }

@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

body.custom-cursor-active, body.custom-cursor-active a, body.custom-cursor-active button {
  cursor: none;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .about { grid-template-columns: 1fr; }
  .about__image { max-width: 460px; margin: 0 auto; }
  .grid { column-count: 2; }
}

@media (max-width: 720px) {
  .cursor-dot, .cursor-ring { display: none; }

  .nav__links {
    position: fixed;
    top: 0; right: 0;
    height: 100svh;
    width: min(78vw, 340px);
    background: var(--bg-alt);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem 2.6rem;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,0.4);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { font-size: 1.1rem; }
  .nav__toggle { display: flex; }

  .hero__content { padding-bottom: 6rem; }

  .grid { column-count: 1; }

  .about__stats { flex-wrap: wrap; row-gap: 1.4rem; }

  .lightbox__nav { font-size: 2.2rem; }
}
