:root {
  --bg: #06070d;
  --bg-deep: #04050a;
  --text: #F3F5FB;
  --muted: #98A2BC;
  --line: rgba(255, 255, 255, 0.10);
  --accent: #FF7A52; /* warm orange pop â€” reads clean against dark navy */
  --accent-bg: #FF5A36; /* orange â€” solid fills */
  --accent-dim: #ff5a3630;
  --teal: #2FE3D6; /* bright teal â€” the complementary grade color on dark */
  --teal-dim: #2fe3d626;
  --keyframe: #FFB020;
  --glass: rgba(22, 28, 48, 0.50);
  --glass-strong: rgba(14, 18, 32, 0.68);
  --glass-border: rgba(255, 255, 255, 0.12);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.32);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background:
    radial-gradient(ellipse 80vw 60vh at 15% -10%, rgba(46, 60, 120, 0.55), transparent 60%), radial-gradient(ellipse 80vw 60vh at 110% 10%, rgba(46, 60, 120, 0.55), transparent 60%), linear-gradient(160deg, #0a0e1c 0%, #05060c 45%, #060814 75%, #0a0d1a 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}
/* ---------- AMBIENT GRADIENT WASH ---------- */
body::before, body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
  pointer-events: none;
}
body::before {
  width: 60vw;
  height: 12vw;
  max-width: 800px;
  max-height: 800px;
  top: -20vw;
  right: -16vw;
  background: radial-gradient(circle at 30% 30%, #2b3fae, transparent 70%);
  opacity: 0.5;
}
body::after {
  width: 55vw;
  height: 55vw;
  max-width: 760px;
  max-height: 760px;
  bottom: -18vw;
  left: -14vw;
  background: radial-gradient(circle at 70% 70%, #2b3fae, transparent 70%);
  opacity: 0.22;
}
/* third abstract blob â€” subtle warm accent to keep the gradient from reading flat-blue */
main::before {
  content: "";
  position: fixed;
  z-index: -1;
  top: 35vh;
  left: 50%;
  width: 45vw;
  height: 45vw;
  max-width: 640px;
  max-height: 640px;
  transform: translateX(-50%);
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.10;
  background: radial-gradient(circle, var(--accent-bg), transparent 70%);
  pointer-events: none;
}
h1, h2, h3, .display {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.01em;
}
.mono {
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.02em;
}
a {
  color: inherit;
  text-decoration: none;
}
::selection {
  background: var(--accent-bg);
  color: #fff;
}
/* ---------- SCRUBBER NAV ---------- */
.scrubber {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--glass-strong);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}
.scrubber-track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; /* tabs sit in the centre of the wrapper */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.scrub-brand {
  /* Pinned to the left so the tabs can be centred in the wrapper */
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
  background: transparent;
  white-space: nowrap;
}
.scrub-item {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 57px 12px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  background: transparent;
  transition: color .2s ease;
}
.scrub-item .diamond {
  width: 7px;
  height: 7px;
  background: var(--line);
  transform: rotate(45deg);
  transition: background .2s ease, box-shadow .2s ease;
}
.scrub-item:hover {
  color: var(--text);
}
.scrub-item.active {

  color: var(--accent);
}
.scrub-item.active .diamond {
  background: var(--accent-bg);
  box-shadow: 0 0 0 4px var(--accent-dim);
}
.scrub-item .tc {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
}
@media (max-width:1024px) {
  /* Below tablet width: hide the timecode scrubber row, show the hamburger instead */
  .scrub-item {
    display: none;
  }
  .scrub-brand {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
  }
  .scrubber-track {
    justify-content: space-between;
  }
  .scrubber {
    background: var(--bg-deep);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
	
}
/* ---------- MOBILE / TABLET MENU (built by main.js) ---------- */
.menu-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
@media (max-width:1024px) {
  .menu-toggle {
    display: inline-flex;
  }
}
.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .28s ease, opacity .2s ease;
}
.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--glass-border);
  transition: max-height .35s ease, opacity .3s ease;
}
.mobile-menu.open {
  max-height: 420px;
  opacity: 1;
}
.mobile-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--muted);
  border-top: 1px solid var(--line);
  transition: color .2s ease, background .2s ease;
}
.mobile-menu-item:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.mobile-menu-item .mm-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
  flex: 0 0 auto;
  transition: background .2s ease, box-shadow .2s ease;
}
.mobile-menu-item.active {
  color: var(--accent);
}
.mobile-menu-item.active .mm-dot {
  background: var(--accent-bg);
  box-shadow: 0 0 0 4px var(--accent-dim);
}
/* ---------- SCROLL TO TOP ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-strong);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, border-color .25s ease, color .25s ease;
}
.to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.to-top:hover {
  border-color: var(--accent-bg);
  color: var(--accent);
}
.to-top svg {
  width: 17px;
  height: 17px;
}
@media (max-width:640px) {
  .to-top {
    right: 16px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }
	.cli-mob{display:block!important;}
	.cli-desk{display:none!important;}
}
/* ---------- LAYOUT ---------- */
main {
  display: block;
}
section, .page-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 100px;
}
.page-head {
  max-width: 1200px;
  margin: 0 auto;
  padding: 150px 24px 40px;
}
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;

  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--accent);
}
.page-title {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.02;
  max-width: 18ch;
}
.page-sub {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  max-width: 56ch;
}
/* ---------- HERO (home only) ---------- */
#hero {
  padding: 100px 24px 100px;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  position: relative;
}
.hero-left {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
@media (max-width:900px) {
  #hero {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding-top: 95px;
  }
	.cli-mob{display:block!important;}
	.cli-desk{display:none!important;}
}
/* ---------- HERO PHOTO FRAME ---------- */
.hero-right {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
}
.hero-photo {
  position: relative;
  width: 350px;
  aspect-ratio: 4/5;
  border-radius: 20px;
  overflow: hidden;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}
.hero-photo::before, .hero-photo::after, .hero-photo-placeholder .corner {
  content: "";
}
/* viewfinder corner brackets â€” echoes the REC / timecode motif */
.hero-photo .corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--accent);
  border-style: solid;
  border-width: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.85;
}
.hero-photo .corner.tl {
  top: 12px;
  left: 12px;
  border-top-width: 2px;
  border-left-width: 2px;
}
.hero-photo .corner.tr {
  top: 12px;
  right: 12px;
  border-top-width: 2px;
  border-right-width: 2px;
}
.hero-photo .corner.bl {
  bottom: 12px;
  left: 12px;
  border-bottom-width: 2px;
  border-left-width: 2px;
}
.hero-photo .corner.br {
  bottom: 12px;
  right: 12px;
  border-bottom-width: 2px;
  border-right-width: 2px;
}
.hero-photo-tag {
  position: absolute;
  top: 12px;
  left: 38px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--text);
  background: rgba(0, 0, 0, 0.5);
  padding: 3px 8px;
  border-radius: 999px;
  z-index: 3;
  pointer-events: none;
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width:900px) {
  .hero-right {
    order: -1;
    margin-bottom: 12px;
  }
  .hero-photo {
    width: 320px;
  }
}
.rec {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 28px;
}
.rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-bg);
  animation: pulse 1.6s infinite ease-in-out;
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}
.hero-title {
  font-size: clamp(48px, 9vw, 108px);
  font-weight: 700;
  line-height: 0.98;
  max-width: 16ch;
}
.hero-role {
  margin-top: 22px;
  font-size: clamp(16px, 2.4vw, 22px);
  color: var(--muted);
  max-width: 46ch;
}
.hero-role strong {
  color: var(--text);
  font-weight: 600;
}
.hero-cta {
  margin-top: 44px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  padding: 14px 26px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn-primary {
  background: var(--accent-bg);
  border-color: var(--accent-bg);
  color: #fff;
  font-weight: 500;
}
.btn-primary:hover {
  background: #ff6d4d;
}
.btn-ghost:hover {
  border-color: var(--accent-bg);
  color: var(--accent);
}
.hero-tc {
  position: absolute;
  right: 24px;
  bottom: 48px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--muted);
  text-align: right;
}
.hero-tc .big {
  font-size: 22px;
  color: var(--text);
  letter-spacing: 0.05em;
}
@media (max-width:720px) {
  .hero-tc {
    position: static;
    margin-top: 60px;
    text-align: left;
  }
	.cli-mob{display:block!important;}
	.cli-desk{display:none!important;}
}
/* ---------- REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
}
@media (max-width:860px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
	.cli-desk{display:none !important;}
	.cli-mob{display:block!important;}
}
.about-lede {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  max-width: 62ch;
}
.about-body {
  margin-top: 24px;
  color: var(--muted);
  font-size: 15.5px;
  max-width: 60ch;
}
.about-body p + p {
  margin-top: 16px;
}
.capsule-row {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.capsule {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
}
.capsule .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
}
.capsule .cap-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.shotlist-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: block;
}
.shotlist {
  border-top: 1px solid var(--line);
}
.shot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.shot-row .idx {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--muted);
  font-size: 12px;
  margin-right: 14px;
}
.brand-strip {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.brand-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 10px 18px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.brand-logo:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.brand-logo img {
  height: 26px;
  width: auto;
  max-width: 108px;
  object-fit: contain;
  display: block;
}
/* ---------- EXPERIENCE + EDUCATION SIDE-BY-SIDE ---------- */
.exp-edu-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  align-items: start;
}
.exp-edu-main {
  min-width: 0;
}
.exp-edu-side {
  min-width: 0;
  position: sticky;
  top: 120px;
}
.exp-edu-side .eyebrow {
  margin-bottom: 20px;
}
.exp-edu-side .shotlist-title {
  margin-top: 0;
}
@media (max-width:1024px) {
  .exp-edu-grid {
    grid-template-columns: 1fr;
  }
  .exp-edu-side {
    position: static;
    padding-top: 8px;
    border-top: 1px solid var(--line);
    margin-top: 8px;
  }
}
/* ---------- EXPERIENCE TIMELINE ---------- */
.timeline {
  position: relative;
  margin-top: 20px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 88px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
@media (max-width:640px) {
  .timeline::before {
    left: 16px;
  }
}
.tl-row {
  position: relative;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.tl-row:last-child {
  border-bottom: none;
}
@media (max-width:640px) {
  .tl-row {
    grid-template-columns: 16px 1fr;
  }
  .tl-dates {
    display: none;
  }
}
.tl-dates {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  padding-top: 4px;
  text-align: left;
}
.tl-marker {
  position: absolute;
  left: 84px;
  top: 32px;
  width: 9px;
  height: 9px;
  background: var(--bg);
  border: 2px solid var(--keyframe);
  transform: rotate(45deg);
}
@media (max-width:640px) {
  .tl-marker {
    left: 11px;
  }
}
.tl-content {
  grid-column: 2;
  min-width: 0;
}
.tl-role {
  font-size: 19px;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
}
.tl-org {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--accent);
  margin-top: 4px;
}
.tl-loc {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  margin-left: 8px;
}
.tl-mobile-dates {
  display: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
@media (max-width:640px) {
  .tl-mobile-dates {
    display: block;
  }
}
.tl-bullets {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 66ch;
}
.tl-bullets li {
  list-style:disc;
  padding-left: 4px;
  position: relative;
  margin-top: 8px;
}
.tl-bullets li::before {
  position: absolute;
  left: 0;
  color: var(--accent);
}
/* ---------- PROJECT / WORK CARDS ---------- */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
@media (max-width:900px) {
  .proj-grid {
    grid-template-columns: 1fr;
  }
}
.proj-card {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.proj-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.proj-frame {
  position: relative;
  aspect-ratio: 16/9;
  background: #0b0c10;
}
.proj-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.proj-tc {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  padding: 3px 8px;
  border-radius: 999px;
  z-index: 2;
  pointer-events: none;
}
.proj-body {
  padding: 20px;
}
.proj-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 16px;
}
.proj-desc {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13.5px;
}
.proj-cat-tag {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
/* ---------- WORK PAGE: FILTER BAR + FULL GRID ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-btn {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--muted);
  cursor: pointer;
  transition: all .2s ease;
}
.filter-btn:hover {
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.filter-btn.active {
  background: var(--accent-bg);
  border-color: var(--accent-bg);
  color: #fff;
}
.work-grid {
  -webkit-column-count: 3;
  -moz-column-count: 3;
  column-count: 3;
  -webkit-column-gap: 22px;
  -moz-column-gap: 22px;
  column-gap: 22px;
}
@media (max-width:900px) {
  .work-grid {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
  }
}
@media (max-width:640px) {
  .work-grid {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
  }
}
.work-card {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
  margin-bottom: 22px;
  width: 100%;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.work-card.is-hidden {
  display: none;
}
.work-thumb {
  position: relative;
  aspect-ratio: 4/3;
  background: #0b0c10;
  overflow: hidden;
}
.work-thumb iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
/* Static-image thumbs (graphic design, etc.) show the full frame at its 
   own ratio instead of being cropped into a fixed 4/3 box, so the grid 
   reads like a collage of whole images. The .static class is the primary 
   hook (works in every browser); the :has() rule below is just a safety 
   net for any image thumb that doesn't carry the class. */
.work-thumb.static {
  aspect-ratio: auto;
}
@supports selector(:has(img)) {
  .work-thumb:has(img) {
    aspect-ratio: auto;
  }
}
.work-thumb.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 10px, transparent 10px 20px), linear-gradient(135deg, var(--teal-dim), var(--accent-dim));
  border-bottom: 1px dashed var(--line);
}
.work-thumb.placeholder span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  padding: 0 16px;
}
.work-thumb img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
  transition: transform .35s ease;
}
.work-thumb img:hover {
  transform: scale(1.04);
}

/* Lightbox / zoom viewer for static images */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 7, 10, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 48px;
  cursor: zoom-out;
  opacity: 0;
  transition: opacity .2s ease;
}
.lightbox-overlay.active {
  display: flex;
  opacity: 1;
}
.lightbox-overlay img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  cursor: default;
}
.lightbox-close {
  position: fixed;
  top: 22px;
  right: 30px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 22px;
  color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  cursor: pointer;
  z-index: 10000;
  transition: background .2s ease;
}
.lightbox-close:hover {
  background: rgba(255,255,255,0.18);
}
.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-family: inherit;
  padding: 0;

  color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  cursor: pointer;
  z-index: 10000;
  transition: background .2s ease;
}
.lightbox-nav:hover {
  background: rgba(255,255,255,0.18);
}
.lightbox-prev {
  left: 20px;
}
.lightbox-next {
  right: 20px;
}
@media (max-width:640px) {
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }
  .lightbox-prev {
    left: 8px;
  }
  .lightbox-next {
    right: 8px;
  }
}
@media (max-width:640px) {
  .lightbox-overlay {
    padding: 20px;
  }
}
.work-body {
  padding: 16px 18px 18px;
}
.work-cat {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  display: block;
}
.work-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
}
.work-desc {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}
.filter-empty {
  display: none;
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
}
/* ---------- SKILLS / TOOLS ---------- */
.tool-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width:720px) {
  .tool-cols {
    grid-template-columns: 1fr;
  }
}
.tag-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--muted);
  transition: all .2s ease;
}
.tag:hover {
  border-color: var(--accent-bg);
  color: var(--accent);
}
/* ---------- TESTIMONIALS ---------- */
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width:860px) {
  .quote-grid {
    grid-template-columns: 1fr;
  }
}
.quote-card {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.quote-mark {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 40px;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.quote-text {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.6;
}
.quote-attr {
  margin-top: 18px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.quote-attr strong {
  color: var(--accent);
  font-weight: 500;
}
.li-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 8px;
  cursor: pointer;
  border-radius: 4px;
  opacity: 0.85;
  transition: opacity .2s ease, transform .2s ease;
}
.li-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 4px;
}
.li-icon:hover, .li-icon:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}
/* ---------- CONTACT ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
	margin-top: -50px;
}
@media (max-width:860px) {
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.contact-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.contact-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bg);
  box-shadow: 0 0 0 4px var(--accent-dim);
}
.contact-heading {
  margin-top: 18px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.08;
  max-width: 13ch;
}
.contact-intro .contact-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 38ch;
  line-height: 1.6;
}
.contact-card {
  position: relative;
  border-radius: 22px;
  padding: 8px 32px;
  background: var(--glass);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
/* soft sweeping gradient border glow */
.contact-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, var(--accent-dim), transparent 40%, transparent 60%, #161c39);
  filter: blur(0.4px);
  opacity: 0.9;
}
.contact-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}
.contact-detail-row:last-child {
  border-bottom: none;
}
.contact-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  flex: 0 0 auto;
}
.contact-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15.05px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid transparent;
  transition: color .3s ease, border-color .3s ease;
}
a.contact-value:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.contact-value-static {
  color: var(--text);
}
.contact-value-line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.contact-value-line .contact-value {
  overflow-wrap: anywhere;
}
.copy-btn {
  position: relative;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color .3s ease, border-color .3s ease, background .3s ease;
}
.copy-btn svg {
  width: 13px;
  height: 13px;
}
.copy-btn:hover {
  color: var(--accent);
  border-color: var(--accent-bg);
  background: var(--accent-dim);
}
.copy-toast {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(0, 0, 0, 0.75);
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.copy-btn.copied .copy-toast {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.copy-btn.copied {
  color: var(--teal);
  border-color: var(--teal);
}
footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 48px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  flex-wrap: wrap;
  gap: 8px;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
:focus-visible {
  outline: 2px solid var(--accent-bg);
  outline-offset: 3px;
}