*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: none !important;
}

:root {
  --white: #ffffff;
  --black: rgb(17, 17, 17);
  --gray: rgb(153, 153, 153);
  --light-gray: #e8e8e8;
  --font-display: "Heebo", sans-serif;
  --font-body: "Assistant", sans-serif;
  --nav-height: 40px;
}

body {
  font-family: var(--font-body);
  background: #ffffff;
  color: var(--black);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  /* background: var(--white); */
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  /* transition: background 0.4s, border-color 0.4s; */
}

/* nav.transparent {
  background: linear-gradient(to bottom, rgba(0,0,0,0.45), transparent);
  border-bottom-color: transparent;
} */

nav.transparent .nav-logo,
nav.transparent .nav-links a,
nav.transparent .nav-right a {
  color: #5f5f5f;
}

nav.transparent .nav-links a:hover,
nav.transparent .nav-right a:hover {
  color: #999;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  position: relative;
  display: inline-block;
  line-height: 1;
}

.nav-logo::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.nav-logo:hover::after {
  width: 100%;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
}

.nav-links li {
  display: flex;
  align-items: center;
}
.nav-links a,
.nav-right a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  position: relative;
  display: inline-block;
  line-height: 1;
  transition: color 0.2s;
}

.nav-links a::after,
.nav-right a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-right a:hover::after {
  width: 100%;
}
.nav-links a:hover,
.nav-right a:hover {
  color: var(--black);
}
.nav-links a.active,
.nav-right a.active {
  color: var(--black);
}
.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}


/* Hamburger — hidden on desktop */
.nav-hamburger {
  display: none;
}

/* PAGES */
.page {
  display: none;
  padding-top: var(--nav-height);
}
.page.active {
  display: block;
}
.page.fading-in {
  animation: pageFadeIn 0.5s ease forwards;
}
.page.fading-in-slow {
  animation: pageFadeIn 1.5s ease forwards;
}
@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* HOME */
#home {
  height: 100vh;
  padding-top: 0;
  overflow: hidden;
}

.slideshow {
  width: 100%;
  height: 100vh;
  position: relative;
  background: #e0ddd9;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--slide-transition, 1.4s) ease;
}
.slide.active {
  opacity: 1;
}

.slide-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(0, 0, 0, 0.25);
  text-transform: uppercase;
  position: relative;
}

/* WORKS */
#works {
  padding: 90px 60px 120px;
}
.works-list {
  display: flex;
  flex-direction: column;
  gap: 110px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}

.work-item {
  display: grid;
  grid-template-columns: 1fr 40%;
  gap: 0;
  align-items: center;
}

.work-item + .work-item {
  position: relative;
  margin-left: -40px;
  margin-right: -40px;
  padding-left: 40px;
  padding-right: 40px;
}

.work-item + .work-item::before {
  content: '';
  position: absolute;
  top: -55px;
  left: 0;
  right: 0;
  height: 0.5px;
  background: #5f5f5f;
}

.work-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  align-self: center;
  padding: 0 60px;
}

.work-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  color: var(--black);
}

.work-meta {
  font-size: 14px;
  font-weight: 400;
  color: #5f5f5f;
  line-height: 2;
}
.work-meta span {
  display: block;
}

.work-image {
  width: 100%;
  position: relative;
  background: #e4e2de;
  display: block;
  overflow: hidden;
  cursor: pointer;
}

.work-image .img-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.work-image:hover .img-wrapper {
  transform: scale(0.97);
  opacity: 0.88;
}

.work-image .img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 300px;
  background: #e4e2de;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #bbb;
  text-transform: uppercase;
  transition: background 0.4s;
}

.work-item:hover .work-image .img-placeholder {
  background: #dedad5;
}

/* INFO */
#info {
  padding: 80px 0 40px;
}

.info-layout {
  display: grid;
  grid-template-columns: 42% 58%;
}

.info-photo {
  position: sticky;
  top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  max-height: 700px;
  flex-shrink: 0;
  background: #e4e2de;
  overflow: hidden;
}

.info-photo .img-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  display: block;
}

.info-photo .img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #bbb;
  text-transform: uppercase;
}

.info-content {
  padding: 64px 80px 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-bio {
  max-width: 560px;
  margin-bottom: 56px;
}
.info-bio p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
  margin-bottom: 18px;
  color: var(--black);
}
.info-bio p:last-child {
  margin-bottom: 0;
}

.info-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 36px;
  border-top: 1px solid var(--light-gray);
  max-width: 560px;
}
.info-contact a {
  font-size: 12px;
  font-weight: 300;
  color: var(--gray);
  text-decoration: none;
  letter-spacing: 0.06em;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s;
}
.info-contact a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
.info-contact a:hover::after {
  width: 100%;
}
.info-contact a:hover {
  color: var(--black);
}

@media (max-width: 900px) {
  #info { padding: 0 0 40px; }
  .info-layout {
    grid-template-columns: 1fr;
  }
  .info-photo {
    position: relative;
    top: 0;
    height: 56vw;
    min-height: 240px;
    max-height: 420px;
  }
  .info-content {
    padding: 48px 24px 64px;
    justify-content: flex-start;
  }
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--white);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: none;
}
.lightbox.open {
  display: flex;
  animation: lbFade 0.3s ease;
}

@keyframes lbFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lightbox-inner {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 100px 40px;
}

.lightbox-img {
  flex: 0 1 860px;
  aspect-ratio: 4/3;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #bbb;
  text-transform: uppercase;
  transition: opacity 0.25s ease;
  overflow: hidden;
}

.lightbox-img.fade {
  opacity: 0;
}

.lightbox-caption {
  padding: 0 0 36px;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--gray);
  text-align: center;
}

.lightbox-back {
  position: fixed;
  top: 20px;
  left: 48px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  background: none;
  border: none;
  padding-bottom: 3px;
  transition: color 0.2s;
  z-index: 600;
}

.lightbox-back::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s;
}

.lightbox-back:hover {
  color: var(--black);
}
.lightbox-back:hover::after {
  width: 100%;
}

.lightbox-zone {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: 10;
  cursor: none;
}
.lightbox-zone-left {
  left: 0;
}
.lightbox-zone-right {
  right: 0;
}

.lb-cursor {
  position: fixed;
  pointer-events: none;
  z-index: 600;
  font-size: 28px;
  color: var(--black);
  font-weight: 300;
  opacity: 0;
  transition: opacity 0.15s;
  transform: translate(-50%, -50%);
  user-select: none;
}


/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--white);
  flex-direction: column;
  padding: 28px 28px 40px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

.mobile-menu-logo {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
}

.mobile-menu-close {
  font-size: 24px;
  color: var(--black);
  background: none;
  border: none;
  font-weight: 300;
  line-height: 1;
}

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mobile-menu-links a {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--black);
  text-decoration: none;
}

/* RESPONSIVE */

@media (max-width: 768px) {

  /* ---- TOUCH DEVICE: restore cursor, hide custom cursors ---- */
  *, *::before, *::after {
    cursor: auto !important;
  }
  a, button, [onclick] {
    cursor: pointer !important;
  }
  #site-cursor,
  #invert-loupe,
  #gallery-loupe,
  .lb-cursor {
    display: none !important;
  }

  /* ---- NAV ---- */
  nav {
    padding: 0 16px;
  }
  .nav-links,
  .nav-right {
    display: none;
  }
  .nav-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.35);
    background: none;
    flex-shrink: 0;
  }
  .nav-bar {
    top: 12px;
    left: 12px;
    right: 12px;
  }

  /* ---- HOME SLIDESHOW ---- */
  #home {
    height: 100dvh;
    padding: 0;
  }
  .slideshow {
    height: 100dvh;
  }
  .slide-inner {
    border-radius: 0;
  }

  /* ---- WORKS PAGE ---- */
  #works {
    padding: 120px 0 80px;
  }
  .works-list {
    gap: 0;
    max-width: none;
    padding: 0;
    margin: 0;
  }
  .work-item {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 0 72px 0;
  }
  /* 4. הסר קו מפריד במובייל */
  .work-item + .work-item {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .work-item + .work-item::before {
    display: none;
  }
  .work-image {
    order: 1;
    width: 100%;
    aspect-ratio: unset;
    height: auto;
  }
  .work-image .img-wrapper {
    height: auto;
    position: relative;
  }
  .work-text {
    order: 2;
    padding: 20px 24px 0;
  }
  .work-title {
    font-size: 15px;
  }
  .work-meta {
    font-size: 12px;
  }

  /* ---- INFO PAGE ---- */
  #info {
    padding: 80px 0 80px;
  }
  .info-layout {
    grid-template-columns: 1fr;
  }
  .info-photo {
    position: relative;
    top: 0;
    width: 100%;
    height: 70vw;
    min-height: 260px;
    max-height: 440px;
  }
  .info-content {
    padding: 36px 24px 64px;
    justify-content: flex-start;
  }

  /* ---- LIGHTBOX ---- */
  .lightbox-inner {
    padding: 70px 16px 16px;
  }
  .lightbox-back {
    left: 20px;
  }
}

}

/* ---- IMAGE EDITING / ADMIN ---- */

.img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.stored-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* works page: natural proportions, no crop */
.work-image .stored-img {
  position: static;
  width: 100%;
  height: auto;
  object-fit: unset;
}

.admin-edit-btn {
  display: none;
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 20;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  border: none;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  opacity: 0;
  transition: opacity 0.2s;
}

body.admin-mode .admin-edit-btn {
  display: block;
}
body.admin-mode [data-key]:hover > .admin-edit-btn {
  opacity: 1;
}

.lb-edit-btn {
  display: none;
  position: fixed;
  bottom: 28px;
  right: 48px;
  z-index: 700;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  border: none;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  transition: background 0.2s;
}

body.admin-mode .lb-edit-btn {
  display: block;
}
.lb-edit-btn:hover {
  background: rgba(0, 0, 0, 0.9);
}

.nav-bar {
  position: fixed;
  top: 2em;
  left: 2em;
  right: 2em;
  margin: 0;
  background-color: rgb(255, 255, 255);
  border-radius: 2px;
  border-top: 0.5px solid transparent;
  border-bottom: 0.5px solid transparent;
  transition: border-color 0.3s ease;
}

body.page-works .nav-bar.scrolled {
  border-top: 0.5px solid #5f5f5f;
  border-bottom: 0.5px solid #5f5f5f;
}

nav.transparent {
  background: transparent;
}

/* ---- GALLERY BADGE (+N) ---- */
.work-image-count {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.32);
  padding: 3px 7px;
  pointer-events: none;
}

/* ---- GALLERY OVERLAY ---- */
#gallery-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: #fff;
  cursor: none;
}
#gallery-overlay.open {
  display: flex;
  align-items: stretch;
  animation: lbFade 0.3s ease;
}
.gallery-left {
  width: 30%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 40px 40px 60px;
  position: relative;
  z-index: 20;
}



/* landscape: text centered in the white space LEFT of the image */
#gallery-overlay.landscape .gallery-left {
  width: auto;
  flex: 0 0 auto;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: var(--img-right-edge, 70%);
  padding: 40px 40px 40px 60px;
  justify-content: center;
}
.gallery-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--black);
  margin-bottom: 14px;
}
.gallery-meta-line {
  font-size: 14px;
  font-weight: 400;
  color: #5f5f5f;
  line-height: 2;
}
.gallery-year {
  margin-top: 4px;
  color: #5f5f5f;
}
.gallery-credit {
  margin-top: 4px;
}
.gallery-credit-label {
  color: #5f5f5f;
}
.gallery-counter {
  margin-top: 28px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #5f5f5f;
}

.gallery-watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  background: none;
  border: none;
  padding: 0 0 3px 0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  position: relative;
  transition: color 0.2s;
}
.gallery-watch-play {
  font-size: 8px;
}
.gallery-watch-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: opacity 0.2s;
}
.gallery-watch-btn:hover {
  color: var(--gray);
}
.gallery-right {
  width: 70%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}

/* landscape: image takes full remaining space, flush right */
#gallery-overlay.landscape .gallery-right {
  width: 100%;
  justify-content: flex-end;
}
#gallery-img {
  max-width: 100%;
  max-height: 100vh;
  width: auto;
  height: 100vh;
  object-fit: contain;
  object-position: right center;
  display: block;
  transition: opacity 0.2s ease;
}
.gallery-zone { display: none; }
.gallery-zone-left  { display: none; }
.gallery-zone-right { display: none; }


.gallery-back-btn {
  position: fixed;
  top: 20px;
  left: 48px;
  z-index: 600;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  cursor: none;
  padding-bottom: 3px;
  position: fixed;
}
.gallery-back-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
.gallery-back-btn:hover {
  color: var(--black);
}
.gallery-back-btn:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  /* ---- GALLERY MOBILE ---- */
  #gallery-overlay.open {
    flex-direction: column;
    overflow: hidden;
  }


  /* Image area — takes most of the screen */
  .gallery-right {
    flex: 1;
    min-height: 0;
    width: 100%;
    padding: 52px 0 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  #gallery-img {
    width: 100vw;
    height: auto;
    max-height: 100%;
    max-width: 100vw;
    object-fit: cover;
    object-position: center center;
    display: block;
  }

  /* Text — hidden on mobile (shown in bottom bar instead) */
  .gallery-left {
    display: none;
  }

  /* Bottom bar: arrows + text */
  .gallery-mobile-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 env(safe-area-inset-bottom, 12px);
    flex-shrink: 0;
    background: #fff;
    border-top: 1px solid #f0f0f0;
  }

  .gallery-mobile-prev,
  .gallery-mobile-next {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 20px;
    color: #555;
    cursor: pointer;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
  }
  .gallery-mobile-prev:active,
  .gallery-mobile-next:active {
    color: #000;
  }

  .gallery-mobile-info {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
    min-width: 0;
  }
  .gallery-mobile-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
  }
  .gallery-mobile-meta {
    font-size: 11px;
    font-weight: 300;
    color: #999;
    letter-spacing: 0.05em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .gallery-mobile-counter {
    font-size: 10px;
    color: #5f5f5f;
    letter-spacing: 0.08em;
    display: block;
    margin-top: 2px;
  }
  .gallery-mobile-watch {
    display: inline-block;
    margin-top: 6px;
    background: none;
    border: none;
    padding: 0;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #5f5f5f;
    cursor: pointer;
  }

  /* Back button stays */
  .gallery-back-btn {
    top: 14px;
    left: 20px;
  }

  /* Touch zones — full image area */
  .gallery-zone-left,
  .gallery-zone-right {
    top: 52px;
    bottom: 90px;
  }
}

/* ---- GALLERY BADGE (+N) ---- */
.work-image-count {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.32);
  padding: 3px 7px;
  pointer-events: none;
}

/* ---- VIDEO PLAY ICON ON IMAGE ---- */
.work-image-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: rgba(0,0,0,0.18);
}

.work-image-play::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 13px;
  border-color: transparent transparent transparent rgba(255,255,255,0.9);
  margin-left: 3px;
}

.work-item:hover .work-image-play {
  opacity: 1;
}
#video-player-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 600;
  background: #fff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#video-player-overlay.open {
  display: flex;
}
.video-player-inner {
  width: 90vw;
  max-width: 1000px;
  aspect-ratio: 16/9;
}
.video-player-inner iframe {
  width: 100%;
  height: 100%;
  display: block;
}
.video-back-btn {
  position: fixed;
  top: 20px;
  left: 48px;
  z-index: 610;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  cursor: none;
  padding-bottom: 3px;
  position: fixed;
}
.video-back-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
.video-back-btn:hover { color: var(--black); }
.video-back-btn:hover::after { width: 100%; }

/* ---- VIDEO BUTTON ON WORKS ---- */
.work-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  background: none;
  border: none;
  padding: 0;
  padding-bottom: 3px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  position: relative;
  transition: color 0.2s;
}
.work-video-play {
  font-size: 8px;
  color: inherit;
}
.work-video-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: opacity 0.2s;
}
.work-video-btn:hover {
  color: var(--gray);
}

/* mobile */
@media (max-width: 768px) {
  .video-back-btn {
    top: 14px;
    left: 20px;
    cursor: pointer;
  }
  .video-player-inner {
    width: 100vw;
    max-width: 100vw;
  }
  .work-video-btn {
    cursor: pointer;
  }
}
