@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/ibm-plex-mono-400.ttf') format('truetype')}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/ibm-plex-mono-500.ttf') format('truetype')}
@font-face{font-family:'IBM Plex Sans Condensed';font-style:normal;font-weight:300;font-display:swap;src:url('../fonts/ibm-plex-sans-condensed-300.ttf') format('truetype')}
@font-face{font-family:'IBM Plex Sans Condensed';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/ibm-plex-sans-condensed-400.ttf') format('truetype')}
@font-face{font-family:'IBM Plex Sans Condensed';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/ibm-plex-sans-condensed-500.ttf') format('truetype')}

/* Shared accessibility and interaction foundations. */
html,
body {
  background-color: #000 !important;
  color: #f2f1ec;
  color-scheme: dark;
  overflow-x: hidden;
  overflow-x: clip;
}

:focus-visible {
  outline: 2px solid #4abed5;
  outline-offset: 4px;
}

img,
video {
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Labels that previously depended on a light page surface need light contrast. */
.project-label {
  color: rgba(255, 255, 255, .78) !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .65);
}

/* Adapted Scott Wolfe identity: original SW mark + site-system lockup. */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  line-height: 1;
}
.brand-mark {
  position: relative;
  display: block;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
}
.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: .94;
  clip-path: inset(0);
  transition: transform .55s cubic-bezier(.16,1,.3,1), opacity .25s ease;
  animation: brand-resolve .8s cubic-bezier(.16,1,.3,1) both;
}
.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 6px;
  height: 6px;
  pointer-events: none;
  opacity: .6;
  transition: transform .4s cubic-bezier(.16,1,.3,1), opacity .25s ease;
}
.brand-mark::before { left: -2px; top: -2px; border-left: 1px solid #fff; border-top: 1px solid #fff; }
.brand-mark::after { right: -2px; bottom: -2px; border-right: 1px solid #fff; border-bottom: 1px solid #fff; }
.brand-wordmark {
  display: grid;
  gap: 4px;
  padding-left: 10px;
  border-left: 1px solid rgba(255,255,255,.24);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.brand-wordmark b { font-weight: 400; }
.brand:hover .brand-mark img { transform: rotate(7deg) scale(1.025); opacity: 1; }
.brand:hover .brand-mark::before { transform: translate(-2px,-2px); opacity: 1; }
.brand:hover .brand-mark::after { transform: translate(2px,2px); opacity: 1; }
@keyframes brand-resolve {
  from { opacity: 0; clip-path: inset(0 100% 0 0); transform: rotate(-5deg); }
  to { opacity: .94; clip-path: inset(0); transform: none; }
}
@media (max-width: 480px) {
  .brand { gap: 7px; }
  .brand-mark { width: 32px; height: 32px; flex-basis: 32px; }
  .brand-wordmark { padding-left: 7px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-mark img { animation: none; transition: none; }
}

/* Keep the shared navigation available throughout every page. */
.shell > header {
  position: sticky;
  top: 0;
  z-index: 1000;
  isolation: isolate;
  background: #000;
}

/* Shared small-label scale. */
nav a,
.kicker,
.eyebrow,
.section-num,
.tag,
.label,
.caption,
.media-caption,
.media-caption-inline,
.next-label,
.project-label,
.hero-meta,
.card-meta,
.work-head span,
.proof-item span,
.about .tiny,
.meta,
.meta dt,
.role-grid dt,
.stat-label,
.flow b,
.quote cite,
.exp-role,
.job .company,
.date,
.download,
.roleline,
.work-filter,
.chips span,
.step-no,
.testimonial-person,
.testimonial-status,
.contact-kicker,
.contact-panel-top,
.contact-panel-foot {
  font-size: 11px !important;
}

/* Match every page-level H1 to the homepage hero scale. */
body:not(.home-page) .hero h1,
body:not(.home-page) .project-hero h1,
body:not(.home-page) .resume-top h1,
body:not(.home-page) .contact-hero h1 {
  font-size: clamp(52px, 7.4vw, 108px) !important;
  line-height: .86 !important;
  letter-spacing: -.055em !important;
}
@media (max-width: 900px) {
  body:not(.home-page) .hero h1,
  body:not(.home-page) .project-hero h1,
  body:not(.home-page) .resume-top h1,
  body:not(.home-page) .contact-hero h1 {
    font-size: clamp(46px, 13vw, 80px) !important;
  }
}

/* Shared contact reveal. */
.contact-panel {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  align-content: space-between;
  padding: clamp(22px, 4vw, 64px);
  background: #000;
  color: #f2f1ec;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: transform .8s cubic-bezier(.16,1,.3,1), opacity .35s ease, visibility .8s;
}
.contact-panel::before {
  content: "CONTACT / OPEN CHANNEL / 2026";
  position: absolute;
  inset: 0;
  padding: 48px;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 5px, rgba(255,255,255,.025) 6px);
  color: rgba(255,255,255,.1);
  font: 9px "IBM Plex Mono", monospace;
  letter-spacing: .12em;
  pointer-events: none;
}
.contact-panel.is-open { opacity: 1; visibility: visible; transform: none; }
.contact-panel-top,.contact-panel-main,.contact-panel-foot{position:relative;z-index:1}
.contact-panel-top{display:flex;justify-content:space-between;align-items:center;font:9px "IBM Plex Mono",monospace;letter-spacing:.1em;text-transform:uppercase}
.contact-close{width:44px;height:44px;border:1px solid #333;background:#000;color:#fff;font:18px "IBM Plex Mono",monospace}
.contact-panel-main{max-width:1150px}
.contact-kicker{margin-bottom:18px;font:9px "IBM Plex Mono",monospace;letter-spacing:.12em;text-transform:uppercase;color:#8d8c87}
.contact-panel h2{margin:0 0 30px;font:300 clamp(56px,10vw,150px)/.84 "IBM Plex Sans Condensed","Arial Narrow",sans-serif;letter-spacing:-.065em}
.contact-actions{display:flex;flex-wrap:wrap;gap:10px}
.contact-action{display:inline-flex;align-items:center;min-height:48px;padding:0 18px;border:1px solid #353535;background:#000;color:#fff;font:9px "IBM Plex Mono",monospace;letter-spacing:.1em;text-transform:uppercase}
.contact-action:hover{background:#fff;color:#000}
.contact-panel-foot{display:flex;justify-content:space-between;gap:24px;font:9px/1.6 "IBM Plex Mono",monospace;letter-spacing:.08em;text-transform:uppercase;color:#8d8c87}
body.contact-open{overflow:hidden!important}
@media(max-width:600px){.contact-panel-foot{flex-direction:column}.contact-panel h2{font-size:clamp(48px,18vw,86px)}}
@media(prefers-reduced-motion:reduce){.contact-panel{transition:none}}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sw-trail { display: none !important; }
}

/* Shared fine-pointer cursor states. */
@media (pointer: fine) {
  body, a, button { cursor: none; }
  #sw-cursor {
    position: fixed; left: 0; top: 0; z-index: 99999;
    width: 12px; height: 12px; transform: translate(-50%, -50%);
    pointer-events: none; mix-blend-mode: difference;
    transition: width .16s ease, height .16s ease, border-radius .16s ease;
  }
  #sw-cursor .core { position: absolute; inset: 3px; background: #fff; }
  #sw-cursor .ring { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.85); }
  #sw-cursor .bracket {
    position: absolute; width: 7px; height: 7px; border-color: #fff;
    border-style: solid; opacity: 0; transition: opacity .12s ease;
  }
  #sw-cursor .b1 { left: -3px; top: -3px; border-width: 1px 0 0 1px; }
  #sw-cursor .b2 { right: -3px; top: -3px; border-width: 1px 1px 0 0; }
  #sw-cursor .b3 { left: -3px; bottom: -3px; border-width: 0 0 1px 1px; }
  #sw-cursor .b4 { right: -3px; bottom: -3px; border-width: 0 1px 1px 0; }
  #sw-cursor.state-link { width: 20px; height: 20px; border-radius: 50%; }
  #sw-cursor.state-link .core { inset: 8px; }
  #sw-cursor.state-media { width: 34px; height: 34px; }
  #sw-cursor.state-media .ring { opacity: 0; }
  #sw-cursor.state-media .bracket { opacity: 1; }
  #sw-cursor.state-project { width: 40px; height: 40px; }
  #sw-cursor.state-project .ring { border-radius: 50%; }
  #sw-cursor.state-project .core { inset: 17px; }
  #sw-cursor-label {
    position: fixed; left: 0; top: 0; z-index: 99999; pointer-events: none;
    transform: translate(18px,14px); font-family: "IBM Plex Mono", monospace;
    font-size: 8px; letter-spacing: .08em; text-transform: uppercase;
    color: #fff; mix-blend-mode: difference; opacity: 0;
    transition: opacity .12s ease; white-space: nowrap;
  }
  #sw-cursor-label.show { opacity: .55; }
  .sw-trail {
    position: fixed; left: 0; top: 0; z-index: 99998; width: 4px; height: 4px;
    background: #fff; border-radius: 50%; pointer-events: none;
    mix-blend-mode: difference; transform: translate(-50%, -50%); opacity: .18;
  }
}

.inline-zoom-media {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  touch-action: pan-y;
  isolation: isolate;
}
.inline-zoom-media::after {
  content: "CLICK TO ZOOM";
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  padding: 8px 10px;
  background: rgba(8,10,12,.82);
  color: #fff;
  font: 8px/1.1 "IBM Plex Mono", monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
  pointer-events: none;
  transition: opacity .2s ease;
}
.inline-zoom-media.is-zoomed { cursor: grab; touch-action: none; }
.inline-zoom-media.is-dragging { cursor: grabbing; }
.inline-zoom-media.is-zoomed::after { content: "CLICK AGAIN TO RESET"; opacity: .68; }
.inline-zoom-media > img[data-inline-zoom] {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: 0 0;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}
.inline-zoom-media .zoom-controls { display: none !important; }
.inline-zoom-media:focus-visible { outline: 1px solid #fff; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .inline-zoom-media > img[data-inline-zoom] { will-change: auto; }
}

/* Shared case-study metadata values. */
.role-grid dd,
.meta dd { font-size: 15px !important; line-height: 1.4 !important; }

/* One shared top-level footer across the portfolio. */
.site-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-top:0;
  padding:20px 0 30px;
  border-top:1px solid var(--line,#292927);
  color:var(--muted,#92918c);
  font:9px/1.5 "IBM Plex Mono",monospace;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.site-footer a{color:inherit;text-decoration:none;transition:color .2s ease}
.site-footer a:hover,.site-footer a:focus-visible{color:var(--fg,var(--text,#f2f1ec));outline:none}
@media(max-width:480px){
  .site-footer{flex-direction:column;align-items:flex-start;gap:8px;padding-bottom:24px}
}
