*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #000000;
  --text: #c0c0c0;
  --muted: #4a4a4a;
  --border: #1c1c1c;
  --inner-border: #1a1a1a;
  --new: #1a3a2a;
  --new-text: #6fa882;
  --card-bg: #0c0c0c;
  --text-panel: #141414;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Share Tech Mono', monospace;
  font-size: 16px;
  line-height: 1.5;
}

/* ── Header ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--card-bg);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  width: 92%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-name {
  font-family: 'Share Tech Mono', monospace;
  font-size: 20px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
}

nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

nav a {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  transition: color 0.15s;
  cursor: pointer;
}
nav a:hover { color: #e03030; }

/* ── Main ── */
main { padding-top: 80px; }

/* ── Works Section ── */
#works-section {
  padding: 2.5rem 0 3rem;
  display: flex;
  justify-content: center;
}

.works-inner {
  width: 92%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ── Featured card: spans both columns ── */
.project-box.featured {
  grid-column: span 2;
}

/* ── Outer Project Box ── */
.project-box {
  display: block;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border);
  background: var(--card-bg);
  overflow: hidden;
  transition: border-color 0.2s;
}

.project-box:hover { border-color: #e03030; }

/* Inner row: image | text */
.project-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 260px;
}

.project-box.featured .project-inner {
  min-height: 360px;
}

/* ── Left: Image ── */
.project-image {
  border-right: 1px solid var(--inner-border);
  overflow: hidden;
  position: relative;
  background: #050505;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  opacity: 0.85;
}

.project-box:hover .project-image img {
  transform: scale(1.03);
  opacity: 1;
}

.img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-box.featured .img-placeholder { min-height: 360px; }

.placeholder-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #333;
}

/* ── Right: Text panel — slightly lighter than card-bg ── */
.project-text {
  padding: 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  background: var(--text-panel);
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.project-year {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.project-tag {
  font-family: 'Share Tech Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 2px 7px;
  border: 1px solid var(--inner-border);
  color: var(--muted);
}

.project-tag.new-tag {
  border-color: var(--new);
  color: var(--new-text);
  background: rgba(26, 58, 42, 0.06);
}

.project-type {
  font-family: 'Share Tech Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 2px 7px;
  border: 1px solid #2a2a3a;
  color: #6a6a9a;
  background: rgba(40, 40, 80, 0.08);
}

.project-type.type-book   { border-color: #2a3a2a; color: #6a9a6a; background: rgba(40,80,40,0.08); }
.project-type.type-discourse { border-color: #3a2a2a; color: #9a6a5a; background: rgba(80,40,30,0.08); }
.project-type.type-paper  { border-color: #2a2a3a; color: #6a7a9a; background: rgba(40,50,80,0.08); }

.project-title {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.project-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  justify-content: center;
}

.project-desc {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.8rem;
  line-height: 1.7;
  color: #999;
  max-width: 40ch;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--inner-border);
  margin-top: auto;
}

.project-collab {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #888;
}

.project-arrow {
  font-size: 1rem;
  color: var(--muted);
  transition: transform 0.2s, color 0.2s;
}

.project-box:hover .project-arrow {
  transform: translateX(4px);
  color: #e03030;
}

/* ── Texts Section ── */
#texts-section {
  display: none;
  padding: 2.5rem 0;
  width: 92%;
  margin: 0 auto;
}
#texts-section.active { display: block; }

.texts-grid {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  background: var(--card-bg);
}

.text-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: start;
  gap: 2rem;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s;
}
.text-item:last-child { border-bottom: none; }
.text-item:hover { background: var(--text-panel); }

.text-year {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--muted);
  padding-top: 4px;
}

.text-type {
  font-family: 'Share Tech Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.text-title {
  font-family: 'Share Tech Mono', monospace;
  font-size: 1rem;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.text-publication {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  color: var(--muted);
}

.text-arrow {
  font-size: 1rem;
  color: var(--muted);
  padding-top: 4px;
  transition: transform 0.2s, color 0.2s;
}
.text-item:hover .text-arrow { transform: translateX(4px); color: #e03030; }

/* ── Media Section ── */
#media-section {
  display: none;
  padding: 2.5rem 0;
  width: 92%;
  margin: 0 auto;
}
#media-section.active { display: block; }

.media-grid {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  background: var(--card-bg);
}

.media-item {
  display: grid;
  grid-template-columns: 80px 36px 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s;
}
.media-item:last-child { border-bottom: none; }
.media-item:hover { background: var(--text-panel); }

.media-year {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.media-icon { font-size: 1rem; opacity: 0.4; }

.media-type {
  font-family: 'Share Tech Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.media-title {
  font-family: 'Share Tech Mono', monospace;
  font-size: 1rem;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.media-source {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  color: var(--muted);
}

.media-arrow {
  font-size: 1rem;
  color: var(--muted);
  transition: transform 0.2s, color 0.2s;
}
.media-item:hover .media-arrow { transform: translateX(4px); color: #e03030; }

/* ── Bio Section ── */
#bio-section {
  display: none;
  padding: 2.5rem 0;
  width: 92%;
  margin: 0 auto;
}
#bio-section.active { display: block; }

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  border: 1px solid var(--border);
  background: var(--text-panel);
  padding: 3rem;
}

.bio-text p {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.875rem;
  line-height: 1.8;
  color: #888;
  margin-bottom: 1rem;
}

.bio-heading {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.cv-row {
  display: flex;
  gap: 1.5rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.82rem;
  color: var(--text);
}

.cv-yr {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
  min-width: 2.5rem;
  padding-top: 2px;
}

.cv-venue { color: var(--muted); font-size: 0.78rem; }

/* ── Footer ── */
footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.footer-inner {
  width: 92%;
  display: flex;
  justify-content: space-between;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
footer a:hover { color: #e03030; }

/* Hamburger hidden on desktop */
.hamburger { display: none; }

/* ── Mobile ── */
@media (max-width: 768px) {

  /* Header: name + hamburger */
  .header-inner {
    width: 92%;
    position: relative;
  }

  .site-name {
    font-size: 15px;
    letter-spacing: 0.12em;
  }

  /* Hide nav by default; show when .open */
  nav {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    z-index: 200;
    padding: 0.5rem 0;
  }
  nav.open { display: flex; }

  nav a {
    padding: 0.85rem 1.5rem;
    font-size: 11px;
    border-bottom: 1px solid var(--border);
  }
  nav a:last-child { border-bottom: none; }

  /* Hamburger button */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
  }
  .hamburger span {
    display: block;
    height: 1px;
    background: #fff;
    transition: transform 0.2s, opacity 0.2s;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  /* Works grid: single column */
  .works-inner {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 0;
    border-top: 1px solid var(--border);
  }

  .project-box.featured {
    grid-column: span 1;
  }

  /* Card inner: stack image above text */
  .project-inner {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .project-box.featured .project-inner {
    min-height: unset;
  }

  /* Image on top, fixed height */
  .project-image {
    border-right: none;
    border-bottom: 1px solid var(--inner-border);
    height: 220px;
  }

  .project-box.featured .project-image {
    height: 260px;
  }

  .img-placeholder,
  .project-box.featured .img-placeholder {
    min-height: unset;
    height: 100%;
  }

  /* Text panel */
  .project-text {
    padding: 1.5rem;
  }

  .project-title {
    font-size: clamp(1.2rem, 6vw, 1.6rem);
  }

  .project-desc {
    max-width: 100%;
  }

  /* Project boxes: add border between cards */
  .project-box {
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 1px solid var(--border);
  }

  /* Texts section */
  #texts-section {
    width: 100%;
  }

  .text-item {
    grid-template-columns: 52px 1fr auto;
    gap: 1rem;
    padding: 1.2rem 1rem;
  }

  /* Media section */
  #media-section {
    width: 100%;
  }

  .media-item {
    grid-template-columns: 52px 28px 1fr auto;
    gap: 0.75rem;
    padding: 1.2rem 1rem;
  }

  /* Bio section */
  #bio-section {
    width: 100%;
  }

  .bio-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2rem 1.25rem;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
    width: 92%;
  }
}
/* ============================================================
   PROJECT DETAIL PAGES
   ============================================================ */

/* Back bar */
.back-bar { width: 92%; margin: 0 auto; padding: 0.9rem 0; display: flex; align-items: center; gap: 1rem; }
.back-link { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; color: var(--muted); transition: color 0.15s; display: flex; align-items: center; gap: 0.5rem; }
.back-link:hover { color: var(--red); }
.back-title { font-size: 10px; letter-spacing: 0.15em; color: var(--muted); text-transform: uppercase; }


/* Hero full image (no crop) */
.hero-contain img {
  object-fit: contain !important;
  background: #000;
  opacity: 1 !important;
}

/* Hero */
.hero { width: 100%; background: #080808; border-bottom: 1px solid var(--border); overflow: hidden; }
.hero-image { width: 100%; height: 70vh; min-height: 480px; max-height: 700px; overflow: hidden; position: relative; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; display: block; }
.hero-image::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 280px; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.hero-title-block { position: absolute; bottom: 0; left: 0; right: 0; padding: 2.5rem 4%; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; }
.hero-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.hero-type { font-size: 8px; letter-spacing: 0.2em; text-transform: uppercase; padding: 2px 7px; border: 1px solid #2a2a3a; color: #6a6a9a; }
.hero-year { font-size: 9px; letter-spacing: 0.2em; color: var(--muted); }
.hero-title { font-size: clamp(2.5rem, 6vw, 5.5rem); letter-spacing: 0.06em; text-transform: uppercase; line-height: 0.95; color: var(--text); }
.hero-scroll-hint { font-size: 8px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 0.4rem; padding-bottom: 0.25rem; animation: bobble 2.5s ease-in-out infinite; }
@keyframes bobble { 0%,100%{transform:translateY(0);opacity:.5} 50%{transform:translateY(6px);opacity:1} }

/* Content grid */
.content-section { width: 92%; max-width: 1440px; margin: 0 auto; padding: 4rem 0 2rem; display: grid; grid-template-columns: 220px 1fr; gap: 2rem; border-bottom: 1px solid var(--border); }
.project-sidebar { display: flex; flex-direction: column; gap: 2rem; border-right: 1px solid #2a2a2a; padding-right: 2rem; }
.sidebar-block { display: flex; flex-direction: column; gap: 0.5rem; }
.sidebar-label { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: #999; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); margin-bottom: 0.25rem; }
.sidebar-value { font-size: 0.82rem; letter-spacing: 0.06em; color: var(--text); line-height: 1.6; }
.sidebar-value.muted { color: #888; font-size: 0.78rem; }
.sidebar-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.1rem; }
.s-tag { font-size: 8px; letter-spacing: 0.15em; text-transform: uppercase; padding: 2px 6px; border: 1px solid var(--inner-border); color: var(--muted); }
.sidebar-link { font-size: 0.78rem; letter-spacing: 0.1em; color: #888; text-decoration: none; transition: color 0.15s; display: flex; align-items: center; gap: 0.4rem; }
.sidebar-link:hover { color: var(--red); }
.project-body-text { padding-top: 0.25rem; }
.body-intro { font-size: 1.05rem; line-height: 1.75; color: var(--text); margin-bottom: 2rem; }
.body-para { font-size: 0.85rem; line-height: 1.9; color: #aaa; margin-bottom: 1.5rem; }
.body-pull { border-left: 2px solid var(--red); padding: 0.5rem 0 0.5rem 1.75rem; margin: 2.5rem 0; }
.body-pull p { font-size: 0.95rem; line-height: 1.7; color: var(--text); max-width: 52ch; }
.body-section-head { font-size: 8px; letter-spacing: 0.25em; text-transform: uppercase; color: #888; margin-bottom: 1rem; margin-top: 2.5rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }

/* Gallery */

/* ── Inline diagram (How It Works) ── */
.body-diagram {
  margin: 2.5rem 0;
  border-top: 1px solid #1c1c1c;
  border-bottom: 1px solid #1c1c1c;
  padding: 1.5rem 0;
}
.body-diagram-title {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 1rem;
  display: block;
}
.body-diagram img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.gallery-section { width: 92%; max-width: 1440px; margin: 0 auto; padding: 3.5rem 0 4rem; border-bottom: 1px solid var(--border); }
.gallery-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.75rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.gallery-title { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: #888; }
.gallery-count { font-size: 10px; letter-spacing: 0.15em; color: #888; }
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); }
.gallery-item { background: var(--bg); position: relative; cursor: pointer; }
.gallery-item img { width:100%; height:auto; display:block; transition: opacity 0.3s; opacity:0.85; }
.gallery-item:hover img { opacity:1; }
.gallery-caption { position:absolute; bottom:0; left:0; right:0; padding:0.75rem 1rem; background:linear-gradient(to top,rgba(0,0,0,0.85),transparent); font-size:8px; letter-spacing:0.15em; color:#888; text-transform:uppercase; opacity:0; transform:translateY(4px); transition:opacity 0.2s,transform 0.2s; }
.gallery-item:hover .gallery-caption { opacity:1; transform:translateY(0); }

/* Lightbox */
.lightbox { position:fixed; inset:0; background:rgba(0,0,0,0.95); z-index:1000; display:none; flex-direction:column; align-items:center; justify-content:center; }
.lightbox.open { display:flex; }
.lightbox-close { position:absolute; top:1.5rem; right:2rem; background:none; border:none; color:var(--muted); font-family:'Share Tech Mono',monospace; font-size:10px; letter-spacing:0.2em; cursor:pointer; text-transform:uppercase; transition:color 0.15s; }
.lightbox-close:hover { color:var(--red); }
.lightbox-img-wrap { max-width:90vw; max-height:80vh; display:flex; align-items:center; justify-content:center; }
.lightbox-img-wrap img { max-width:90vw; max-height:78vh; object-fit:contain; }
.lightbox-nav { display:flex; align-items:center; gap:2rem; margin-top:1.5rem; }
.lb-btn { background:none; border:1px solid var(--border); color:var(--muted); font-family:'Share Tech Mono',monospace; font-size:14px; padding:0.4rem 1rem; cursor:pointer; transition:color 0.15s,border-color 0.15s; }
.lb-btn:hover { color:var(--text); border-color:var(--muted); }
.lb-counter { font-size:9px; letter-spacing:0.2em; color:var(--muted); }

/* Video */
.video-section { width:92%; max-width:1440px; margin:0 auto; padding:1.5rem 0; border-bottom:1px solid var(--border); }
.video-section { scroll-margin-top: 140px; }

/* ── Inline diagram (How It Works) ── */
.body-diagram {
  margin: 2.5rem 0;
  border-top: 1px solid #1c1c1c;
  border-bottom: 1px solid #1c1c1c;
  padding: 1.5rem 0;
}
.body-diagram-title {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 1rem;
  display: block;
}
.body-diagram img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.gallery-section { scroll-margin-top: 140px; }
.video-header { display:flex; align-items:baseline; justify-content:space-between; margin-bottom:1.75rem; padding-bottom:0.75rem; border-bottom:1px solid var(--border); }
.video-header-title { font-size:10px; letter-spacing:0.25em; text-transform:uppercase; color:#888; }
.video-tabs { display:flex; margin-bottom:1.5rem; border:1px solid var(--border); width:fit-content; }
.video-tab { font-size:8px; letter-spacing:0.18em; text-transform:uppercase; padding:6px 14px; color:var(--muted); cursor:pointer; border-right:1px solid var(--border); background:none; border-top:none; border-bottom:none; border-left:none; transition:color 0.15s,background 0.15s; }
.video-tab:last-child { border-right:none; }
.video-tab.active { color:var(--text); background:var(--text-panel); }
.video-tab:hover:not(.active) { color:var(--text); }
.video-slot { display:none; }
.video-slot.active { display:block; }
.video-embed-wrap { position:relative; width:100%; aspect-ratio:16/9; background:var(--card-bg); border:1px solid var(--border); overflow:hidden; }
.video-embed-wrap iframe { position:absolute; inset:0; width:100%; height:100%; border:none; display:none; }
.video-embed-wrap.loaded iframe { display:block; }
.video-embed-wrap.loaded .video-placeholder { display:none; }
.video-placeholder { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1.25rem; cursor:pointer; background:var(--card-bg); transition:background 0.2s; }
.video-placeholder:before { content:''; position:absolute; inset:0; background-image:linear-gradient(var(--border) 1px,transparent 1px),linear-gradient(90deg,var(--border) 1px,transparent 1px); background-size:60px 60px; opacity:0.35; }
.video-placeholder:hover { background:#111; }
.video-thumb { position:absolute; inset:0; object-fit:cover; opacity:0.4; width:100%; height:100%; }
.play-btn { position:relative; z-index:1; width:56px; height:56px; border:1px solid rgba(255,255,255,0.2); border-radius:50%; display:flex; align-items:center; justify-content:center; background:rgba(255,255,255,0.05); transition:background 0.2s,border-color 0.2s; }
.play-btn::after { content:''; border-left:18px solid var(--text); border-top:11px solid transparent; border-bottom:11px solid transparent; margin-left:4px; }
.video-placeholder:hover .play-btn { background:rgba(224,48,48,0.15); border-color:var(--red); }
.video-label { position:relative; z-index:1; font-size:8px; letter-spacing:0.2em; text-transform:uppercase; color:var(--muted); }

/* Next project */
.next-section { border-top:1px solid var(--border); }
.next-label-bar { width:92%; max-width:1440px; margin:0 auto; padding:1rem 0; border-bottom:1px solid var(--border); }
.next-label { font-size:10px; letter-spacing:0.25em; text-transform:uppercase; color:#888; }
.next-project-link { display:flex; align-items:center; justify-content:space-between; width:92%; max-width:1440px; margin:0 auto; padding:2rem 0; text-decoration:none; color:var(--text); transition:color 0.15s; }
.next-project-link:hover { color:var(--red); }
.next-info { display:flex; flex-direction:column; gap:0.4rem; }
.next-type { font-size:10px; letter-spacing:0.2em; text-transform:uppercase; color:#888; }
.next-title { font-size:clamp(1.4rem,4vw,2.8rem); letter-spacing:0.08em; text-transform:uppercase; }
.next-arrow { font-size:2rem; transition:transform 0.2s; }
.next-project-link:hover .next-arrow { transform:translateX(6px); }

/* Project page mobile */
@media (max-width: 768px) {
  .content-section { grid-template-columns:1fr; gap:2rem; padding:2rem 0; width:94%; }
  .hero-image { height:50vh; min-height:300px; }
  .hero-title { font-size:clamp(1.8rem,8vw,3rem); }
  .hero-title-block { padding:1.5rem 4%; }
  .gallery-grid { grid-template-columns:repeat(2,1fr); }
  .video-tabs { flex-wrap:wrap; }
  .next-title { font-size:clamp(1.2rem,6vw,2rem); }
}

/* ── Jump Bar ── */
.jump-bar {
  position: fixed;
  top: 80px;
  left: 0; right: 0;
  z-index: 90;
  background: #0a0a0a;
  border-bottom: 1px solid var(--border);
}

.jump-bar-inner {
  width: 92%;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 32px;
  gap: 1rem;
}

.jump-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.jump-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: #6fa882;
  background: transparent;
  border: none;
  padding: 0;
  transition: opacity 0.15s;
  white-space: nowrap;
}

.jump-btn:hover {
  opacity: 0.65;
}

.jump-btn-icon {
  font-size: 12px;
  line-height: 1;
}

.jump-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c0392b;
}

.jump-label::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 1px;
  background: var(--muted);
}

/* Push main content down to account for header + jump bar */
body.has-jump-bar main {
  padding-top: calc(80px + 32px);
}

body.has-jump-bar .hero {
  margin-top: 0;
}

/* Back to top link that appears at bottom of pages */
.back-to-top {
  display: block;
  text-align: center;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 2rem 0 1rem;
  transition: color 0.15s;
}
.back-to-top:hover { color: #6fa882; }

/* ── Action Bar (under hero, project pages) ── */
.action-bar-strip {
  background: #080808;
  border-bottom: 1px solid var(--border);
  padding: 0.55rem 0;
}

.action-bar-inner {
  width: 92%;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-left: calc(220px + 2rem);
}

.action-bar-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.15s;
}
.action-bar-btn:hover { opacity: 0.7; }

.action-bar-video { color: #e03030; }
.action-bar-images { color: #6fa882; }

.action-bar-play-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #e03030;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.action-bar-play-tri {
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid #e03030;
  margin-left: 2px;
}

.action-bar-img-icon {
  width: 16px;
  height: 13px;
  border: 1px solid #6fa882;
  border-radius: 1px;
  flex-shrink: 0;
  position: relative;
}
.action-bar-img-icon::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 2px;
  right: 2px;
  height: 4px;
  background: #6fa882;
  opacity: 0.45;
  border-radius: 1px;
}

.action-bar-divider {
  width: 1px;
  height: 16px;
  background: #2a2a2a;
}

@media (max-width: 768px) {
  .action-bar-inner {
    width: 94%;
    gap: 1.25rem;
    padding-left: 0;
  }
  .action-bar-btn {
    font-size: 9px;
  }
}

/* ── Project name in jump bar ── */
.jump-bar-inner {
  justify-content: space-between;
}
.jump-project-name {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #bbb;
  margin-left: auto;
  padding-left: 1.5rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
