/* ============================================================
   BCN-Wild — Premium African Wildlife Photography
   Porsche Black Edition Palette · Endless Zoom Architecture
   ============================================================ */

/* ── 1. TOKENS ─────────────────────────────────────────────── */
:root {
  --bg:        #111111;
  --white:     #FFFFFF;
  --silver:    #A3A3A3;
  --dim:       rgba(255,255,255,0.08);
  --overlay:   rgba(17,17,17,0.55);
  --border:    rgba(255,255,255,0.1);
  --font-sans:    'Lato', sans-serif;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --bone:         #F9F8F4;
  --white:        #F9F8F4;
  --yellow:    #ECC61C;
  --transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── 2. RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

::-webkit-scrollbar { display: none; }

body {
  background: var(--bg);
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
button { cursor: none; }
img { display: block; max-width: 100%; }

/* ── 3. CUSTOM CURSOR ───────────────────────────────────────── */
#bcn-cursor {
  position: fixed;
  width: 11px;
  height: 11px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
  mix-blend-mode: difference;
}

#bcn-cursor-dot {
  position: fixed;
  width: 5px;
  height: 5px;
  background: var(--white);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
}

body.cursor-hover #bcn-cursor {
  width: 19px;
  height: 19px;
  border-color: rgba(255,255,255,0.3);
}

body.cursor-hover #bcn-cursor-dot {
  transform: translate(-50%, -50%) scale(0);
}

/* ── 4. PAGE LOAD LINE ──────────────────────────────────────── */
.bcn-page-line {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 1px;
  background: var(--yellow);
  z-index: 99998;
  animation: lineEnter 1.2s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

@keyframes lineEnter {
  0%   { left: -100%; }
  100% { left: 100%; }
}

/* ── 5. NAVIGATION ──────────────────────────────────────────── */
.bcn-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px clamp(24px, 6vw, 80px);
  transition: padding var(--transition), background var(--transition);
}

.bcn-nav::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #0a0a0a;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bcn-nav.scrolled::after { opacity: 1; }
.bcn-nav.scrolled { padding: 20px clamp(24px, 6vw, 80px); }

/* Logo */
.bcn-logo {
  font-family: var(--font-serif);
  font-size: clamp(27px, 3vw, 33px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
  transition: opacity 0.3s ease;
}

.bcn-logo span {
  font-weight: 300;
  font-style: normal;
}

.bcn-logo:hover { opacity: 0.7; }

.bcn-logo img {
  height: clamp(38px, 4.21vw, 47px);
  width: auto;
  display: block;
}

.bcn-footer-logo img {
  height: clamp(38px, 4.9vw, 56px);
  width: auto;
  display: block;
}

/* Nav right */
.bcn-nav-right {
  display: flex;
  align-items: center;
  gap: 96px;
}

/* Desktop nav links — Gallery, Films, Expeditions */
.bcn-nav-links {
  display: flex;
  align-items: center;
  gap: 96px;
}

.bcn-nav-link {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  transition: color 0.3s ease;
}

.bcn-nav-link:hover {
  color: var(--yellow);
}

.bcn-nav-contact {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 9px 22px;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.bcn-nav-contact:hover {
  color: var(--bg);
  background: var(--yellow);
  border-color: var(--yellow);
}

/* Hamburger */
.bcn-hamburger {
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: none;
  border: none;
  padding: 4px;
}

.bcn-hamburger span {
  display: block;
  width: 26px;
  height: 1px;
  background: var(--white);
  transform-origin: center;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.bcn-hamburger.active span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.bcn-hamburger.active span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

/* ── 6. FULL-SCREEN MENU ────────────────────────────────────── */
.bcn-menu {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(20px);
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 80px 80px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.bcn-menu.active {
  opacity: 1;
  pointer-events: auto;
}

.bcn-menu-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
}

.bcn-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bcn-menu-link {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 38px);
  font-weight: 400;
  color: rgba(255,255,255,0.25);
  transition: color 0.3s ease, transform 0.3s ease;
  transform: translateY(0);
  display: inline-block;
}

.bcn-menu-link:hover {
  color: var(--yellow);
  transform: translateX(8px);
}

.bcn-menu-link[aria-current] {
  color: var(--yellow);
  opacity: 1;
}

.bcn-menu-meta {
  text-align: right;
}

.bcn-menu-tagline {
  font-size: 13px;
  color: var(--silver);
  line-height: 1.8;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.bcn-menu-socials {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

.bcn-menu-socials a {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  transition: color 0.3s ease;
}

.bcn-menu-socials a:hover { color: var(--white); }

/* ── 7. HERO — sticky zoom panel (first frame of Z-axis sequence) */
.bcn-hero {
  position: relative;
  height: 220vh; /* same travel as gallery panels */
}

.bcn-hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.bcn-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
  /* JS drives scale — same engine as .bcn-panel-img */
}

.bcn-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(17,17,17,0.85) 0%,
    rgba(17,17,17,0.2) 50%,
    rgba(17,17,17,0.1) 100%);
}

.bcn-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 0 80px clamp(60px, 8vh, 100px);
  will-change: opacity;
}

.bcn-hero-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 20px;
}

/* Legacy — kept for any residual refs */
.bcn-wordmark {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 130px);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

/* ── PRIMAL STILL — hero title reveal ──────────────────────── */
.bcn-primal-wrap {
  margin-bottom: 28px;
  line-height: 0.9;
}

.bcn-primal-mask {
  overflow: hidden;
  padding-bottom: 0.06em; /* prevents descender clip */
}

.bcn-primal-word {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(35px, 5.7vw, 82px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--bone);
  transform: translateY(110%);
  animation: bcn-word-rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(2.8s + var(--i, 0) * 0.18s);
}

@keyframes bcn-word-rise {
  to { transform: translateY(0); }
}

.bcn-hero-sub {
  font-size: clamp(14px, 1.2vw, 17px);
  color: rgba(255,255,255,0.65);
  font-weight: 400;
  letter-spacing: 0.04em;
  max-width: 400px;
  margin-bottom: 48px;
}

/* Scroll cue */
.bcn-scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.bcn-scroll-cue-text {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.bcn-scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: rgba(236,198,28,0.5);
  animation: scrollPulse 2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.3; }
  50% { transform: scaleY(0.4); opacity: 0.8; }
}

/* ── 8. ENDLESS ZOOM PANELS ─────────────────────────────────── */
.bcn-gallery { display: block; }

.bcn-panel {
  position: relative;
  height: 220vh;
}

.bcn-panel-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  will-change: transform;
}

.bcn-panel-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  will-change: transform;
  /* JS drives the scale — no CSS transition here */
}

.bcn-panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(17,17,17,0.7) 0%,
    transparent 40%);
  z-index: 1;
}

.bcn-panel-meta {
  position: absolute;
  bottom: 48px;
  left: 80px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bcn-panel-index {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
  font-variant-numeric: tabular-nums;
}

.bcn-panel-cat {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver);
}

.bcn-panel-loc {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  line-height: 1.2;
}

/* ── 9. CONTACT SECTION ─────────────────────────────────────── */
.bcn-contact-section {
  background: var(--bg);
  padding: clamp(80px, 12vh, 160px) 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bcn-contact-inner {
  width: 100%;
  max-width: 760px;
}

.bcn-contact-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--bone);
  margin-bottom: 64px;
}

.bcn-contact-title em {
  font-style: italic;
  color: var(--yellow);
}

/* Form */
.bcn-form { width: 100%; }

.bcn-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}

.bcn-field {
  position: relative;
  margin-bottom: 48px;
}

.bcn-field input,
.bcn-field textarea,
.bcn-field select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  padding: 12px 0;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.4s ease;
  cursor: none;
}

.bcn-field textarea {
  resize: none;
  min-height: 100px;
}

.bcn-field select option {
  background: #1a1a1a;
  color: var(--white);
}

.bcn-field input::placeholder,
.bcn-field textarea::placeholder {
  color: rgba(255,255,255,0.25);
  font-weight: 300;
}

/* Animated underline */
.bcn-field-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--yellow);
  transition: width 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.bcn-field input:focus ~ .bcn-field-line,
.bcn-field textarea:focus ~ .bcn-field-line,
.bcn-field select:focus ~ .bcn-field-line { width: 100%; }

.bcn-field input:focus,
.bcn-field textarea:focus,
.bcn-field select:focus { border-bottom-color: transparent; }

/* Select arrow */
.bcn-field--select { position: relative; }
.bcn-select-arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--silver);
  pointer-events: none;
  font-size: 18px;
}

/* Select placeholder color */
.bcn-field select.empty { color: rgba(255,255,255,0.25); }
.bcn-field select { color: rgba(255,255,255,0.25); }
.bcn-field select.filled { color: var(--white); }

/* Form footer */
.bcn-form-footer {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.bcn-submit {
  flex: 1;
  min-width: 200px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 18px 40px;
  border-radius: 100px;
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.bcn-submit:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--bg);
}

.bcn-form-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.03em;
}

.bcn-form-status {
  margin-top: 24px;
  font-size: 13px;
  letter-spacing: 0.05em;
  min-height: 20px;
  color: rgba(255,255,255,0.5);
}

.bcn-form-status.success { color: #7dbf82; }
.bcn-form-status.error   { color: #cf6679; }

/* ── 10. FOOTER ─────────────────────────────────────────────── */
.bcn-footer {
  background: #0a0a0a;
  padding: clamp(120px, 18vh, 220px) clamp(24px, 6vw, 80px) 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}

/* Main body: logo left, columns right */
.bcn-footer-main {
  display: flex;
  align-items: flex-start;
  gap: clamp(80px, 14vw, 220px);
  padding-bottom: clamp(80px, 14vh, 160px);
}

/* Brand column */
.bcn-footer-brand {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: stretch;
}

.bcn-footer-logo-img {
  height: clamp(22px, 2.6vw, 32px);
  width: auto;
  display: block;
  opacity: 0.85;
}

.bcn-footer-copyright {
  font-size: 11px;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.05em;
  margin-top: auto;
  padding-top: clamp(40px, 8vh, 80px);
}

/* Columns grid */
.bcn-footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 28px);
  flex: 1;
}

.bcn-footer-col {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2.2vh, 24px);
}

.bcn-footer-col-heading {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 10px;
}

.bcn-footer-col-link {
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  transition: color 0.25s ease;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.bcn-footer-col-link:hover { color: rgba(255,255,255,0.9); }

/* Base bar */
.bcn-footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 24px 0 clamp(32px, 4vh, 56px);
  gap: 16px;
  flex-wrap: wrap;
}

.bcn-footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.05em;
}

.bcn-footer-built {
  font-size: 11px;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.05em;
  transition: color 0.25s ease;
}

.bcn-footer-built:hover { color: var(--yellow); }

/* ── 11. SCROLL REVEAL ──────────────────────────────────────── */
.bcn-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.bcn-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 12. RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 992px) {
  .bcn-menu { padding: 100px 48px 64px; }
  .bcn-menu-inner { flex-direction: column; gap: 48px; align-items: flex-start; }
  .bcn-menu-meta { text-align: left; }
  .bcn-menu-socials { justify-content: flex-start; }
  /* footer is single-column centered — no override needed */
}

@media (max-width: 768px) {
  .bcn-nav { padding: 20px clamp(24px, 6vw, 80px); }
  .bcn-nav.scrolled { padding: 14px clamp(24px, 6vw, 80px); }
  .bcn-nav-contact { display: none; }
  .bcn-nav-links { display: none; }

  .bcn-hero-content { padding: 0 24px clamp(48px, 8vh, 80px); bottom: 0; }

  /* Primal Still — faster reveal, no loader on mobile */
  .bcn-primal-word {
    font-size: clamp(26px, 8.4vw, 48px);
    animation-delay: calc(0.4s + var(--i, 0) * 0.15s);
  }

  .bcn-wordmark { font-size: clamp(48px, 14vw, 80px); }

  .bcn-panel-meta { left: 24px; bottom: 32px; }
  .bcn-panel-loc { font-size: clamp(18px, 6vw, 28px); }

  .bcn-contact-section { padding: clamp(64px, 10vh, 100px) 24px; }
  .bcn-form-row { grid-template-columns: 1fr; gap: 0; }

  .bcn-menu { padding: 100px 24px 48px; }

  .bcn-footer { padding: clamp(48px, 7vh, 72px) 24px 0; }
  .bcn-footer-main { flex-direction: column; gap: 40px; }
  .bcn-footer-cols { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .bcn-footer-base { justify-content: flex-start; gap: 12px 24px; }
}

@media (max-width: 768px) {
  /* Strategy + Journal: 1.5× font increases — mobile only */
  .bcn-strategy-step-title { font-size: 26px; }
  .bcn-strategy-step-body  { font-size: 22px; }
  .bcn-journal-card-title  { font-size: 26px; }
  .bcn-journal-card-body   { font-size: 21px; }
}

@media (max-width: 480px) {
  .bcn-wordmark { font-size: clamp(40px, 16vw, 64px); }
  .bcn-primal-word { font-size: clamp(23px, 9.6vw, 36px); }
  .bcn-form-footer { flex-direction: column; align-items: stretch; }
  .bcn-submit { min-width: unset; text-align: center; }

  /* Scale back slightly on very small phones */
  .bcn-strategy-step-title { font-size: 22px; }
  .bcn-strategy-step-body  { font-size: 17px; }
  .bcn-journal-card-title  { font-size: 22px; }
  .bcn-journal-card-body   { font-size: 17px; }
}

/* ── 13. TOUCH DEVICES — disable cursor ─────────────────────── */
@media (hover: none) {
  body { cursor: auto; }
  button { cursor: pointer; }
  #bcn-cursor, #bcn-cursor-dot { display: none; }
}

/* ── 14. IRIS SLIDER — camera aperture transition ──────────── */
#bcn-iris-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #111111;
}

#bcn-iris-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.bcn-iris-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.03);
  filter: blur(10px);
  transition:
    opacity 2200ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 2200ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 2200ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.bcn-iris-slide.active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0px);
}

/* Iris overlay sits on top of all slides */
#bcn-iris-overlay {
  display: none;
}

/* Each blade: full-viewport div clipped to a triangular wedge */
.bcn-iris-blade {
  display: none;
}

/* 9 blades rotated 40deg apart */
.bcn-iris-blade[data-index="0"] { transform: rotate(0deg); }
.bcn-iris-blade[data-index="1"] { transform: rotate(40deg); }
.bcn-iris-blade[data-index="2"] { transform: rotate(80deg); }
.bcn-iris-blade[data-index="3"] { transform: rotate(120deg); }
.bcn-iris-blade[data-index="4"] { transform: rotate(160deg); }
.bcn-iris-blade[data-index="5"] { transform: rotate(200deg); }
.bcn-iris-blade[data-index="6"] { transform: rotate(240deg); }
.bcn-iris-blade[data-index="7"] { transform: rotate(280deg); }
.bcn-iris-blade[data-index="8"] { transform: rotate(320deg); }

.bcn-iris-blade.closing {
  clip-path: polygon(50% 50%, 20% -20%, 80% -20%);
  transition: clip-path 0.45s cubic-bezier(0.7, 0, 0.3, 1);
}

.bcn-iris-blade.closed {
  clip-path: polygon(50% 50%, -10% -10%, 110% -10%);
  transition: clip-path 0.35s cubic-bezier(0.7, 0, 0.3, 1);
}

.bcn-iris-blade.opening {
  clip-path: polygon(50% 50%, 45% 0%, 55% 0%);
  transition: clip-path 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Navigation arrows */
#bcn-iris-prev, #bcn-iris-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #ffffff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 20px;
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s;
}

#bcn-iris-prev:hover, #bcn-iris-next:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

#bcn-iris-prev { left: 40px; }
#bcn-iris-next { right: 40px; }

/* Dots */
#bcn-iris-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 10px;
}

.bcn-iris-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: none;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}

.bcn-iris-dot.active {
  background: var(--yellow);
  transform: scale(1.4);
}

/* Counter */
#bcn-iris-counter {
  position: absolute;
  bottom: 32px;
  right: 40px;
  z-index: 20;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(236,198,28,0.8);
}

@media (max-width: 768px) {
  #bcn-iris-prev { left: 16px; width: 40px; height: 40px; }
  #bcn-iris-next { right: 16px; width: 40px; height: 40px; }
}

/* ── 15. ABOUT SECTION — wipes up from below ────────────────── */
.bcn-about-section {
  position: relative;
  height: 200vh;
}

.bcn-about-wipe {
  position: sticky;
  top: 0;
  height: 100vh;
  background: #ffffff;
  clip-path: inset(100% 0 0 0);
  will-change: clip-path;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 3px solid var(--yellow);
}

.bcn-about-inner {
  max-width: 720px;
  width: 100%;
  text-align: center;
  padding: 0 48px;
}

.bcn-about-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
  margin-bottom: 36px;
}

.bcn-about-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #111111;
  margin-bottom: 52px;
}

.bcn-about-body {
  font-size: clamp(14px, 1.1vw, 17px);
  color: rgba(0,0,0,0.6);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.015em;
  margin-bottom: 28px;
}

.bcn-about-body:last-child { margin-bottom: 0; }

/* Responsive — about ── */
@media (max-width: 768px) {
  .bcn-about-inner { padding: 0 24px; }
  .bcn-about-title { font-size: clamp(28px, 7vw, 44px); }
}

/* ── 17. LENS — ykproduce.co.jp style ───────────────────────── */
/*
  Large white circle + mix-blend-mode: difference
  → over dark bg  : circle shows as white fill
  → over white text: text shows as dark (inverted)
  → over images   : colors invert in the circle
  This is the authentic ykproduce.co.jp lens effect.
*/
#bcn-lens-home {
  position: fixed;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #ffffff;
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 9990;           /* above content, below cursor dot */
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease,
              width  0.5s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: left, top, transform;
}

/* Show after first mouse move */
body.bcn-lens-ready #bcn-lens-home { opacity: 1; }

/* Shrink when over interactive elements (so cursor ring still readable) */
body.cursor-hover #bcn-lens-home {
  width: 21px;
  height: 21px;
}

@media (hover: none) {
  #bcn-lens-home { display: none; }
}

/* ── 18. PARTNERS TICKER ────────────────────────────────────── */
.bcn-partners {
  position: relative;
  overflow: hidden;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

/* Fade edges */
.bcn-partners::before,
.bcn-partners::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 180px;
  z-index: 2;
  pointer-events: none;
}
.bcn-partners::before {
  left: 0;
  background: linear-gradient(to right, #111111 0%, transparent 100%);
}
.bcn-partners::after {
  right: 0;
  background: linear-gradient(to left, #111111 0%, transparent 100%);
}

.bcn-partners-track {
  display: flex;
  white-space: nowrap;
  width: 100%;
}

.bcn-partners-inner {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  animation: bcn-ticker-scroll 28s linear infinite;
  will-change: transform;
}

/* Pause on hover */
.bcn-partners:hover .bcn-partners-inner {
  animation-play-state: paused;
}

@keyframes bcn-ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.bcn-partner-logo {
  height: 22px;
  width: auto;
  object-fit: contain;
  filter: invert(1) brightness(2);
  opacity: 0.6;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
}

.bcn-partner-logo:hover {
  opacity: 1;
}

.bcn-partner-logo-text {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.bcn-partner-logo-text:hover {
  color: rgba(255,255,255,0.9);
}

/* === LOADER === */
/*
  Full-screen intro animation — 4 steps:
  1. Black screen + white "BCN-Wild" text
  2. Cream wipe sweeps L→R over the text (colour flips white → dark)
  3. Background turns cream; hero image fades in to the right
  4. Image expands to fill viewport; loader fades out
*/
#bcn-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #ffffff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5vw;
  pointer-events: all;
  overflow: hidden;
}

/* Text wrap — centered as flex item, no margin or offset */
#bcn-loader-text-wrap {
  position: relative;
  display: block;
  line-height: 1;
  flex-shrink: 0;
  margin: 0;
}

/* Shared style for both logo layers */
#bcn-loader-text-back,
#bcn-loader-text-front {
  line-height: 1;
  display: block;
}

/* Logo image sizing — matches original text scale */
#bcn-loader-text-back img,
#bcn-loader-text-front img {
  height: clamp(44px, 6.5vw, 88px);
  width: auto;
  display: block;
}

/* Back layer: logo shows in its natural colours on dark background */
#bcn-loader-text-back {
  color: #ffffff;
}

/* Cream wipe rectangle — width animated 0 → full logo width by JS */
#bcn-loader-wipe {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;           /* JS animates this */
  overflow: hidden;
  background: #f9f8f5;
}

/* Front layer: logo darkened to read on cream background */
#bcn-loader-text-front {
  white-space: nowrap;
}

#bcn-loader-text-front img {
  filter: brightness(0);
}

/* Hero image — flex item, starts at width 0 (invisible), grows to 38vw when revealed */
#bcn-loader-img-wrap {
  position: relative;
  flex-shrink: 0;
  width: 0;
  height: 60vh;
  border-radius: 8px;
  overflow: hidden;
  opacity: 0;
  /* transitions applied by JS at the right moment */
}

#bcn-loader-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  display: block;
}

/* Skip loader on mobile entirely */
@media (max-width: 767px) {
  #bcn-loader { display: none !important; }
}

/* === INTEGRATED FOOTER CTA === */
.bcn-footer-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(80px, 11vh, 130px) 0 clamp(60px, 8vh, 96px);
  gap: 36px;
}

.bcn-footer-cta-heading {
  font-family: var(--font-display);
  font-size: clamp(18px, 3.2vw, 46px);
  font-weight: 600;
  color: var(--bone);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.bcn-footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(249,248,244,0.08);
  margin-bottom: clamp(48px, 7vh, 80px);
}

.bcn-cta-pill {
  display: inline-flex;
  padding: 18px 42px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #ffffff;
  text-transform: uppercase;
  transition: all 0.4s ease;
  background: transparent;
  backdrop-filter: blur(5px);
}

.bcn-cta-pill:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #111111;
}

@media (max-width: 768px) {
  .bcn-footer-cta { gap: 28px; }
  .bcn-cta-pill { font-size: 11px; padding: 14px 28px; }
  .bcn-partners::before,
  .bcn-partners::after { width: 80px; }
}

/* ── 19. FOCUS RING SCROLLBAR ──────────────────────────────── */
#bcn-scroll-focus-ring {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 350px;
  z-index: 9995;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: difference;
}

#bcn-focus-track {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  will-change: transform;
}

.bcn-focus-line {
  height: 1px;
  width: 12px;
  background: #FFFFFF;
  opacity: 0.3;
  transition: width 0.3s ease, opacity 0.3s ease;
}

.bcn-focus-line.major {
  width: 22px;
  opacity: 0.6;
}

.bcn-focus-active-marker {
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 2px;
  background: #FF0000;
  z-index: 2;
}

.bcn-focus-label {
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: #FFFFFF;
  text-transform: uppercase;
  font-weight: 400;
}

@media (max-width: 768px) {
  #bcn-scroll-focus-ring { display: none; }
}

/* ── 20. STRATEGY OF THE SHOT ───────────────────────────────── */
.bcn-strategy-section {
  background: var(--bg);
  padding: clamp(100px, 15vh, 180px) 80px;
  border-top: 1px solid var(--border);
}

.bcn-strategy-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.bcn-strategy-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 28px;
}

.bcn-strategy-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 76px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--bone);
  margin-bottom: 40px;
  max-width: 640px;
}

.bcn-strategy-intro {
  font-size: clamp(15px, 1.2vw, 18px);
  color: rgba(249,248,244,0.55);
  font-weight: 400;
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 80px;
  letter-spacing: 0.01em;
}

.bcn-strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.bcn-strategy-step {
  background: var(--bg);
  padding: 48px 40px;
  position: relative;
}

.bcn-strategy-num {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.15em;
  color: var(--yellow);
  margin-bottom: 28px;
  text-transform: uppercase;
}

.bcn-strategy-step-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--bone);
  margin-bottom: 20px;
  line-height: 1.2;
}

.bcn-strategy-step-body {
  font-size: 15px;
  color: rgba(249,248,244,0.45);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

@media (max-width: 992px) {
  .bcn-strategy-grid { grid-template-columns: 1fr; }
  .bcn-strategy-section { padding: clamp(80px, 12vh, 120px) 48px; }
}

@media (max-width: 768px) {
  .bcn-strategy-section { padding: clamp(64px, 10vh, 100px) 24px; }
  .bcn-strategy-step { padding: 36px 24px; }
}

/* ── 21. THE JOURNAL ────────────────────────────────────────── */
.bcn-journal-section {
  background: var(--bg);
  padding: clamp(100px, 15vh, 180px) 80px;
  border-top: 1px solid var(--border);
}

.bcn-journal-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.bcn-journal-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 28px;
}

.bcn-journal-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 76px);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--bone);
  margin-bottom: 72px;
  line-height: 1.05;
}

.bcn-journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.bcn-journal-card {
  background: var(--bg);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.4s ease;
}

.bcn-journal-card:hover {
  background: rgba(255,255,255,0.02);
}

.bcn-journal-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
}

.bcn-journal-card-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--bone);
  line-height: 1.25;
  flex: 1;
}

.bcn-journal-card-body {
  font-size: 14px;
  color: rgba(249,248,244,0.45);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.bcn-journal-read {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(249,248,244,0.35);
  margin-top: 8px;
  transition: color 0.3s ease;
}

.bcn-journal-card:hover .bcn-journal-read {
  color: var(--yellow);
}

@media (max-width: 992px) {
  .bcn-journal-grid { grid-template-columns: 1fr; }
  .bcn-journal-section { padding: clamp(80px, 12vh, 120px) 48px; }
}

@media (max-width: 768px) {
  .bcn-journal-section { padding: clamp(64px, 10vh, 100px) 24px; }
  .bcn-journal-card { padding: 36px 24px; }
}

/* ── 22. CINEMATIC DECK ─────────────────────────────────────── */

/* Section wrapper — pure black canvas */
.bcn-cinematic-section {
  background: #000000;
  position: relative;
}

/*
  Scroll space: 7 × 100vh
  — gives 5 × 100vh of sticky travel (one step per card)
  — page unlocks naturally when scroll exits the bottom
*/
.bcn-deck-scroll-space {
  height: calc(6 * 100vh);
  position: relative;
}

/* Sticky stage: pins to viewport for the full scroll travel */
.bcn-deck-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #000000;
}

/* ── CARDS ─────────────────────────────────────────────────── */

/*
  All 6 cards occupy the same floating rectangle.
  z-index is set per nth-child so card 1 starts on top.
  Cards below the active one are already at opacity:1, scale(1),
  so they're revealed the moment the active card fades.
*/
.bcn-deck-card {
  position: absolute;
  top: 6vh;
  left: 8vw;
  right: 8vw;
  bottom: 6vh;
  overflow: hidden;
  opacity: 1;
  transform: scale(1);
  transform-origin: center center;
  will-change: transform, opacity;
  transition:
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    opacity   0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Natural stack — card 1 highest z-index */
.bcn-deck-card:nth-child(1) { z-index: 16; }
.bcn-deck-card:nth-child(2) { z-index: 15; }
.bcn-deck-card:nth-child(3) { z-index: 14; }
.bcn-deck-card:nth-child(4) { z-index: 13; }
.bcn-deck-card:nth-child(5) { z-index: 12; }

/* Dismissed state: shrinks and fades, revealing card below */
.bcn-deck-card.bcn-deck--out {
  opacity: 0;
  transform: scale(0.92);
}

/* ── CARD INNER CONTENT ────────────────────────────────────── */

.bcn-deck-card .bcn-panel-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  /* no JS-driven scale here — deck engine owns these cards */
}

.bcn-deck-card .bcn-panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.1)  45%,
    transparent      100%);
  z-index: 1;
}

.bcn-deck-card .bcn-panel-meta {
  position: absolute;
  bottom: 44px;
  left: 56px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  /* Override any inline opacity set by the old zoom engine */
  opacity: 1 !important;
}

/* ── CONTOUR BORDER ────────────────────────────────────────── */

.bcn-contour {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 3;
  pointer-events: none;
}

/* ── PROGRESS DOTS ─────────────────────────────────────────── */

.bcn-deck-dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 9px;
  align-items: center;
}

.bcn-deck-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  transition: background 0.35s ease, transform 0.35s ease;
  display: block;
}

.bcn-deck-dot.bcn-deck-dot--active {
  background: var(--yellow);
  transform: scale(1.5);
}

/* ── COUNTER ───────────────────────────────────────────────── */

.bcn-deck-counter {
  position: absolute;
  bottom: 26px;
  right: calc(8vw + 16px); /* flush with card right edge */
  z-index: 20;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(249, 248, 244, 0.42);
  font-weight: 400;
  white-space: nowrap;
}

/* ── RESPONSIVE ────────────────────────────────────────────── */

@media (max-width: 768px) {
  .bcn-deck-card {
    top: 4vh;
    left: 4vw;
    right: 4vw;
    bottom: 4vh;
  }

  .bcn-contour {
    inset: 8px;
  }

  .bcn-deck-card .bcn-panel-meta {
    left: 24px;
    bottom: 28px;
  }

  .bcn-deck-counter {
    right: calc(4vw + 10px);
  }
}

@media (max-width: 480px) {
  .bcn-deck-scroll-space {
    height: calc(5.5 * 100vh);
  }
}

/* ============================================================
   FLOATING GALLERY
   ============================================================ */

.bcn-float-gallery {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: var(--bg);
}

.bcn-float-field {
  position: relative;
  width: 100%;
  height: 100%;
}

.bcn-float-item {
  position: absolute;
  transform: rotate(var(--rot, 0deg)) scaleX(var(--flip, 1));
  cursor: pointer;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease;
  will-change: transform;
}

.bcn-float-item:hover,
.bcn-float-item:focus-visible {
  transform: rotate(var(--rot, 0deg)) scaleX(var(--flip, 1)) scale(1.06);
  box-shadow: 0 16px 56px rgba(0, 0, 0, 0.75);
  z-index: 10;
  outline: none;
}

.bcn-float-inner {
  animation: bcn-float-anim 7s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes bcn-float-anim {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

.bcn-float-item img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  pointer-events: none;
}

/* ── LIGHTBOX ─────────────────────────────────────────────── */

.bcn-float-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.bcn-float-lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

.bcn-float-lb-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.bcn-float-lb-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease;
  z-index: 9001;
}

.bcn-float-lb-close:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* ── MOBILE ────────────────────────────────────────────────── */

@media (max-width: 768px) {
  /* Scale all items down so chaos still fills the screen without clipping too aggressively */
  .bcn-float-item { min-width: 38vw; }
  .bcn-float-item[style*="width:38vw"],
  .bcn-float-item[style*="width:34vw"],
  .bcn-float-item[style*="width:32vw"],
  .bcn-float-item[style*="width:31vw"],
  .bcn-float-item[style*="width:30vw"] {
    width: 52vw !important;
  }
}
