:root {
  --cream: #F7F2E9;
  --sky: #B7D6DC;
  --caramel: #A9683C;
  --ink: #2B2721;
  --ink-soft: rgba(43, 39, 33, 0.65);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  scroll-behavior: smooth;
}

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

/* nav */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 6vw;
  mix-blend-mode: difference;
  background: transparent;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.site-nav.solid {
  mix-blend-mode: normal;
  background: var(--cream);
  padding: 18px 6vw;
  box-shadow: 0 1px 0 rgba(43, 39, 33, 0.08);
}

.site-nav .logo {
  font-size: 15px;
  letter-spacing: 0.15em;
  color: #fff;
}

.site-nav.solid .logo {
  color: var(--ink);
}

.site-nav nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.85;
}

.site-nav.solid nav a {
  color: var(--ink);
  opacity: 0.7;
}

.site-nav nav a:hover,
.site-nav nav a.active {
  opacity: 1;
  border-bottom: 1px solid currentColor;
}

/* hero */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--caramel);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43,39,33,0.25) 0%, rgba(43,39,33,0.35) 100%);
}

.hero-text {
  position: relative;
  top: -12vh;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.hero-text h1 {
  margin: 0;
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 400;
  letter-spacing: 0.18em;
}

.hero-divider {
  width: 60px;
  height: 1px;
  margin: 26px auto;
  background: rgba(255, 255, 255, 0.4);
}

.hero-text .role {
  margin: 6px 0 0;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

.hero-text .tagline {
  margin-top: 38px;
  font-size: 18px;
  font-weight: 500;
  font-style: italic;
  color: var(--sky);
}

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.4);
  overflow: hidden;
}

.scroll-hint span {
  display: block;
  width: 100%;
  height: 40%;
  background: #fff;
  animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(250%); }
}

/* section titles */
.section-title {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--caramel);
  margin: 0 0 6vh;
}

/* gallery */
.gallery {
  padding: 10vh 6vw;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6vh 3.5vw;
}

.gallery .section-title {
  grid-column: 1 / -1;
}

.video-title {
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 10px;
}

.gallery-item {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  background: var(--sky);
}

.gallery-item video,
.gallery-item iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
}

.gallery-item.portrait {
  aspect-ratio: 9 / 16;
  max-width: 270px;
  margin: 0 auto;
}

.gallery-entry.full-row {
  grid-column: 1 / -1;
}

.gallery-entry.full-row .gallery-item {
  max-width: 480px;
  margin: 0 auto;
}

.gallery-item.video-facade {
  position: relative;
  cursor: pointer;
}

.v-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.v-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(247, 242, 233, 0.9);
  color: var(--caramel);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 0 3px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.gallery-item.video-facade:hover .v-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: #fff;
}

@media (max-width: 640px) {
  .gallery {
    grid-template-columns: 1fr;
    gap: 6vh;
  }
  .gallery-item.portrait {
    grid-column: 1 / -1;
  }
}

/* fade-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s ease, transform 1.1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* fade-in on load */
.fade-in-load {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1.3s ease, transform 1.3s ease;
}

.fade-in-load.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stills */
.stills {
  padding: 6vh 6vw 12vh;
}

.stills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5vh 2vw;
}

.still {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  cursor: pointer;
  background: var(--sky);
}

@media (max-width: 640px) {
  .stills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5vh 2.5vw;
  }
  .still:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }
}

/* about */
.about {
  padding: 12vh 6vw 10vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-text {
  max-width: 620px;
  margin: 0;
  font-family: 'Heebo', sans-serif;
  font-weight: 300;
  font-size: 19px;
  line-height: 1.9;
  text-align: center;
  color: var(--ink);
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(43, 39, 33, 0.92);
  padding: 6vh 6vw;
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(247, 242, 233, 0.15);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(247, 242, 233, 0.3);
}

/* contact page */
.contact-page .hero,
.contact-page .gallery,
.contact-page .stills,
.contact-page .about { display: none; }

.contact-page .site-nav {
  mix-blend-mode: normal;
  background: var(--cream);
  padding: 18px 6vw;
  box-shadow: 0 1px 0 rgba(43, 39, 33, 0.08);
}

.contact-page .site-nav .logo,
.contact-page .site-nav nav a {
  color: var(--ink);
  opacity: 0.7;
}

.contact-page .site-nav nav a:hover,
.contact-page .site-nav nav a.active {
  opacity: 1;
}

.contact {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
  padding: 6vw;
}

.contact h2 {
  font-weight: 400;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}

.insta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border: 1px solid var(--caramel);
  border-radius: 999px;
  color: var(--caramel);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease;
}

.insta-btn:hover {
  background: var(--caramel);
  color: var(--cream);
}

.contact-line a {
  font-size: 16px;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.contact-line a:hover {
  color: var(--ink);
  border-color: var(--ink);
}
