/* ==========================================================================
   Motion Peak — Stylesheet
   Type system: Anton (display) + Space Grotesk (body) + Instrument Serif (italic accents)
   ========================================================================== */

:root {
  --peak-yellow:       #F4B82A;
  --peak-yellow-warm:  #F2A516;
  --peak-yellow-soft:  #FFF1C2;
  --peak-black:        #0A0A0A;
  --peak-ink:          #161616;
  --peak-graphite:     #2a2a28;
  --peak-grey:         #6b6a64;
  --peak-grey-soft:    #a8a59c;
  --peak-line:         #e2decf;
  --peak-cream:        #F4EFE2;
  --peak-cream-dark:   #ECE5D2;
  --peak-white:        #ffffff;

  --shadow-sm: 0 2px 10px rgba(10, 10, 10, 0.06);
  --shadow-md: 0 14px 36px rgba(10, 10, 10, 0.14);
  --shadow-lg: 0 28px 70px rgba(10, 10, 10, 0.28);

  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--peak-ink);
  background: var(--peak-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ----- Typography ----- */
.display,
h1, h2, h3, h4 {
  font-family: 'Anton', 'Bebas Neue', Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.95;
  margin: 0 0 0.4em;
  color: var(--peak-black);
}

h1 { font-size: clamp(3rem, 9vw, 7rem); letter-spacing: -0.005em; line-height: 0.88; }
h2 { font-size: clamp(2rem, 4.5vw, 3.6rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }

.serif-italic {
  font-family: 'Instrument Serif', 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ==========================================================================
   Custom cursor (pointer-fine devices only)
   ========================================================================== */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--peak-white);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate(-100px, -100px);
  transition:
    width 220ms var(--ease-out-expo),
    height 220ms var(--ease-out-expo),
    background 180ms var(--ease),
    border-radius 200ms var(--ease);
  display: none;
  will-change: transform;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cursor__text {
  font-family: 'Anton', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--peak-black);
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 180ms var(--ease), transform 220ms var(--ease-out-expo);
}

@media (pointer: fine) {
  .cursor { display: flex; }
  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button,
  body.has-custom-cursor .gallery__item { cursor: none; }
}

@media not all and (pointer: fine) {
  .cursor { display: none; }
}

.cursor.is-hover {
  width: 60px;
  height: 60px;
  background: var(--peak-yellow);
  mix-blend-mode: normal;
}

.cursor.is-text {
  width: auto;
  min-width: 86px;
  padding: 0 18px;
  height: 42px;
  background: var(--peak-yellow);
  mix-blend-mode: normal;
}

.cursor.is-text .cursor__text {
  opacity: 1;
  transform: scale(1);
}

.cursor.is-plus {
  width: 64px;
  height: 64px;
  background: var(--peak-yellow);
  mix-blend-mode: normal;
}

.cursor.is-plus .cursor__text {
  opacity: 1;
  transform: scale(1);
  font-size: 1.5rem;
  letter-spacing: 0;
}

/* ==========================================================================
   Scroll progress bar
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--peak-yellow);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 100;
  will-change: transform;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 239, 226, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.15rem;
  color: var(--peak-black);
  transition: opacity 200ms var(--ease);
}
.brand:hover { opacity: 0.7; }

.brand img,
.brand svg {
  height: 38px;
  width: auto;
  display: block;
}

.brand__text { display: none; }
@media (min-width: 720px) { .brand__text { display: inline; } }

.nav-primary {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-primary a {
  position: relative;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--peak-ink);
}

.nav-primary a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: var(--peak-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease-out-expo);
}

.nav-primary a:hover::after,
.nav-primary a.is-active::after { transform: scaleX(1); }

.nav-primary .nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
  margin-left: 8px;
  background: transparent;
}

.nav-primary .nav-icon::after { display: none; }

/* ----- Instagram interactive icon ----- */
.nav-instagram__handle {
  position: absolute;
  right: calc(100% + 6px);
  top: 50%;
  transform: translate(10px, -50%);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  color: var(--peak-black);
  background: var(--peak-yellow);
  padding: 7px 13px;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(244, 184, 42, 0.32);
  transition:
    opacity 280ms var(--ease),
    transform 420ms var(--ease-out-expo);
}

.nav-instagram:hover .nav-instagram__handle {
  opacity: 1;
  transform: translate(0, -50%);
}

.nav-instagram__glyph {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 320ms var(--ease-out-expo);
}

.nav-instagram:hover .nav-instagram__glyph { transform: scale(1.06); }

/* Story-style rotating gradient ring (revealed on hover) */
.nav-instagram__glyph::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #F4B82A 0deg,
    #F2A516 90deg,
    #FFD86E 180deg,
    #F4B82A 270deg,
    #F4B82A 360deg
  );
  opacity: 0;
  z-index: 0;
  transition: opacity 320ms var(--ease);
}

.nav-instagram:hover .nav-instagram__glyph::before {
  opacity: 1;
  animation: navIgRingSpin 3.4s linear infinite;
}

/* Inner mask so the gradient renders as a ring, not a solid disc */
.nav-instagram__glyph::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--peak-cream);
  z-index: 1;
  transition: background 280ms var(--ease);
}

.nav-instagram:hover .nav-instagram__glyph::after {
  background: var(--peak-yellow);
}

.nav-instagram__glyph svg {
  position: relative;
  z-index: 2;
  width: 20px;
  height: 20px;
  display: block;
  color: var(--peak-ink);
  transition: color 280ms var(--ease);
}

.nav-instagram:hover .nav-instagram__glyph svg { color: var(--peak-black); }

/* Idle pulse on the corner dot */
.nav-instagram__dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: navIgDotPulse 2.6s ease-in-out infinite;
}

@keyframes navIgDotPulse {
  0%, 70%, 100% { transform: scale(1); opacity: 1; }
  82% { transform: scale(1.7); opacity: 0.7; }
}

@keyframes navIgRingSpin {
  to { transform: rotate(360deg); }
}

/* Click-burst rings (created by JS) */
.ig-burst {
  position: fixed;
  width: 38px;
  height: 38px;
  margin: 0;
  border-radius: 50%;
  border: 2px solid var(--peak-yellow);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%) scale(0.6);
  animation: igBurst 900ms var(--ease-out-expo) forwards;
}

@keyframes igBurst {
  0%   { transform: translate(-50%, -50%) scale(0.6); opacity: 1; border-width: 2.5px; }
  60%  { opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(5);   opacity: 0; border-width: 1px; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-instagram__dot { animation: none; }
  .nav-instagram:hover .nav-instagram__glyph::before { animation: none; }
  .ig-burst { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(80px, 14vw, 180px) 0 clamp(70px, 11vw, 140px);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 60px;
  }
}

.hero__title {
  font-size: clamp(3.4rem, 12vw, 9.5rem);
  margin: 0 0 26px;
  line-height: 0.86;
}

.hero__title .row {
  display: block;
  overflow: hidden;
  padding-bottom: 0.04em;
}

.hero__title .accent {
  font-family: 'Instrument Serif', 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--peak-yellow-warm);
  letter-spacing: -0.02em;
  display: inline-block;
  margin-right: 0.05em;
}

.hero__lead {
  max-width: 480px;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: var(--peak-grey);
  margin: 0;
}

.hero__logo-wrap {
  display: flex;
  justify-content: center;
}

.hero__logo {
  width: clamp(180px, 25vw, 260px);
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.10));
  animation: fadeUp 900ms 200ms var(--ease-out-expo) both;
  will-change: transform;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Letter-stagger animation (run by JS via .letter spans) */
.letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  animation: letterIn 900ms var(--ease-out-expo) both;
  will-change: transform, opacity;
}

@keyframes letterIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Picker (minimal text-link selector)
   ========================================================================== */
.picker {
  padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 6vw, 90px);
}

.picker__list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--peak-line);
  border-bottom: 1px solid var(--peak-line);
}

.picker__item-wrap + .picker__item-wrap {
  border-top: 1px solid var(--peak-line);
}

.picker__item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  column-gap: 28px;
  padding: clamp(28px, 4.5vw, 56px) 0;
  position: relative;
  transition: padding 360ms var(--ease-out-expo);
}

.picker__index {
  font-family: 'Anton', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  color: var(--peak-grey);
  align-self: start;
  margin-top: 0.5em;
  transition: color 320ms var(--ease);
}

.picker__title-block {
  min-width: 0;
}

.picker__title {
  display: block;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 8vw, 6.4rem);
  line-height: 0.92;
  color: var(--peak-black);
  letter-spacing: 0.005em;
  transition: transform 500ms var(--ease-out-expo), color 320ms var(--ease);
}

.picker__title em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  text-transform: none;
  color: var(--peak-yellow-warm);
}

.picker__sub {
  display: block;
  margin-top: 14px;
  font-size: 0.75rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--peak-grey);
}

.picker__arrow-zone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  margin: -24px;
}

.picker__arrow {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--peak-black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--peak-line);
  transition:
    background 360ms var(--ease),
    color 360ms var(--ease),
    border-color 360ms var(--ease);
  will-change: transform;
}

.picker__item:hover .picker__arrow {
  background: var(--peak-yellow);
  border-color: var(--peak-yellow);
  color: var(--peak-black);
}

.picker__item:hover .picker__index {
  color: var(--peak-yellow-warm);
}

.picker__item:hover .picker__title {
  transform: translateX(14px);
}

/* Yellow underline reveal at the bottom of each item */
.picker__item::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--peak-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 600ms var(--ease-out-expo);
}

.picker__item:hover::after { transform: scaleX(1); }

@media (max-width: 640px) {
  .picker__item { grid-template-columns: 36px 1fr 48px; column-gap: 16px; }
  .picker__arrow { width: 48px; height: 48px; }
}

/* ----- Picker hover image preview (cursor-follow) ----- */
.picker__preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity 280ms var(--ease);
  will-change: transform;
}

.picker__item:hover .picker__preview { opacity: 1; }

.picker__preview-slot {
  position: absolute;
  top: -110px;
  left: -130px;
  width: 260px;
  height: 200px;
  --rotation: calc((var(--i) - 1.5) * 5deg);
  transform: rotate(var(--rotation)) translateY(50px) scale(0.7);
  opacity: 0;
  transition:
    transform 600ms var(--ease-out-expo),
    opacity 360ms var(--ease);
  transition-delay: calc((3 - var(--i)) * 50ms);
}

.picker__item:hover .picker__preview-slot {
  transform: rotate(var(--rotation)) translateY(0) scale(1);
  opacity: 1;
  transition-delay: calc(var(--i) * 70ms);
}

.picker__preview-card {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
  display: block;
}

.picker__preview-card--placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--peak-black);
  color: var(--peak-yellow);
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 1rem;
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(244, 184, 42, 0.2);
}

@media (max-width: 760px) {
  .picker__preview { display: none; }
}

/* ==========================================================================
   Off-camera band — Projects callout on the homepage
   ========================================================================== */
.off-camera {
  background: var(--peak-black);
  color: var(--peak-white);
}

.off-camera__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding-top: clamp(54px, 8vw, 104px);
  padding-bottom: clamp(54px, 8vw, 104px);
  align-items: center;
}
@media (min-width: 900px) {
  .off-camera__inner {
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
  }
}

.off-camera__tag {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.76rem;
  color: var(--peak-yellow);
  margin-bottom: 20px;
}
.off-camera__tag::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--peak-yellow);
  animation: offCamPulse 2.6s ease-in-out infinite;
}
@keyframes offCamPulse {
  0%, 70%, 100% { opacity: 1; transform: scale(1); }
  85% { opacity: 0.45; transform: scale(1.6); }
}

.off-camera__title {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.88;
  color: var(--peak-white);
  margin: 0;
}

.off-camera__body p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.06rem;
  margin: 0 0 28px;
  max-width: 440px;
}
.off-camera__body p b {
  color: var(--peak-white);
  font-weight: 700;
}

.off-camera__cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.92rem;
  color: var(--peak-yellow);
}

.off-camera__arrow-zone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  margin: -16px;
}
.off-camera__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-family: 'Anton', sans-serif;
  font-size: 1.45rem;
  color: var(--peak-white);
  transition:
    background 320ms var(--ease),
    color 320ms var(--ease),
    border-color 320ms var(--ease);
  will-change: transform;
}
.off-camera__inner:hover .off-camera__arrow {
  background: var(--peak-yellow);
  border-color: var(--peak-yellow);
  color: var(--peak-black);
}

/* ==========================================================================
   Section headings (interior pages)
   ========================================================================== */
.section {
  padding: clamp(40px, 6vw, 80px) 0;
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 38px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--peak-line);
}

.section__title {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
}

.section__title em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--peak-yellow-warm);
}

.section__tagline {
  color: var(--peak-grey);
  max-width: 540px;
  margin: 8px 0 0;
  font-size: 1rem;
}

.kicker {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--peak-yellow-warm);
  margin-bottom: 12px;
  font-weight: 700;
}

/* ==========================================================================
   Sub navigation (categories)
   ========================================================================== */
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(244, 239, 226, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--peak-line);
}

.subnav__inner {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0;
}

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

.subnav button {
  position: relative;
  flex: 0 0 auto;
  background: transparent;
  border: 0;
  padding: 16px 18px 16px;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 1rem;
  color: var(--peak-grey);
  cursor: pointer;
  transition: color 200ms var(--ease);
  white-space: nowrap;
}

.subnav button::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 8px;
  height: 2px;
  background: var(--peak-yellow);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 320ms var(--ease-out-expo);
}

.subnav button:hover { color: var(--peak-black); }
.subnav button.is-active { color: var(--peak-black); }
.subnav button.is-active::after { transform: scaleX(1); }

/* ==========================================================================
   Photo gallery (masonry)
   ========================================================================== */
.gallery {
  column-count: 1;
  column-gap: 16px;
}
@media (min-width: 640px)  { .gallery { column-count: 2; } }
@media (min-width: 980px)  { .gallery { column-count: 3; } }
@media (min-width: 1300px) { .gallery { column-count: 3; column-gap: 22px; } }

.gallery__item {
  display: block;
  width: 100%;
  margin: 0 0 16px;
  break-inside: avoid;
  border-radius: 4px;
  overflow: hidden;
  background: var(--peak-cream-dark);
  cursor: zoom-in;
  position: relative;
  transition: transform 420ms var(--ease-out-expo);
}

.gallery__item:hover { transform: translateY(-4px); }

.gallery__item img {
  width: 100%;
  height: auto;
  transition: transform 800ms var(--ease-out-expo), filter 320ms var(--ease);
  background: var(--peak-cream-dark);
  filter: saturate(0.95);
}

.gallery__item:hover img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

/* ==========================================================================
   Video grids (separate landscape and portrait/shorts sub-grids)
   ========================================================================== */
.video-grid { display: contents; }

.video-subgrid--landscape {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 760px)  { .video-subgrid--landscape { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1180px) { .video-subgrid--landscape { grid-template-columns: 1fr 1fr 1fr; } }

.video-subgrid--portrait {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.video-shorts-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 56px 0 26px;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.82rem;
  color: var(--peak-grey);
}

.video-shorts-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--peak-line);
}

.video-card {
  display: block;
  margin: 0;
  background: transparent;
  transition: transform 420ms var(--ease-out-expo);
  min-width: 0;
}

.video-card:hover { transform: translateY(-6px); }

.video-card__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 420ms var(--ease-out-expo);
}

.video-card.is-portrait .video-card__frame {
  aspect-ratio: 9 / 16;
}

.video-card:hover .video-card__frame { box-shadow: var(--shadow-md); }

.video-card__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ----- YouTube facade (lazy-loaded, click to play) ----- */
.video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: #000 center / cover no-repeat;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-facade::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.40) 100%);
  z-index: 1;
  transition: opacity 360ms var(--ease);
}

.video-facade__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out-expo);
  filter: saturate(0.95);
}

.video-facade__play {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--peak-yellow);
  color: var(--peak-black);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  transition:
    transform 360ms var(--ease-out-expo),
    opacity 280ms var(--ease);
  pointer-events: none;
}

.video-facade__play svg {
  width: 26px;
  height: 26px;
  margin-left: 4px;
  fill: currentColor;
}

.video-card.is-portrait .video-facade__play {
  width: 60px;
  height: 60px;
}

/* Mouse-only: reveal full thumbnail on hover (cursor 'Play' pill is the affordance) */
@media (pointer: fine) {
  .video-facade:hover::before { opacity: 0; }
  .video-facade:hover .video-facade__thumb {
    transform: scale(1.03);
    filter: saturate(1.05);
  }
  .video-facade:hover .video-facade__play {
    opacity: 0;
    transform: scale(0.7);
  }
}

.video-facade__cat {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 999px;
  pointer-events: none;
}

.video-card__body {
  padding: 14px 2px 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.video-card__title {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  margin: 0;
  color: var(--peak-black);
}

.video-card__index {
  font-family: 'Anton', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--peak-grey-soft);
}

/* ==========================================================================
   Empty state
   ========================================================================== */
.empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--peak-grey);
}

.empty strong {
  display: block;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.5rem;
  color: var(--peak-black);
  margin-bottom: 10px;
}

.empty code {
  background: var(--peak-yellow-soft);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--peak-black);
  font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

/* ==========================================================================
   Floating gallery counter (photo page)
   ========================================================================== */
.gallery-counter {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: var(--peak-black);
  color: var(--peak-yellow);
  padding: 11px 18px;
  border-radius: 999px;
  display: none;
  align-items: center;
  gap: 14px;
  z-index: 60;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 320ms var(--ease), transform 320ms var(--ease);
  box-shadow: var(--shadow-md);
  pointer-events: none;
}

.gallery-counter.is-visible {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.gallery-counter__cat {
  color: var(--peak-yellow);
}

.gallery-counter__pos {
  color: rgba(255, 255, 255, 0.55);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 14px;
}

@media (max-width: 540px) {
  .gallery-counter { bottom: 14px; right: 14px; font-size: 0.68rem; padding: 9px 14px; }
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 28px;
  opacity: 0;
  transition: opacity 240ms var(--ease);
}

.lightbox.is-open { display: flex; opacity: 1; }

.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 100px);
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  user-select: none;
  animation: zoomIn 360ms var(--ease-out-expo);
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

.lightbox__btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--peak-white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 180ms var(--ease), transform 180ms var(--ease);
  font-size: 22px;
  line-height: 1;
}

.lightbox__btn:hover {
  background: var(--peak-yellow);
  color: var(--peak-black);
  border-color: var(--peak-yellow);
}

.lightbox__close { top: 22px; right: 22px; }
.lightbox__prev  { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: 22px; top: 50%; transform: translateY(-50%); }

.lightbox__prev:hover { transform: translateY(-50%) scale(1.06); }
.lightbox__next:hover { transform: translateY(-50%) scale(1.06); }

.lightbox__counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Anton', sans-serif;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--peak-line);
  background: transparent;
  color: var(--peak-grey);
  padding: 50px 0 40px;
  margin-top: 50px;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}
@media (min-width: 760px) {
  .site-footer__inner {
    grid-template-columns: auto 1fr auto;
  }
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--peak-black);
  font-size: 1.15rem;
}

.site-footer__brand img,
.site-footer__brand svg { height: 36px; width: auto; }

.site-footer__nav {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
}

.site-footer__nav a {
  font-size: 0.74rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--peak-grey);
  transition: color 180ms var(--ease);
}

.site-footer__nav a:hover { color: var(--peak-yellow-warm); }

.site-footer small {
  color: var(--peak-grey-soft);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-align: right;
}

@media (max-width: 759px) {
  .site-footer small { text-align: center; }
}

/* ==========================================================================
   Reveal on scroll (with optional stagger)
   ========================================================================== */
.reveal,
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms var(--ease-out-expo),
    transform 700ms var(--ease-out-expo);
}

.reveal.is-visible,
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .letter { opacity: 1; transform: none; }
  .scroll-progress { display: none; }
}
