/* ═══════════════════════════════════════
   Editorial Project Page — Bear My Brand
   ═══════════════════════════════════════ */

/* Override global cursor:none for all interactive elements on these pages */
.ep-breadcrumb a,
.ep-sidebar__cta,
.ep-nav__link,
.ep-top-btn,
.ep-lb__close,
.ep-gallery__cell[data-src],
.ep-gallery__cell[data-src] img {
  cursor: pointer !important;
}

/* BREADCRUMB */
.ep-breadcrumb {
  padding: 104px var(--gutter, 6vw) 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #000;
}
.ep-breadcrumb a {
  font-family: 'Barlow', sans-serif;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  text-decoration: none;
  transition: color .3s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ep-breadcrumb a:hover { color: #fff; }
.ep-breadcrumb .ep-sep { color: rgba(255,255,255,.15); font-size: 11px; }
.ep-breadcrumb .ep-crumb-cur {
  font-family: 'Barlow', sans-serif;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #1b70bb;
}

/* HERO */
.ep-hero {
  background: #000;
  padding: 40px var(--gutter, 6vw) 64px;
}
.ep-hero__num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.18);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ep-hero__num::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: #1b70bb;
  flex-shrink: 0;
}
.ep-hero__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(42px, 7.5vw, 100px);
  line-height: .9;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 32px;
  max-width: 960px;
}
.ep-hero__title span { color: #1b70bb; }
.ep-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.ep-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 2px;
}
.ep-tag--blue {
  background: rgba(27,112,187,.12);
  border: 1px solid rgba(27,112,187,.28);
  color: #1b70bb;
}
.ep-tag--dim {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  color: rgba(255,255,255,.45);
}

/* COVER IMAGE */
.ep-cover {
  width: 100%;
  background: #0a0f18;
  overflow: hidden;
  max-height: 640px;
  line-height: 0;
}
.ep-cover img {
  width: 100%;
  max-height: 640px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* CONTENT GRID */
.ep-content {
  background: #060a10;
  padding: 80px var(--gutter, 6vw);
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: start;
}

/* MAIN COPY */
.ep-main__label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #1b70bb;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ep-main__label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: #1b70bb;
  flex-shrink: 0;
}
.ep-main h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 34px);
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 22px;
  line-height: 1.08;
  letter-spacing: .02em;
}
.ep-main p {
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255,255,255,.58);
  margin-bottom: 16px;
}
.ep-main ul {
  padding: 0;
  list-style: none;
  margin: 28px 0 0;
}
.ep-main ul li {
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.5);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.ep-main ul li:first-child { border-top: 1px solid rgba(255,255,255,.05); }
.ep-main ul li::before {
  content: '→';
  color: #1b70bb;
  font-size: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* SIDEBAR */
.ep-sidebar {
  position: sticky;
  top: 88px;
}
.ep-sidebar__card {
  background: rgba(255,255,255,.028);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 2px;
  padding: 28px;
}
.ep-sidebar__row {
  margin-bottom: 24px;
}
.ep-sidebar__row:last-of-type { margin-bottom: 0; }
.ep-sidebar__lbl {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.22);
  margin-bottom: 5px;
}
.ep-sidebar__val {
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.78);
  line-height: 1.5;
}
.ep-sidebar__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
}
.ep-sidebar__tool {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  background: rgba(27,112,187,.1);
  border: 1px solid rgba(27,112,187,.22);
  color: rgba(27,112,187,.9);
}
.ep-sidebar__hr {
  height: 1px;
  background: rgba(255,255,255,.06);
  margin: 22px 0;
}
.ep-sidebar__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: #1b70bb;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background .3s, transform .25s;
  margin-top: 18px;
  cursor: pointer !important;
  pointer-events: auto !important;
}
.ep-sidebar__cta:hover {
  background: #155fa0;
  transform: translateY(-2px);
}

/* GALLERY */
.ep-gallery {
  background: #000;
  padding: 80px var(--gutter, 6vw);
  border-top: 1px solid rgba(255,255,255,.05);
}
.ep-gallery__label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #1b70bb;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ep-gallery__label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: #1b70bb;
  flex-shrink: 0;
}
.ep-gallery__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 4vw, 52px);
  text-transform: uppercase;
  color: #fff;
  line-height: .95;
  margin-bottom: 48px;
}
.ep-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ep-gallery__cell {
  aspect-ratio: 4 / 3;
  background: #0a0f18;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
  border: 1px solid rgba(255,255,255,.06);
}
.ep-gallery__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .55s ease;
}
.ep-gallery__cell:hover img { transform: scale(1.05); }
.ep-gallery__ph {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,.12);
  position: absolute;
  inset: 0;
}
.ep-gallery__ph i { font-size: 28px; }
.ep-gallery__ph span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* PROJECT NAVIGATION */
.ep-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #060a10;
  border-top: 1px solid rgba(255,255,255,.06);
}
.ep-nav__link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 40px var(--gutter, 6vw);
  text-decoration: none;
  transition: background .3s;
  cursor: pointer !important;
}
.ep-nav__link:hover { background: rgba(255,255,255,.04); }
.ep-nav__link--next {
  text-align: right;
  align-items: flex-end;
  border-left: 1px solid rgba(255,255,255,.06);
}
.ep-nav__dir {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.22);
  display: flex;
  align-items: center;
  gap: 7px;
}
.ep-nav__link--next .ep-nav__dir { flex-direction: row-reverse; }
.ep-nav__name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(15px, 2vw, 21px);
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
  transition: color .3s;
}
.ep-nav__link:hover .ep-nav__name { color: #1b70bb; }
.ep-nav__type {
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,.28);
}
.ep-nav__link--empty {
  opacity: 0;
  pointer-events: none;
  padding: 0 !important;
}

/* BACK TO TOP */
.ep-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: #1b70bb;
  border: none;
  border-radius: 2px;
  cursor: pointer !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 17px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity .35s, transform .35s, background .3s;
  z-index: 500;
}
.ep-top-btn.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.ep-top-btn:hover { background: #155fa0; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .ep-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 56px var(--gutter, 5vw);
  }
  .ep-sidebar { position: static; }
  .ep-gallery__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .ep-hero__title { font-size: clamp(36px, 10vw, 64px); }
  .ep-gallery { padding: 56px var(--gutter, 5vw); }
  .ep-gallery__grid { grid-template-columns: 1fr; gap: 10px; }
  .ep-nav { grid-template-columns: 1fr; }
  .ep-nav__link--next {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,.06);
    text-align: left;
    align-items: flex-start;
  }
  .ep-nav__link--next .ep-nav__dir { flex-direction: row; }
  .ep-top-btn { bottom: 18px; right: 14px; width: 42px; height: 42px; }
}

/* LIGHTBOX */
.ep-lb {
  position: fixed;
  inset: 0;
  z-index: 9800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.ep-lb.open {
  opacity: 1;
  pointer-events: auto;
}
.ep-lb__bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.93);
  cursor: zoom-out;
}
.ep-lb__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 2px;
  color: #fff;
  font-size: 18px;
  cursor: pointer !important;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background .25s;
}
.ep-lb__close:hover { background: rgba(255,255,255,.18); }
.ep-lb__img {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
  transform: scale(.88);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 32px 80px rgba(0,0,0,.6);
}
.ep-lb.open .ep-lb__img {
  transform: scale(1);
}
.ep-gallery__cell[data-src] {
  cursor: zoom-in !important;
}

