/* Live website preview system — embedded iframe demos, same-page expand */
.live-work {
  padding: 52px 0 60px;
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 3;
}
.live-work-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
}
.live-work-lede {
  margin-top: 10px;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(240, 237, 230, 0.52);
}
.live-work-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: 2px;
  line-height: 1.1;
  color: rgba(240, 237, 230, 0.92);
  margin-bottom: 0;
}
/* Full portfolio (/portfolio grid) — category filter pills */
.portfolio-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  margin-bottom: 4px;
  padding: 0;
  border: none;
  list-style: none;
}
.portfolio-filter-bar[hidden] {
  display: none !important;
}
.portfolio-filter-btn {
  appearance: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(240, 237, 230, 0.65);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.portfolio-filter-btn:hover {
  border-color: rgba(255, 77, 28, 0.35);
  color: rgba(240, 237, 230, 0.9);
}
.portfolio-filter-btn.is-active,
.portfolio-filter-btn[aria-selected='true'] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.portfolio-empty {
  grid-column: 1 / -1;
  margin: 24px 0 8px;
  font-size: 15px;
  color: rgba(240, 237, 230, 0.45);
}
.live-work-see-all {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s ease, gap 0.2s ease;
}
.live-work-see-all:hover {
  opacity: 0.9;
  gap: 12px;
}
.live-work-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 22px;
}
.live-work-card {
  background: #0f0f10;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 420px;
}
.live-work-card--hero {
  border-color: rgba(249, 115, 22, 0.22);
  box-shadow: 0 8px 36px rgba(249, 115, 22, 0.08);
  height: 420px;
}
@media (hover: hover) and (pointer: fine) {
  .live-work-card:hover {
    transform: scale(1.02);
    z-index: 2;
    border-color: rgba(255, 77, 28, 0.35);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  }
  .live-work-card--hero:hover {
    border-color: rgba(249, 115, 22, 0.45);
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(249, 115, 22, 0.2);
  }
  .live-work-card:hover .live-work-placeholder {
    transform: scale(1.05);
  }
  .live-work--embed .live-work-card:hover .live-work-placeholder {
    transform: none;
  }
}
.live-work-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: #1a1a1e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.live-work-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.live-work-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #444;
}
.live-work-dots span:nth-child(1) {
  background: #ff5f56;
}
.live-work-dots span:nth-child(2) {
  background: #ffbd2e;
}
.live-work-dots span:nth-child(3) {
  background: #27ca40;
}
.live-work-url {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  font-family: ui-monospace, 'SF Mono', 'Consolas', monospace;
  color: rgba(240, 237, 230, 0.4);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.live-work-expand {
  flex-shrink: 0;
  padding: 7px 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(240, 237, 230, 0.92);
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.live-work-expand:hover,
.live-work-expand:focus-visible {
  border-color: var(--accent);
  color: var(--accent2);
  background: rgba(255, 77, 28, 0.08);
}
.live-work-frame-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
  background: #080809;
  overflow: hidden;
}

.live-work-frame-wrap--tall {
  /* height controlled by parent card now */
}
