/* ─── PAGE LOADER ──────────────────────────────────────────── */
#page-loader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 9999;
  transition: opacity 0.5s ease;
}
#page-loader.done {
  opacity: 0;
  pointer-events: none;
}

/* ─── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, video {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}

img { pointer-events: none; }

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --font:  'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html { font-size: 10px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
}

/* ─── ABOVE FOLD ───────────────────────────────────────────── */
.above-fold {
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
}

/* ─── NAV ──────────────────────────────────────────────────── */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 3.2rem 0 0;
}

.nav-logo,
.nav-logo:link,
.nav-logo:hover,
.nav-logo:visited,
.nav-logo:active { text-decoration: none; }

.nav-logo {
  margin-top: 10px;
  margin-left: 40px;
}


.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-contact {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--black);
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.2s;
  margin-top: 10px;
  margin-right: 40px;
}

.nav-contact:hover { opacity: 0.4; }

/* ─── HERO ─────────────────────────────────────────────────── */
.hero {
  height: 450px;
  padding: 0 10px 2rem;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  margin-top: auto;
  flex-shrink: 0;
  position: relative;
}

.hero-title {
  font-size: calc((100vw - 20px) / 7.5);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.9;
  color: var(--black);
  text-transform: uppercase;
  white-space: nowrap;
  display: block;
}

/* ─── GALLERY ──────────────────────────────────────────────── */
.gallery {
  width: 100%;
  height: 460px;
  overflow: hidden;
  padding-bottom: 10px;
}

.gallery-track {
  display: flex;
  gap: 10px;
  height: 450px;
  align-items: stretch;
  will-change: transform;
}

.gallery-item {
  flex: 0 0 auto;
  width: 338px;
  height: 450px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 5px;
  display: flex;
  align-items: center;
  background: #f0efeb;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.15);
}

.gallery-item > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 5px;
}

/* ─── GALLERY VIDEOS ───────────────────────────────────────── */
.gallery-item > video {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 5px;
  object-fit: cover;
  background: #f0efeb;
}

/* ─── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  position: relative;
  min-height: 100vh;
  background: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 12rem;
}

.footer-side {
  position: absolute;
  height: 90px;
  width: auto;
  top: 50%;
  transform: translateY(-50%);
}

.footer-side--left  { left: 3.2rem; }
.footer-side--right { right: 3.2rem; }

.footer-cta { display: block; }

.footer-cta__off,
.footer-cta__on { height: 90px; width: auto; display: block; }

.footer-cta__on                    { display: none; }
.footer-cta:hover .footer-cta__off { display: none; }
.footer-cta:hover .footer-cta__on  { display: block; }

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.2rem;
  text-align: center;
  max-width: 72rem;
  z-index: 1;
}

.footer-about,
.footer-services,
.footer-clients {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  text-wrap: balance;
}

.footer-instagram {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-instagram:hover { opacity: 0.5; }

/* ─── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .gallery-item { width: 50vw; }
}

@media (max-width: 700px) {
  .nav-logo    { margin-left: 2rem; }
  .nav-contact { margin-right: 2rem; }

  .hero { height: 150px; padding: 0 10px 1.6rem; }

  .gallery       { height: calc(55vh + 10px); }
  .gallery-track { height: 55vh; }
  .gallery-item  { width: 80vw; height: 55vh; }
  .gallery-item > img,
  .gallery-item > video { width: 100%; height: 100%; }

  .footer-about br,
  .footer-services br { display: none; }
  .site-footer  { padding: 5rem 2rem 8rem; }
  .footer-center { gap: 2rem; max-width: 100%; }
  .footer-about,
  .footer-services,
  .footer-clients,
  .footer-instagram { font-size: 1.1rem; letter-spacing: 0.04em; line-height: 1.7; }

  .footer-side {
    height: 48px;
    top: auto;
    bottom: 2rem;
    transform: none;
  }
  .footer-cta__off,
  .footer-cta__on  { height: 48px; }
  .footer-side--left  { left: 2rem; }
  .footer-side--right { right: 2rem; }
}
