/* Electric Light — styles (Look A: Darkroom) */
:root {
  --bg: #0e0d0c;
  --surface: #161412;
  --text: #ece6dc;
  --text-2: #cfc8bc;
  --muted: #a8a095;
  --line: #2a2724;
  --line-2: #3a3632;
  --accent: #e0a458;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Work Sans', system-ui, sans-serif;
  --gutter: 80px;
  --max: 1440px;
}
@media (max-width: 1000px) { :root { --gutter: 40px; } }
@media (max-width: 640px)  { :root { --gutter: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--text); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--bg); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(14,13,12,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: .32em; white-space: nowrap; }
.nav { display: flex; gap: 40px; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.nav a[aria-current="page"] { color: var(--accent); }
@media (max-width: 640px) {
  .site-header .wrap { height: auto; padding-top: 14px; padding-bottom: 12px; flex-direction: column; gap: 8px; }
  .logo { font-size: 21px; letter-spacing: .26em; }
  .nav { gap: 22px; font-size: 12.5px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; height: clamp(520px, 56vw, 800px); overflow: hidden; max-width: var(--max); margin: 0 auto; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-text { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(40px, 6vw, 88px); max-width: 820px; display: flex; flex-direction: column; gap: 16px; text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(52px, 7vw, 96px); line-height: .98; }
.hero .sub { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.25; }
.hero .line { margin: 0; font-size: 17px; color: var(--text-2); }
@media (max-width: 640px) {
  .hero img { object-position: 22% center; }
  .hero::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(to bottom, rgba(14,13,12,0), rgba(14,13,12,.75)); pointer-events: none; }
  .hero-text { z-index: 1; }
  .hero .eyebrow { color: #f0c38a; text-shadow: 0 1px 6px #000, 0 0 16px #000; }
}

/* ---------- Category chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 56px 0 40px; margin: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line-2); background: none; font-size: 14px; cursor: pointer; }
.chip:hover { border-color: var(--accent); color: var(--text); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: var(--bg); font-weight: 600; }
.chip .count { font-size: 12px; opacity: .7; }

/* ---------- Featured grid (home) ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .grid { grid-template-columns: 1fr; gap: 28px; } }
.tile { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.tile-btn { padding: 0; border: 0; background: var(--surface); cursor: zoom-in; overflow: hidden; display: block; width: 100%; }
.tile-btn img { width: 100%; height: auto; aspect-ratio: 4 / 3.1; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.tile-btn:hover img { transform: scale(1.03); }
.tile figcaption, .cap { font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
.tile figcaption .t, .cap .t { color: var(--text); }
.tag-motion { color: var(--accent); }

/* ---------- Masonry (work page) ---------- */
.masonry { columns: 3 360px; column-gap: 24px; }
.masonry .tile { break-inside: avoid; margin-bottom: 32px; }
.masonry .tile-btn img { aspect-ratio: auto; height: auto; }
.page-head { padding: 72px 0 0; }
.page-head h1 { margin: 0 0 8px; font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 5vw, 64px); line-height: 1; }
.page-head p { margin: 0; color: var(--text-2); max-width: 680px; }

/* ---------- Sections ---------- */
.band { margin-top: 120px; background: var(--surface); padding: 96px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { margin: 8px 0 0; font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 4vw, 56px); line-height: 1.05; }
.link-more { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--accent); padding-bottom: 6px; }
@media (max-width: 640px) { .band { margin-top: 72px; padding: 64px 0; } }

/* ---------- Still -> motion pair ---------- */
.pair { display: grid; grid-template-columns: 5fr 1fr 7fr; gap: 24px; align-items: center; }
.pair figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.pair .arrow { display: flex; justify-content: center; color: var(--accent); }
.pair .still img { width: 100%; max-height: 520px; object-fit: contain; background: #000; }
.pair video { width: 100%; background: #000; max-height: 620px; }
.pair.is-vertical { grid-template-columns: 4fr 1fr 4fr; }
.pair.is-vertical .still img { max-width: 360px; margin: 0 auto; }
.pair.is-vertical video { max-height: 640px; width: auto; margin: 0 auto; }
.pair.is-vertical figure { align-items: center; }
.pair.is-vertical .cap { width: 100%; max-width: 360px; }
@media (max-width: 800px) {
  .pair, .pair.is-vertical { grid-template-columns: 1fr; }
  .pair .arrow svg { transform: rotate(90deg); }
}
.pairs { display: flex; flex-direction: column; gap: 96px; }
.pair-title { font-family: var(--serif); font-size: 30px; margin: 0 0 20px; font-weight: 500; }

.vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
@media (max-width: 1000px) { .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .vgrid { grid-template-columns: 1fr; } }
.vgrid figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.vgrid video { width: 100%; aspect-ratio: 16 / 9; background: #000; }

/* ---------- Lighting-study slider ---------- */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.compare { position: relative; overflow: hidden; background: #000; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.compare img { width: 100%; height: auto; }
.compare .before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.compare .before img { width: 100%; height: 100%; object-fit: cover; }
.compare .divider { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; margin-left: -1px; background: var(--accent); box-shadow: 0 0 14px rgba(224,164,88,.8); pointer-events: none; }
.compare .knob { position: absolute; top: 50%; left: var(--pos, 50%); width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--accent); color: var(--bg); display: flex; align-items: center; justify-content: center; pointer-events: none; }
.compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare .lbl { position: absolute; bottom: 16px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; background: rgba(14,13,12,.72); padding: 6px 12px; pointer-events: none; }
.compare .lbl.l { left: 16px; } .compare .lbl.r { right: 16px; }
.compare:focus-within .knob { outline: 2px solid var(--text); outline-offset: 3px; }

/* ---------- About / contact ---------- */
.about { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; padding: 112px 0 96px; }
.about h2 { margin: 0 0 16px; font-family: var(--serif); font-weight: 500; font-size: 40px; }
.about p { margin: 0 0 18px; color: var(--text-2); line-height: 1.7; }
.about .quote { font-family: var(--serif); font-style: italic; font-size: 25px; line-height: 1.35; color: var(--accent); }
.contact a { display: block; font-size: 20px; margin-top: 6px; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; gap: 48px; padding: 72px 0; } }

.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(8,7,6,.97); display: none; flex-direction: column; }
.lb.is-open { display: flex; }
.lb-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 64px 88px 16px; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px 22px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.lb-bar .t { color: var(--text); font-family: var(--serif); font-size: 24px; margin-right: 12px; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(22,20,18,.8); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lb-btn:hover { border-color: var(--accent); color: var(--accent); }
.lb-close { top: 14px; right: 18px; }
.lb-prev { left: 18px; top: 50%; margin-top: -40px; }
.lb-next { right: 18px; top: 50%; margin-top: -40px; }
.lb-motion { border: 1px solid var(--accent); color: var(--accent); background: none; border-radius: 999px; min-height: 44px; padding: 8px 18px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.lb-motion:hover { background: var(--accent); color: var(--bg); }
@media (max-width: 640px) {
  .lb-stage { padding: 64px 8px 8px; }
  .lb-prev, .lb-next { top: 14px; margin: 0; }
  .lb-prev { left: 18px; } .lb-next { left: 80px; right: auto; }
}
body.no-scroll { overflow: hidden; }
