/* ============================================================
   ROOT + RESET
   ============================================================ */
:root {
  --bg:      #0a0a0a;
  --panel:   #121212;
  --panel2:  #1c1c1c;
  --lime:    #b8ff00;   /* logo color — primary accent */
  --red:     #cc0f1a;
  --blue:    #0036b3;
  --yellow:  #ffd200;
  --green:   #007a3d;
  --orange:  #ff6000;
  --magenta: #cc0066;
  --black:   #0a0a0a;
  --white:   #f0edf5;
  --gray:    #666666;
  --midgray: #333333;
  --bord:    2px solid var(--black);   /* for use on light/colored blocks */
  --bord-d:  2px solid #282828;       /* for use on dark panels */

  --f-display: 'Bebas Neue', Impact, 'Arial Black', sans-serif;
  --f-mono:    'Space Mono', 'Courier New', monospace;
  --f-pixel:   'VT323', monospace;
  --f-serif:   'DM Serif Display', Georgia, serif;

  --nav-h: 52px;
  --pad:   clamp(14px, 4vw, 52px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--f-mono);
  font-size: 13px;
  line-height: 1.65;
  cursor: none;
  overflow-x: hidden;
}

a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ============================================================
   CUSTOM CURSOR — lime green, always visible on red/black/blue
   ============================================================ */
.cursor {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 2px solid var(--lime);
  border-radius: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .15s, height .15s, border-color .15s, background .15s, transform .15s;
}
.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 0;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
}
.cursor.hovered {
  width: 52px;
  height: 52px;
  background: rgba(184, 255, 0, .08);
  border-color: var(--white);
  transform: translate(-50%, -50%) rotate(45deg);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  background: var(--bg);
  border-bottom: 2px solid #1e1e1e;
}

.nav-logo {
  font-family: var(--f-pixel);
  font-size: 32px;
  color: var(--lime);
  line-height: 1;
  transition: color .2s, transform .2s;
}
.nav-logo:hover { color: var(--yellow); transform: rotate(45deg); }

.nav-links { display: flex; gap: 32px; }

.nav-link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--gray);
  text-transform: uppercase;
  transition: color .2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--lime);
  transition: width .3s ease;
}
.nav-link:hover, .nav-link.is-active { color: var(--white); }
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }

.nav-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; letter-spacing: .1em;
  color: var(--gray); text-transform: uppercase;
}
.blink { color: var(--lime); animation: blink 1.1s step-end infinite; }

/* ============================================================
   MASTHEAD
   ============================================================ */
.masthead {
  margin-top: var(--nav-h);
  padding: 6px var(--pad);
  background: var(--blue);
  border-bottom: 3px solid var(--black);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  font-family: var(--f-mono);
  z-index: 10;
  overflow: hidden;
}
.masthead-title {
  font-family: var(--f-display);
  font-size: 20px;
  letter-spacing: .06em;
  color: var(--lime);
  white-space: nowrap;
  flex-shrink: 0;
  -webkit-text-stroke: 1px var(--black);
}
.masthead-pipe { width: 1px; height: 12px; background: rgba(255,255,255,.2); flex-shrink: 0; }
.masthead em   { font-style: normal; color: var(--lime); }
.masthead-fill { flex: 1; }

/* ============================================================
   TICKER BANDS
   ============================================================ */
.ticker-band {
  overflow: hidden;
  white-space: nowrap;
  border-top: 2px solid #1c1c1c;
  border-bottom: 2px solid #1c1c1c;
  padding: 6px 0;
  background: var(--bg);
}
.ticker-band.t-rev   .ticker-content { animation-direction: reverse; }
.ticker-band.t-fast  .ticker-content { animation-duration: 14s; }
.ticker-band.t-slow  .ticker-content { animation-duration: 32s; }
.ticker-band.t-hot {
  background: var(--red);
  border-color: var(--red);
}
.ticker-band.t-lime {
  background: var(--lime);
  border-top: var(--bord);
  border-bottom: var(--bord);
}
.ticker-band.t-lime .ticker-content { color: var(--black); animation-duration: 20s; }

.ticker-track { display: flex; }
.ticker-content {
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: .14em;
  flex-shrink: 0;
  animation: ticker-scroll 24s linear infinite;
  color: var(--lime);
}
.ticker-band.t-hot  .ticker-content { color: var(--white); animation-duration: 16s; }

/* ============================================================
   HERO — commercial shop front, dark base
   ============================================================ */

/* Red banner */
.hero-banner {
  background: var(--red);
  border-bottom: 3px solid var(--black);
  padding: 20px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-name {
  font-family: var(--f-display);
  font-size: clamp(72px, 12vw, 168px);
  line-height: .88;
  text-transform: uppercase;
  color: var(--yellow);
  -webkit-text-stroke: 3px var(--black);
  position: relative;
  display: inline-block;
}

.hero-banner-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}
.banner-year {
  font-family: var(--f-display);
  font-size: 48px;
  color: var(--white);
  -webkit-text-stroke: 1px var(--black);
  line-height: 1;
}
.banner-label {
  font-size: 9px;
  letter-spacing: .2em;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  font-family: var(--f-mono);
}

/* Blue tagline band */
.hero-tagline {
  background: var(--blue);
  border-bottom: 3px solid var(--black);
  padding: 9px var(--pad);
  font-family: var(--f-display);
  font-size: clamp(14px, 2vw, 22px);
  letter-spacing: .12em;
  color: var(--white);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-tagline .tl-sep { color: var(--lime); }

/* Hero body */
.hero-body {
  display: flex;
  min-height: 380px;
  border-bottom: var(--bord-d);
}

/* Vertical color strips */
.hero-sidebar {
  display: flex;
  border-right: 3px solid var(--black);
  flex-shrink: 0;
}
.sidebar-col {
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  font-family: var(--f-display);
  font-size: 15px;
  letter-spacing: .1em;
  color: var(--black);
  border-right: 2px solid var(--black);
  cursor: none;
  user-select: none;
}
.sidebar-col:last-child { border-right: none; }
.sc-lime    { background: var(--lime);    color: var(--black); }
.sc-red     { background: var(--red);     color: var(--white); }
.sc-blue    { background: var(--blue);    color: var(--white); }
.sc-yellow  { background: var(--yellow);  color: var(--black); }
.sc-green   { background: var(--green);   color: var(--white); }
.sc-magenta { background: var(--magenta); color: var(--white); }

/* Main info block — dark */
.hero-main {
  flex: 1;
  padding: 24px 28px;
  border-right: var(--bord-d);
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--panel);
  animation: slide-left .7s cubic-bezier(.22,1,.36,1) both;
}

/* Info box */
.info-box {
  border: var(--bord-d);
  background: var(--panel2);
  position: relative;
}
.info-box-label {
  background: var(--lime);
  color: var(--black);
  font-family: var(--f-display);
  font-size: 12px;
  letter-spacing: .15em;
  padding: 2px 10px;
  display: inline-block;
  position: absolute;
  top: -1px; left: -1px;
}
.info-box-body { padding: 28px 14px 14px; }

/* Logo box — lime green to match their actual logo */
.logo-box {
  width: 72px;
  height: 72px;
  border: 2px solid var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-pixel);
  font-size: 12px;
  color: var(--lime);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1.4;
  background: var(--panel2);
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
}
.logo-box:hover { background: var(--lime); color: var(--black); }

.hero-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

/* Serif italic blurb on dark panel */
.hero-blurb {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 15px;
  color: rgba(240, 237, 245, .78);
  line-height: 1.9;
}

/* Role tags */
.hero-roles { display: flex; gap: 6px; flex-wrap: wrap; }
.role-tag {
  font-family: var(--f-display);
  font-size: 16px;
  letter-spacing: .08em;
  padding: 2px 12px;
  border: var(--bord);
  color: var(--white);
}
.tag-lime    { background: var(--lime);    color: var(--black); border-color: var(--lime); }
.tag-red     { background: var(--red);     border-color: var(--red); }
.tag-blue    { background: var(--blue);    border-color: var(--blue); }
.tag-yellow  { background: var(--yellow);  color: var(--black); border-color: var(--yellow); }

/* CTA Button */
.btn-ugly {
  display: inline-block;
  padding: 11px 24px;
  background: var(--lime);
  color: var(--black);
  font-family: var(--f-display);
  font-size: 18px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 2px solid var(--lime);
  width: fit-content;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-ugly:hover {
  background: var(--black);
  color: var(--lime);
}

/* Photo column — dark */
.hero-photo-col {
  width: 260px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  background: var(--panel);
  animation: slide-right .7s cubic-bezier(.22,1,.36,1) .2s both;
}

.photo-wrap { position: relative; width: 100%; }

.photo-box {
  width: 100%;
  aspect-ratio: 3/4;
  border: var(--bord-d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 20px;
  letter-spacing: .1em;
  color: var(--gray);
  text-align: center;
  background: var(--panel2);
  position: relative;
  overflow: hidden;
}
.photo-box::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 20px,
    rgba(255,255,255,.02) 20px, rgba(255,255,255,.02) 21px
  );
}
.photo-box span { position: relative; z-index: 1; }

.photo-label {
  font-size: 9px;
  letter-spacing: .18em;
  color: var(--gray);
  text-transform: uppercase;
  text-align: right;
  margin-top: 4px;
}

/* Stickers */
.photo-stickers { display: flex; flex-wrap: wrap; gap: 4px; width: 100%; }
.sticker {
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: .08em;
  padding: 3px 10px;
  border: var(--bord);
  text-transform: uppercase;
  display: inline-block;
}
.sticker-lime    { background: var(--lime);    color: var(--black); border-color: var(--lime); }
.sticker-red     { background: var(--red);     color: var(--white); border-color: var(--red); }
.sticker-blue    { background: var(--blue);    color: var(--white); border-color: var(--blue); }
.sticker-yellow  { background: var(--yellow);  color: var(--black); border-color: var(--yellow); }

/* ============================================================
   GLITCH
   ============================================================ */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  font-family: inherit; font-size: inherit;
  line-height: inherit; text-transform: inherit;
  -webkit-text-stroke: inherit;
  pointer-events: none;
}
.glitch::before { color: var(--blue);  -webkit-text-stroke: 3px var(--black); animation: glitch-a 6s 2s infinite; }
.glitch::after  { color: var(--lime);  -webkit-text-stroke: 3px var(--black); animation: glitch-b 6s 2.2s infinite; }

/* ============================================================
   STATS ROW — dark bg, colored outlined numbers
   ============================================================ */
.stats-row {
  display: flex;
  border-top: var(--bord-d);
  border-bottom: var(--bord-d);
  background: var(--panel);
}
.stat {
  flex: 1;
  padding: 20px var(--pad);
  border-right: var(--bord-d);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat:last-child { border-right: none; }

.stat-num {
  font-family: var(--f-display);
  font-size: clamp(44px, 5.5vw, 68px);
  line-height: 1;
  display: block;
}
.stat:nth-child(1) .stat-num { color: var(--red);    -webkit-text-stroke: 1px var(--red); }
.stat:nth-child(2) .stat-num { color: var(--lime);   -webkit-text-stroke: 1px var(--lime); }
.stat:nth-child(3) .stat-num { color: var(--blue);   -webkit-text-stroke: 1px var(--blue); }
.stat:nth-child(4) .stat-num { color: var(--yellow);  -webkit-text-stroke: 1px var(--yellow); }

.stat-label {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gray);
  display: block;
}

/* ============================================================
   WORK SECTION
   ============================================================ */
.work {
  padding: 0;
  position: relative;
  border-bottom: var(--bord-d);
}

.work-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: var(--bord-d);
  padding: 12px var(--pad);
  background: var(--bg);
}

.work-label {
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: .2em;
  color: var(--lime);
  text-transform: uppercase;
}

.work-count {
  font-family: var(--f-pixel);
  font-size: 24px;
  color: var(--gray);
}

/* ============================================================
   PROJECT GRID
   ============================================================ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

/* Card base — dark */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 300px;
  cursor: none;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
  border-right: var(--bord-d);
  border-bottom: var(--bord-d);
  background: var(--panel);
}
.card:nth-child(3n) { border-right: none; }
.card.visible { opacity: 1; transform: translateY(0); }

/* Stagger */
.card:nth-child(1) { transition-delay: .00s; }
.card:nth-child(2) { transition-delay: .07s; }
.card:nth-child(3) { transition-delay: .14s; }
.card:nth-child(4) { transition-delay: .21s; }
.card:nth-child(5) { transition-delay: .28s; }
.card:nth-child(6) { transition-delay: .35s; }

.c-tall { grid-row: span 2; }
.c-wide { grid-column: span 2; }

/* Category strip */
.card-cat-strip {
  padding: 5px 12px;
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: .15em;
  text-transform: uppercase;
  border-bottom: var(--bord);
  flex-shrink: 0;
}
.c-red    .card-cat-strip { background: var(--red);     color: var(--white); }
.c-blue   .card-cat-strip { background: var(--blue);    color: var(--white); }
.c-green  .card-cat-strip { background: var(--green);   color: var(--white); }
.c-yellow .card-cat-strip { background: var(--orange);  color: var(--white); }
.c-orange .card-cat-strip { background: var(--magenta); color: var(--white); }
.c-purple .card-cat-strip { background: var(--lime);    color: var(--black); }

/* Thumb */
.card-thumb {
  flex: 1;
  min-height: 160px;
  position: relative;
  overflow: hidden;
  transition: transform .5s ease;
}
.card:hover .card-thumb { transform: scale(1.04); }

.c-red    .card-thumb { background: linear-gradient(135deg, #e8101e 0%, #7a0010 100%); }
.c-blue   .card-thumb { background: linear-gradient(135deg, #0044d4 0%, #001870 100%); }
.c-green  .card-thumb { background: linear-gradient(135deg, #009948 0%, #004520 100%); }
.c-yellow .card-thumb { background: linear-gradient(135deg, #ff6600 0%, #aa2200 100%); }
.c-orange .card-thumb { background: linear-gradient(135deg, #cc0077 0%, #660033 100%); }
.c-purple .card-thumb { background: linear-gradient(135deg, #1e1e1e 0%, #0a0a0a 100%); }

/* Hatch overlay */
.card-thumb::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 12px,
    rgba(0,0,0,.14) 12px, rgba(0,0,0,.14) 13px
  );
  transition: opacity .4s;
  z-index: 1;
}
.card:hover .card-thumb::before { opacity: 0; }

/* Starburst — lime on blue/dark, yellow on red/green */
.card-burst {
  position: absolute;
  top: 8px; right: 8px;
  width: 54px; height: 54px;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 26px;
  color: var(--black);
  z-index: 3;
  clip-path: polygon(
    50% 0%,56% 16%,68% 5%,66% 22%,80% 14%,74% 30%,91% 28%,
    80% 41%,98% 47%,83% 54%,94% 65%,77% 66%,81% 83%,65% 78%,
    62% 96%,50% 84%,38% 96%,35% 78%,19% 83%,23% 66%,6% 65%,
    17% 54%,2% 47%,20% 41%,9% 28%,26% 30%,20% 14%,34% 22%,
    32% 5%,44% 16%
  );
  animation: burst-pulse 3s ease-in-out infinite;
  pointer-events: none;
}
/* Lime bursts on cards where yellow would clash */
.c-blue   .card-burst,
.c-yellow .card-burst,
.c-orange .card-burst,
.c-purple .card-burst { background: var(--lime); }

/* Thumb metadata */
.thumb-meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  padding: 4px 10px;
  background: rgba(0,0,0,.6);
  font-family: var(--f-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
  color: rgba(255,255,255,.75);
  z-index: 2;
  pointer-events: none;
  transition: opacity .3s;
}
.card:hover .thumb-meta { opacity: 0; }

/* Card info — dark panel */
.card-info {
  padding: 12px 14px 16px;
  background: var(--panel);
  border-top: var(--bord-d);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-cat {
  font-size: 8px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gray);
}

/* Title block */
.card-title-wrap {
  margin: 0 -14px;
  padding: 4px 14px;
}
.c-red    .card-title-wrap { background: var(--red); }
.c-blue   .card-title-wrap { background: var(--blue); }
.c-green  .card-title-wrap { background: var(--green); }
.c-yellow .card-title-wrap { background: var(--orange); }
.c-orange .card-title-wrap { background: var(--magenta); }
.c-purple .card-title-wrap { background: var(--panel2); border-top: 2px solid var(--lime); }

.card-title {
  font-family: var(--f-display);
  font-size: 26px;
  letter-spacing: .03em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--yellow);
  display: block;
}
/* Lime title on cards that use lime/yellow in their thumb */
.c-yellow .card-title,
.c-orange .card-title { color: var(--white); }
.c-purple .card-title { color: var(--lime); }

.card-desc {
  font-size: 11px;
  color: #555;
  line-height: 1.65;
  margin-top: 2px;
}

.card-cta {
  display: inline-block;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray);
  padding: 4px 0;
  border-bottom: 1px solid #333;
  width: fit-content;
  transition: color .2s, border-color .2s;
}
.c-red    .card-cta:hover { color: var(--red);   border-color: var(--red); }
.c-blue   .card-cta:hover { color: var(--blue);  border-color: var(--blue); }
.c-green  .card-cta:hover { color: var(--lime);  border-color: var(--lime); }
.c-yellow .card-cta:hover { color: var(--orange); border-color: var(--orange); }
.c-orange .card-cta:hover { color: var(--magenta); border-color: var(--magenta); }
.c-purple .card-cta:hover { color: var(--lime);  border-color: var(--lime); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--pad);
  border-top: var(--bord-d);
  background: var(--bg);
}
.footer-name {
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--lime);
}
.footer-copy {
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--gray);
  text-transform: uppercase;
  margin-top: 2px;
}
.footer-r { display: flex; gap: 20px; }
.footer-link {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color .2s;
}
.footer-link:hover { color: var(--lime); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  margin-top: var(--nav-h);
  overflow: hidden;
  position: relative;
}

.about-banner {
  background: var(--red);
  padding: 28px var(--pad) 24px;
  border-bottom: 3px solid var(--black);
}
.about-eyebrow {
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 10px;
  font-family: var(--f-mono);
}
.about-title {
  font-family: var(--f-display);
  font-size: clamp(80px, 15vw, 200px);
  line-height: .88;
  text-transform: uppercase;
  color: var(--yellow);
  -webkit-text-stroke: 3px var(--black);
  animation: slide-left .8s cubic-bezier(.22,1,.36,1) both;
}
.about-title-sub {
  font-family: var(--f-pixel);
  font-size: 28px;
  color: var(--lime);
  letter-spacing: .2em;
  margin-top: 14px;
  animation: slide-left .8s cubic-bezier(.22,1,.36,1) .15s both;
}

.about-tagline {
  background: var(--blue);
  border-bottom: 3px solid var(--black);
  padding: 9px var(--pad);
  font-family: var(--f-display);
  font-size: 18px;
  letter-spacing: .12em;
  color: var(--white);
  text-transform: uppercase;
}

.about-body { padding: 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  border-bottom: var(--bord-d);
}

.about-photo-col {
  position: sticky;
  top: var(--nav-h);
  height: fit-content;
  border-right: var(--bord-d);
  padding: 28px;
  background: var(--panel);
}

.about-photo-box {
  width: 100%;
  aspect-ratio: 3/4;
  border: var(--bord-d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 20px;
  letter-spacing: .1em;
  color: var(--gray);
  background: var(--panel2);
  position: relative;
  overflow: hidden;
}
.about-photo-box::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,.02) 20px, rgba(255,255,255,.02) 21px);
}
.about-photo-box span { position: relative; z-index: 1; }

.about-text-col { display: flex; flex-direction: column; }

.about-block {
  padding: 28px;
  border-bottom: var(--bord-d);
  background: var(--panel);
}
.about-block:last-child { border-bottom: none; }

.section-label {
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: .22em;
  color: var(--black);
  text-transform: uppercase;
  background: var(--lime);
  padding: 3px 10px;
  display: inline-block;
  margin-bottom: 16px;
}

.about-intro {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 15px;
  line-height: 2;
  color: rgba(240, 237, 245, .78);
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.skill {
  font-size: 11px;
  letter-spacing: .06em;
  padding: 7px 12px;
  border: var(--bord-d);
  color: var(--gray);
  background: var(--panel2);
  transition: background .2s, color .2s, border-color .2s;
}
.skill:hover { background: var(--lime); color: var(--black); border-color: var(--lime); }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact { border-top: var(--bord-d); }

.contact-banner {
  background: var(--blue);
  padding: 28px var(--pad);
  border-bottom: 3px solid var(--black);
}
.contact-title {
  font-family: var(--f-display);
  font-size: clamp(60px, 9vw, 130px);
  line-height: .9;
  text-transform: uppercase;
  color: var(--lime);
  -webkit-text-stroke: 2px var(--black);
}
.contact-title em {
  font-style: normal;
  color: var(--white);
  -webkit-text-stroke: 2px var(--black);
}
.contact-sub {
  font-size: 12px;
  color: rgba(255,255,255,.7);
  letter-spacing: .06em;
  margin-top: 10px;
  font-family: var(--f-mono);
}

.contact-body {
  padding: 32px var(--pad) 60px;
  background: var(--panel);
}

.contact-methods {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.cm {
  display: inline-block;
  padding: 9px 20px;
  border: var(--bord-d);
  font-family: var(--f-display);
  font-size: 16px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray);
  background: var(--panel2);
  transition: background .2s, color .2s, border-color .2s;
}
.cm:hover { background: var(--lime); color: var(--black); border-color: var(--lime); }

.contact-form { display: flex; flex-direction: column; gap: 20px; max-width: 560px; }
.f-group { display: flex; flex-direction: column; gap: 6px; }
.f-group label {
  font-size: 9px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gray); font-family: var(--f-mono);
}
.f-group input, .f-group textarea {
  background: var(--panel2);
  border: var(--bord-d);
  padding: 10px 12px;
  color: var(--white);
  font-family: var(--f-mono);
  font-size: 14px;
  outline: none;
  width: 100%;
  transition: border-color .2s;
}
.f-group input:focus, .f-group textarea:focus { border-color: var(--lime); }
.f-group input::placeholder, .f-group textarea::placeholder { color: var(--gray); }
.f-group textarea { resize: vertical; min-height: 110px; }

.btn-send {
  align-self: flex-start;
  padding: 12px 32px;
  background: var(--lime);
  border: 2px solid var(--lime);
  color: var(--black);
  font-family: var(--f-display);
  font-size: 20px;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: none;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-send:hover { background: var(--black); color: var(--lime); }

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes slide-left {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slide-right {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes glitch-a {
  0%, 80%, 100% { clip-path: inset(0 0 100% 0); transform: translate(0); opacity: 0; }
  81% { clip-path: inset(10% 0 68% 0); transform: translate(-6px, 0); opacity: .85; }
  83% { clip-path: inset(55% 0 15% 0); transform: translate(6px, 0);  opacity: .85; }
  85% { clip-path: inset(0 0 100% 0); opacity: 0; }
}
@keyframes glitch-b {
  0%, 77%, 100% { clip-path: inset(100% 0 0 0); transform: translate(0); opacity: 0; }
  78% { clip-path: inset(65% 0 15% 0); transform: translate(6px, 0);  opacity: .85; }
  80% { clip-path: inset(15% 0 65% 0); transform: translate(-6px, 0); opacity: .85; }
  82% { clip-path: inset(100% 0 0 0); opacity: 0; }
}
@keyframes burst-pulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%       { transform: scale(1.08) rotate(5deg); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero-body { flex-direction: column; }
  .hero-sidebar { border-right: none; border-bottom: 3px solid #1e1e1e; height: 44px; }
  .sidebar-col { writing-mode: horizontal-tb; width: auto; flex: 1; height: 100%; border-right: 2px solid var(--black); border-bottom: none; font-size: 12px; }
  .hero-photo-col { width: 100%; flex-direction: row; justify-content: flex-start; align-items: flex-start; }
  .photo-wrap { width: 200px; }
  .hero-main { border-right: none; border-bottom: var(--bord-d); }
  .stats-row { flex-wrap: wrap; }
  .stat { min-width: 50%; border-bottom: var(--bord-d); }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .c-tall    { grid-row: span 1; }
  .c-wide    { grid-column: span 2; }
  .card:nth-child(3n) { border-right: var(--bord-d); }
  .card:nth-child(even) { border-right: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo-col { position: static; border-right: none; border-bottom: var(--bord-d); }
}
@media (max-width: 640px) {
  .hero-sidebar { display: none; }
  .work-grid  { grid-template-columns: 1fr; }
  .c-wide     { grid-column: span 1; }
  .card:nth-child(n) { border-right: none; }
  .nav-status { display: none; }
  .nav-links  { gap: 18px; }
  .footer { flex-direction: column; gap: 12px; align-items: flex-start; }
  .contact-methods { flex-direction: column; }
  .stats-row { flex-direction: column; }
  .stat { min-width: 100%; border-right: none; }
  .masthead > *:not(.masthead-title) { display: none; }
}
