/* ─── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #0a0a0a;
  --text:    #ffffff;
  --muted:   rgba(255,255,255,.45);
  --font:    'Helvetica Neue', Arial, sans-serif;
  --nav-h:   56px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a   { color: inherit; text-decoration: none; }

/* ─── Nav ───────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 clamp(20px, 5vw, 64px);
  z-index: 200;
  transform: translateY(-100%);
  transition: transform .45s cubic-bezier(.16,1,.3,1);
}
#nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.82) 0%, transparent 100%);
  pointer-events: none;
}
#nav.nav-visible { transform: translateY(0); }

.nav-brand {
  font-family: 'Barlow Condensed', var(--font);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .32em;
  color: var(--text);
  position: relative;
  z-index: 1;
  transition: opacity .2s;
}
.nav-brand:hover { opacity: .6; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
  margin-left: auto;
  position: relative;
  z-index: 1;
}
.nav-links a {
  font-size: 9px;
  letter-spacing: .3em;
  color: rgba(255,255,255,.65);
  font-weight: 600;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 40px;
  position: relative;
  z-index: 1;
}

.lang-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.45);
  font-size: 9px;
  letter-spacing: .22em;
  padding: 5px 12px;
  cursor: pointer;
  font-family: var(--font);
  font-weight: 600;
  transition: color .2s, border-color .2s;
}
.lang-toggle:hover { color: var(--text); border-color: var(--text); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
}

/* ─── Mobile Menu ───────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 52px;
  z-index: 190;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Barlow Condensed', var(--font);
  font-size: clamp(36px, 8vw, 64px);
  font-weight: 800;
  letter-spacing: .12em;
  color: rgba(255,255,255,.7);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--text); }

/* ─── Panel base ─────────────────────────────────────── */
.panel {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.panel-hero    { z-index: 1; }
.panel-about   { z-index: 2; }
.panel-art     { z-index: 3; }
.panel-contact { z-index: 4; }

/* ─── Video background ───────────────────────────────── */
.panel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  /* fallback: dark bg shows when no video loaded */
}

.panel-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.58);
  z-index: 1;
}
.panel-overlay--dim {
  background: rgba(0,0,0,.72);
}

/* section backgrounds */
.panel-hero    { background: url('photos/Image2.jpeg') center/cover no-repeat; isolation: isolate; }
.panel-about   { background: linear-gradient(160deg, #111 0%, #0d0d0d 100%); }
.panel-art     { background: #0d0d0d; }
.panel-contact { background: linear-gradient(160deg, #0f0f0f 0%, #080808 100%); }

/* ─── Panel inner content ───────────────────────────── */
.panel-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ─── Panel label (large editorial section title) ───── */
.panel-label {
  font-family: 'Barlow Condensed', var(--font);
  font-size: clamp(26px, 5vw, 70px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: .86;
  text-transform: uppercase;
  color: var(--text);
  padding: clamp(14px, 2.5vw, 32px) clamp(24px, 4.5vw, 60px);
  display: block;
  width: 100%;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.panel-label.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Fade-in utility ────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── HERO ───────────────────────────────────────────── */

/* Black layer with white title — white × video = video shows through text */
.hero-blend-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0,0,0,0.82);
  mix-blend-mode: multiply;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(16px, 2vw, 40px);
}

.hero-title {
  font-family: 'Barlow Condensed', var(--font);
  font-size: clamp(52px, 21vw, 380px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: .88;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  user-select: none;
}

.hero-content {
  position: absolute;
  bottom: 18%;
  left: 0; right: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-name {
  font-family: 'Signerica', cursive;
  text-transform: none;
  font-size: 38px;
  color: rgba(255,255,255,.45);
  margin-bottom: 2px;
  margin-top: 12px;
  font-weight: normal;
}

.hero-sub {
  font-family: 'Barlow Condensed', var(--font);
  font-size: 12px;
  letter-spacing: .48em;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  font-weight: 400;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 9px;
  letter-spacing: .44em;
  color: rgba(255,255,255,.3);
  text-transform: uppercase;
  font-weight: 600;
  animation: fadeup 3s ease-in-out infinite;
  white-space: nowrap;
}

@keyframes fadeup {
  0%, 100% { opacity: .15; transform: translateX(-50%) translateY(0); }
  50%       { opacity: .5;  transform: translateX(-50%) translateY(-9px); }
}

/* ─── ABOUT ──────────────────────────────────────────── */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  flex: 1;
}

.about-img {
  overflow: hidden;
  height: 100%;
  min-height: 70vh;
}
.about-img img { height: 100%; width: 100%; object-fit: cover; object-position: top; }

.about-text {
  padding: clamp(36px, 6vw, 80px) clamp(32px, 5.5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.about-text h2 {
  font-family: 'Barlow Condensed', var(--font);
  font-size: clamp(28px, 3.8vw, 52px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: .92;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 32px;
}

.about-text p {
  color: rgba(255,255,255,.55);
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.75;
}

.about-text strong { color: var(--text); }

.about-cta { margin-top: 40px; }

.btn-outline {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.35);
  color: rgba(255,255,255,.7);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 15px 44px;
  font-family: var(--font);
  transition: background .25s, color .25s, border-color .25s;
}
.btn-outline:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

/* ─── MY ART ─────────────────────────────────────────── */
.panel-art .panel-inner { padding-bottom: 52px; }

.art-intro {
  padding: 16px clamp(24px, 4.5vw, 60px) 0;
  max-width: 90vw;
  position: relative;
  z-index: 2;
}
.art-intro p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,.5);
  margin-bottom: 10px;
}

.gallery-scroll {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 32px 0 28px;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 2;
}
.gallery-scroll:active { cursor: grabbing; }
.gallery-scroll::-webkit-scrollbar { height: 1px; }
.gallery-scroll::-webkit-scrollbar-track { background: transparent; }
.gallery-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); }

.gallery-item {
  flex: 0 0 auto;
  height: 68vh;
  width: auto;
  scroll-snap-align: start;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}
.gallery-item:first-child { margin-left: clamp(24px, 4.5vw, 60px); }
.gallery-item:last-child  { margin-right: clamp(24px, 4.5vw, 60px); }

.gallery-item img {
  height: 100%;
  width: auto;
  max-width: none;
  transition: transform .9s cubic-bezier(.16,1,.3,1), opacity .35s, filter .35s;
  filter: brightness(.9) opacity(.55);
}
.gallery-item:hover img {
  transform: scale(1.04);
  filter: brightness(1) opacity(1);
}

.gallery-item figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 60px 18px 18px;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  opacity: 0;
  transition: opacity .35s;
}
.gallery-item:hover figcaption { opacity: 1; }

.ai-note {
  padding: 20px clamp(24px, 4.5vw, 60px) 0;
  font-size: 11px;
  letter-spacing: .05em;
  color: rgba(255,255,255,.2);
  font-style: italic;
  max-width: 680px;
  position: relative;
  z-index: 2;
}

/* ─── Lightbox ───────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.97);
  z-index: 300;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }

.lightbox-inner {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lightbox-inner img {
  max-height: 82vh;
  width: auto;
  max-width: 88vw;
  object-fit: contain;
}
.lightbox-inner p {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
}

.lightbox-close {
  position: absolute;
  top: 24px; right: 32px;
  background: none; border: none;
  color: var(--text);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  opacity: .3;
  transition: opacity .2s;
}
.lightbox-close:hover { opacity: 1; }

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: none; border: none;
  color: var(--text);
  font-size: 10px;
  letter-spacing: .2em;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  padding: 24px;
  opacity: .25;
  transition: opacity .2s;
}
.lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }
.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }

/* ─── CONTACT ────────────────────────────────────────── */
.contact-inner {
  max-width: 580px;
  padding: clamp(12px, 1.5vw, 20px) clamp(24px, 4.5vw, 60px) 80px;
}

.contact-inner h2 {
  font-family: 'Barlow Condensed', var(--font);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: .9;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--text);
}

.contact-sub {
  color: rgba(255,255,255,.4);
  margin-top: 4px;
  margin-bottom: 48px;
  font-size: 14px;
  line-height: 1.65;
}

.contact-credentials {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-name {
  font-family: 'Barlow Condensed', var(--font);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 4px;
}

.contact-line {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  letter-spacing: .04em;
  transition: color .2s;
}
.contact-line:hover { color: var(--text); }

/* ─── Footer ─────────────────────────────────────────── */
footer {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 28px clamp(24px, 4.5vw, 60px);
  background: #050505;
  border-top: 1px solid rgba(255,255,255,.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: .2em;
  color: rgba(255,255,255,.18);
}

.footer-links a {
  font-size: 10px;
  letter-spacing: .2em;
  color: rgba(255,255,255,.18);
  transition: color .2s;
}
.footer-links a:hover { color: rgba(255,255,255,.6); }

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-img {
    min-height: 50vw;
    max-height: 55vh;
  }
  .about-text {
    padding: 40px 28px 48px;
  }
}

@media (max-width: 600px) {
  .panel {
    position: relative;
    overflow: visible;
  }

  .gallery-item img {
    filter: brightness(1) opacity(1);
  }
  .gallery-item:hover img {
    transform: none;
    filter: brightness(1) opacity(1);
  }

  #nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-right .lang-toggle { display: none; }
  .nav-burger { display: flex; }

  .panel-label {
    font-size: clamp(42px, 16vw, 80px);
    padding: 12px 20px;
  }
  .gallery-scroll { padding: 28px 0 20px; }
  .gallery-item { height: 58vw; }
  .gallery-item:first-child { margin-left: 20px; }
  .gallery-item:last-child  { margin-right: 20px; }
  .ai-note { padding: 16px 20px 0; }
  .hero-logo { width: clamp(240px, 88vw, 480px); }
  footer { padding: 24px 20px; }
}
