/* ============================================================
   MICK VALENTINE — style.css v17
   Vernacular Township Pop-Art · Tactile Distressed Paper · Spaza Couture
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lilita+One&family=Rubik+Marker+Hatch&family=Permanent+Marker&family=Changa+One:ital@0;1&family=Anton&family=Bebas+Neue&family=Space+Mono:wght@400;700&family=Syne:wght@400;500;600;700;800&display=swap');

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  --white:        #fdfdfa;
  --offwhite:     #f2efe6;
  --paper:        #f5f2e8;
  --ink:          #0e0f12;
  --pink:         #e98bb0;
  --mid:          #6b6d72;
  --light:        #d2d0c9;
  --red:          #d03222; /* Township brick red */
  --yellow:       #ffd100; /* Sunflower yellow */
  --blue:         #091a46; /* Deep navy spaza blue */
  --teal:         #117a82; /* Enamel teal */

  --font-block:      'Lilita One', 'Changa One', sans-serif;
  --font-signwriter: 'Rubik Marker Hatch', 'Permanent Marker', cursive;
  --font-heavy:      'Anton', sans-serif;
  --font-mono:       'Space Mono', monospace;
  --font-sans:       'Syne', sans-serif;

  --ease:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:  cubic-bezier(0.55, 0, 1, 0.45);
}

/* ── Reset & Body Background ────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: 
    radial-gradient(circle at 18% 22%, rgba(255, 235, 180, 0.4) 0%, transparent 42%),
    radial-gradient(ellipse at 80% 70%, rgba(255, 255, 255, 0.28) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 50%, #178d95 0%, #117a82 60%, #0a484e 100%);
  background-attachment: fixed;
  background-size: cover;
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* Scratchy Screen-Print Grit & Fiber Overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: 
    radial-gradient(rgba(0, 0, 0, 0.12) 1.2px, transparent 0),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 2px, transparent 2px, transparent 5px),
    repeating-linear-gradient(-35deg, rgba(0, 0, 0, 0.04) 0px, rgba(0, 0, 0, 0.04) 1px, transparent 1px, transparent 4px);
  background-size: 6px 6px, 110px 110px, 80px 80px;
  pointer-events: none;
  opacity: 0.95;
}

a            { color: inherit; text-decoration: none; }
img          { display: block; width: 100%; height: 100%; object-fit: cover; }
button       { cursor: none; border: none; background: none; font-family: inherit; color: inherit; }

/* ── Custom Cursor ───────────────────────────────────────── */
#cursor {
  position: fixed;
  width: 12px; height: 12px;
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1000001; /* Updated above lightbox */
  transform: translate(-50%,-50%);
  transition: width .2s var(--ease), height .2s var(--ease);
}

#cursor-ring {
  position: fixed;
  width: 44px; height: 44px;
  border: 2px solid var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1000000; /* Updated above lightbox */
  transform: translate(-50%,-50%);
  opacity: 0.6;
  transition: width .4s var(--ease), height .4s var(--ease), opacity .3s;
}
body.hovering #cursor      { width: 18px; height: 18px; background: var(--red); }
body.hovering #cursor-ring { width: 58px; height: 58px; opacity: 0.3; }

/* ── 3D Canvas Layer Position ────────────────────────────── */
#canvas-container {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
#bg-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hand-drawn-line {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════
   SPAZA-STYLE NAVIGATION
   ═══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════
   SPAZA-STYLE NAVIGATION
   ═══════════════════════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000 !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 48px;
  background-color: transparent;
  pointer-events: auto !important;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  background: var(--red);
  padding: 8px 12px;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0px var(--ink);
  transform: rotate(-2deg);
  transition: transform .25s var(--ease);
}

.nav-logo svg {
  display: block;
  width: 36px;
  height: auto;
  fill: var(--yellow);
  shape-rendering: geometricPrecision;
}

.nav-logo:hover {
  transform: rotate(0deg) scale(1.08);
}

/* ── NAV LINKS FIX ───────────────────────────────────────── */
.nav-links {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 16px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nav-links li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nav-links a {
  font-family: var(--font-block);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(14, 15, 18, 0.55);
  padding: 6px 16px;
  border: 2px solid var(--ink);
  border-radius: 3px;
  box-shadow: 3px 3px 0px var(--ink);
  transition: all .25s var(--ease);
  position: relative;
  display: inline-block;
}

.nav-links a:hover, 
.nav-links a.active {
  color: var(--ink);
  background: var(--yellow);
  transform: translateY(-2px) rotate(1deg);
  box-shadow: 4px 4px 0px var(--red);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px;
  height: 38px;
  justify-content: center;
  align-items: center;
  background: var(--yellow);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0px var(--ink);
  z-index: 1010 !important;
  pointer-events: auto !important;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 3px;
  background: var(--ink);
  transition: transform .35s var(--ease), opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  display: flex;
  position: fixed; inset: 0;
  background: var(--blue);
  z-index: 999 !important;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 48px;
  gap: 28px;
  opacity: 0; 
  pointer-events: none !important;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s var(--ease);
}
.mobile-menu.open { opacity: 1; visibility: visible; pointer-events: auto !important; }
.mobile-menu a {
  font-family: var(--font-block);
  font-size: clamp(3rem, 11vw, 5rem);
  letter-spacing: 0.04em;
  color: var(--yellow);
  text-shadow: 4px 4px 0px var(--red);
  line-height: 1;
}

/* ── Page Transition Overlay ─────────────────────────────── */
#page-overlay {
  position: fixed; inset: 0;
  background: var(--ink);
  z-index: 9000;
  transform: translateY(100%);
  pointer-events: none;
}
#page-overlay.in  { animation: wipeIn  .55s var(--ease-out) forwards; }
#page-overlay.out { animation: wipeOut .55s var(--ease-out) forwards; }
@keyframes wipeIn  { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes wipeOut { from { transform: translateY(0); }    to { transform: translateY(-100%); } }

/* ═══════════════════════════════════════════════════════════
   HERO SECTION & POP-ART SIGNWRITER TYPOGRAPHY
   ═══════════════════════════════════════════════════════════ */
#hero {
  position: relative; 
  z-index: 10;
  height: 100vh; min-height: 620px;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 0 80px 80px;
  pointer-events: none !important;
  background: transparent !important;
}

/* ── Vintage Enamel Tin Open Sign ────────────────────────── */
.hero-open-sign {
  position: absolute;
  top: 180px;
  right: 5%;
  background: #FFD100;
  border: 3.5px solid #111111;
  border-radius: 8px;
  padding: 10px 18px 8px;
  transform: rotate(-5deg);
  box-shadow: 
    4px 5px 0px #111111,
    inset 0 2px 0px rgba(255, 255, 255, 0.8),
    inset 0 -2px 0px rgba(0, 0, 0, 0.15);
  text-align: center;
  z-index: 9;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.hero-open-sign:hover {
  transform: rotate(-2deg) scale(1.03);
}

/* Enamel Corner Rivets/Screws */
.hero-open-sign .sign-screw {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #111111;
  border-radius: 50%;
}
.hero-open-sign .sign-screw.top-left  { top: 4px; left: 4px; }
.hero-open-sign .sign-screw.top-right { top: 4px; right: 4px; }

/* Sign Typography */
.sign-open-text {
  display: block;
  font-family: 'Arial Black', Impact, sans-serif;
  font-size: 3.25rem;
  font-weight: 900;
  color: #D61F26;
  line-height: 1;
  letter-spacing: 1px;
  text-shadow: 1.5px 1.5px 0px #111111;
  text-transform: uppercase;
}

.sign-hours-text {
  display: block;
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  font-weight: 800;
  color: #111111;
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-content {
  max-width: 720px;
  pointer-events: auto;
}

.hero-kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  display: inline-block;
  padding: 6px 14px;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0px var(--ink);
  transform: rotate(-1deg);
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp .8s var(--ease-out) .4s forwards;
}

.hero-headline-wrap {
  position: relative;
  display: inline-block;
}

.shop-burst-svg {
  position: absolute;
  top: -40px;
  left: -40px;
  width: clamp(260px, 40vw, 450px);
  height: clamp(260px, 40vw, 450px);
  pointer-events: none;
  z-index: -1;
  animation: rotateSlow 22s linear infinite;
}

.hero-headline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 24px;
  line-height: 0.82;
  opacity: 0;
  animation: fadeUp .9s var(--ease-out) .55s forwards;
}

.hero-headline .sign-top {
  font-family: var(--font-block);
  font-size: clamp(4.5rem, 9.5vw, 9.5rem);
  color: var(--red);
  letter-spacing: 0.02em;
  transform: rotate(-1.5deg);
  text-shadow: 4px 4px 0px #601008, 7px 7px 0px var(--ink);
  display: inline-block;
}

.hero-headline .sign-mid {
  font-family: var(--font-block);
  font-size: clamp(5.5rem, 11.5vw, 11.5rem);
  color: var(--yellow);
  letter-spacing: -0.01em;
  transform: rotate(1deg);
  margin-top: -6px;
  text-shadow: 
    4px 4px 0px var(--red),
    8px 8px 0px #601008,
    12px 12px 0px var(--ink);
  display: inline-block;
}

.hero-headline .sign-bot {
  font-family: var(--font-block);
  font-size: clamp(4.8rem, 10vw, 10rem);
  color: #1a4f8a;
  letter-spacing: 0.04em;
  transform: rotate(-2deg);
  margin-top: -8px;
  text-shadow: 4px 4px 0px var(--ink);
  display: inline-block;
}

.hero-sub {
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  font-weight: 700;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border: 2px solid var(--ink);
  padding: 10px 16px;
  box-shadow: 4px 4px 0px var(--ink);
  max-width: 480px;
  line-height: 1.5;
  opacity: 0;
  animation: fadeUp .8s var(--ease-out) .85s forwards;
  pointer-events: all;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 48px; right: 80px;
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--ink);
  padding: 6px 14px;
  border: 1px solid var(--yellow);
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 1.4s forwards;
}

.sign-bot-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.sign-badge {
  position: absolute;
  right: -85px;
  bottom: -10px;
  width: clamp(75px, 9vw, 110px);
  height: clamp(75px, 9vw, 110px);
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 4px 4px 0px var(--red), 7px 7px 0px var(--ink);
  overflow: hidden;
  z-index: 5;
  transform: rotate(8deg);
  transition: transform 0.3s var(--ease);
}

.sign-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-headline-wrap:hover .sign-badge {
  transform: rotate(0deg) scale(1.12);
}

/* ═══════════════════════════════════════════════════════════
   SPAZA SHOP RECEIPT UI
   ═══════════════════════════════════════════════════════════ */
.spaza-receipt-wrap {
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translateY(-50%) rotate(-1deg);
  width: min(340px, 85vw);
  z-index: 50;
  pointer-events: auto !important;
  filter: drop-shadow(0 14px 32px rgba(0,0,0,0.22));
}

.spaza-receipt-wrap.unattached {
  position: absolute !important;
  bottom: 40px !important;
  top: auto !important;
  transform: rotate(-1deg) !important;
}

.receipt-paper {
  background: #fdfcf7;
  color: #1a1a1a;
  font-family: var(--font-mono);
  padding: 24px 20px 28px;
  position: relative;
  border: 2px solid var(--ink);
  border-radius: 2px 2px 0 0;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.receipt-paper::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.02), rgba(0,0,0,0.06));
  pointer-events: none;
}

.receipt-header { text-align: center; margin-bottom: 6px; }
.receipt-shop-name { font-family: var(--font-heavy); font-size: 1.65rem; letter-spacing: 0.08em; color: #000; margin-bottom: 2px; }
.receipt-subtitle, .receipt-meta { font-size: 0.6rem; color: #555; letter-spacing: 0.08em; }
/*.receipt-divider { font-size: 0.65rem; color: #888; letter-spacing: 0.05em; overflow: hidden; white-space: nowrap; margin: 5px 0; user-select: none; }*/

/* Clean Edge-to-Edge Receipt Divider */
  .receipt-divider {
    width: 100%;
    height: 0;
    border-top: 2px dashed #666666; /* Adjust dash color as needed */
    margin: 12px 0;
    font-size: 0; /* Clears any text hyphens */
    line-height: 0;
  }

.receipt-items {
  display: flex; flex-direction: column; gap: 6px;
  max-height: 26vh; overflow-y: auto; padding-right: 4px; margin-bottom: 4px;
  pointer-events: auto !important;
}
.receipt-items::-webkit-scrollbar { width: 3px; }
.receipt-items::-webkit-scrollbar-thumb { background: var(--light); }

.receipt-item-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 0.72rem; font-weight: 700; color: #444; opacity: 0.55;
  cursor: pointer; transition: opacity 0.25s, color 0.25s;
  pointer-events: auto !important;
}
.receipt-item-row:hover { opacity: 0.85; }
.receipt-item-row.active { opacity: 1; color: var(--red); }

.receipt-summary { margin-top: auto; pointer-events: auto !important; }
.receipt-active-row { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.receipt-active-brand { font-family: var(--font-heavy); font-size: 1.45rem; letter-spacing: 0.04em; color: #000; }
.receipt-active-ref { font-size: 0.65rem; color: var(--mid); }
.receipt-active-desc { font-size: 0.7rem; color: #444; margin-top: 2px; }

#receipt-cta-btn, .receipt-action-btn {
  display: block; text-align: center; background: var(--ink); color: var(--yellow) !important;
  font-family: var(--font-block); font-size: 0.85rem; letter-spacing: 0.12em;
  padding: 10px 12px; margin-top: 10px; border: 2px solid var(--ink); border-radius: 2px;
  transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
  pointer-events: auto !important; cursor: pointer !important; position: relative !important; z-index: 150 !important;
}
#receipt-cta-btn:hover, .receipt-action-btn:hover { background: var(--red); color: var(--white) !important; transform: translateY(-2px); box-shadow: 3px 3px 0px var(--ink); }

.receipt-total-line { display: flex; justify-content: space-between; font-size: 0.7rem; font-weight: 700; color: #000; }
.receipt-footer-msg { font-size: 0.58rem; text-align: center; color: #777; margin-top: 6px; letter-spacing: 0.1em; }
.receipt-zig-zag { position: absolute; bottom: -10px; left: 0; right: 0; height: 10px; background: radial-gradient(circle, transparent, transparent 50%, #fdfcf7 50%, #fdfcf7 100%); background-size: 12px 20px; background-position: 0 -10px; }

/* ═══════════════════════════════════════════════════════════
   SCAN SECTION & STICKY TRACK
   ═══════════════════════════════════════════════════════════ */
#scan-section, #scan-track, .scan-sticky { position: relative; pointer-events: none !important; }
#scan-track { position: relative !important; }
.scan-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: visible; z-index: 20; }

/* ═══════════════════════════════════════════════════════════
   BIO SECTION
   ═══════════════════════════════════════════════════════════ */
#bio {
  position: relative; 
  z-index: 10;
  background-color: var(--blue);
  padding: 160px 48px;
  overflow: hidden;
  border-top: 6px solid var(--yellow);
  border-bottom: 6px solid var(--yellow);
  box-shadow: 0 -12px 30px rgba(0,0,0,0.3);
}

#bio::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 120px;
  background-image: url('../assets/images/top.gif'); background-repeat: repeat-x;
  background-position: top center; background-size: auto 100%; pointer-events: none; z-index: 2;
}

#bio::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background-image: url('../assets/images/bottom.gif'); background-repeat: repeat-x;
  background-position: bottom center; background-size: auto 100%; pointer-events: none; z-index: 2;
}

.bio-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.8fr; gap: 80px; align-items: start; position: relative; z-index: 3; }
.bio-left { position: sticky; top: 140px; }
.bio-headline { font-family: var(--font-heavy); color: var(--offwhite); font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: 0.9; text-align: center; }
.bio-headline em { font-family: 'Instrument Serif', Georgia, serif; color: var(--yellow); font-style: italic; font-size: 0.88em; }
.bio-right p { font-size: clamp(0.95rem, 1.4vw, 1.08rem); line-height: 1.85; color: var(--offwhite); margin-bottom: 24px; }
.bio-right strong { font-weight: 700; color: var(--yellow); }

.cv-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.cv-tag {
  font-family: var(--font-block);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid var(--yellow);
  padding: 6px 14px;
  color: var(--yellow);
  box-shadow: 3px 3px 0px var(--red);
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.cv-tag:hover {
  background: var(--yellow);
  color: var(--ink);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════
   RÉSUMÉ & INNER PAGES
   ═══════════════════════════════════════════════════════════ */

.inner-page {
  padding: 160px 60px 120px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  min-height: 100vh;
}

.resume-hero {
  margin-bottom: 48px;
}

.page-title-pop {
  margin-bottom: 24px;
  line-height: 0.82;
}

.page-title-pop .sign-top {
  font-family: var(--font-block);
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  color: var(--red);
  letter-spacing: 0.02em;
  transform: rotate(-1.5deg);
  text-shadow: 4px 4px 0px #601008, 7px 7px 0px var(--ink);
  display: inline-block;
}

.page-title-pop .sign-mid {
  font-family: var(--font-block);
  font-size: clamp(3.8rem, 9vw, 8.5rem);
  color: var(--yellow);
  letter-spacing: -0.01em;
  transform: rotate(1deg);
  margin-top: -6px;
  text-shadow: 
    4px 4px 0px var(--red),
    8px 8px 0px #601008,
    12px 12px 0px var(--ink);
  display: inline-block;
}

.resume-intro-card {
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid var(--ink);
  padding: 28px 32px;
  box-shadow: 6px 6px 0px var(--ink);
  margin-top: 20px;
  width: 100% !important;
  box-sizing: border-box;
}

.hero-quote {
  font-family: var(--font-block);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  color: var(--red);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  line-height: 1.1;
  text-shadow: 2px 2px 0px rgba(0,0,0,0.08);
}

.hero-bio-body {
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  line-height: 1.68;
  color: var(--ink);
}

.section-divider-wrap,
.resume-section-wrap {
  margin-top: 60px;
  margin-bottom: 20px;
}

.section-label-badge {
  font-family: var(--font-block);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  background: var(--ink);
  display: inline-block;
  padding: 6px 16px;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0px var(--red);
  transform: rotate(-0.8deg);
}

.four-cs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  margin-top: 16px;
}

.c-card {
  background: #fdfcf7;
  border: 2px solid var(--ink);
  padding: 22px 18px;
  box-shadow: 4px 4px 0px var(--red), 7px 7px 0px var(--ink);
  transition: transform 0.25s var(--ease);
  box-sizing: border-box;
}

.c-card:hover {
  transform: translateY(-3px) rotate(1deg);
}

.c-tag {
  font-family: var(--font-block);
  font-size: 1.1rem;
  color: var(--yellow);
  background: var(--ink);
  padding: 4px 12px;
  display: inline-block;
  margin-bottom: 12px;
  letter-spacing: 0.08em;
}

.c-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #222;
  font-weight: 500;
}

.spaza-card.resume-entry {
  background: #fdfcf7;
  border: 2px solid var(--ink);
  padding: 32px 28px;
  margin-top: 24px;
  width: 100%;
  box-shadow: 6px 6px 0px var(--ink);
  box-sizing: border-box;
}

.resume-dates-badge {
  font-family: var(--font-block);
  font-size: 0.85rem;
  color: var(--yellow);
  background: var(--red);
  padding: 5px 14px;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0px var(--ink);
  display: inline-block;
  margin-bottom: 14px;
}

.resume-company {
  font-family: var(--font-block);
  font-size: 2rem;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}

.resume-role {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.resume-bullets {
  list-style: square;
  padding-left: 20px;
  font-size: 0.94rem;
  line-height: 1.68;
  color: #222;
  margin-bottom: 22px;
}

.resume-bullets li {
  margin-bottom: 10px;
}

.progression-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.prog-chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  background: #eef2f5;
  color: #333;
  padding: 4px 12px;
  border: 1px solid #ccc;
  border-radius: 2px;
}

/* ═══════════════════════════════════════════════════════════
   SPAZA BRAND SHELF & STICKER BADGES
   ═══════════════════════════════════════════════════════════ */

.brand-shelf-wrap {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 2px dashed rgba(14, 15, 18, 0.15);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shelf-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--teal);
  text-transform: uppercase;
}

.brand-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px 8px !important;
  align-items: center !important;
}

.brand-tag {
  display: inline-block !important;
  font-family: var(--font-block) !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  background: var(--yellow) !important;
  color: var(--ink) !important;
  border: 2px solid var(--ink) !important;
  padding: 4px 12px !important;
  box-shadow: 2px 2px 0px var(--red) !important;
  border-radius: 2px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease) !important;
}

.brand-tag:nth-child(even) { transform: rotate(1deg); }
.brand-tag:nth-child(odd)  { transform: rotate(-1deg); }

.brand-tag:hover {
  transform: translateY(-2px) scale(1.05) rotate(0deg) !important;
  box-shadow: 3px 3px 0px var(--ink) !important;
  background: var(--white) !important;
}

/* ═══════════════════════════════════════════════════════════
   AWARDS & CONTACT SPAZA STYLING
   ═══════════════════════════════════════════════════════════ */

.spaza-card.credentials-wrapper,
.spaza-card.capabilities-card-wrap,
.spaza-card.awards-container-card {
  background: #fdfcf7;
  border: 2px solid var(--ink);
  padding: 28px 32px;
  margin-top: 20px;
  width: 100%;
  box-shadow: 6px 6px 0px var(--ink);
  box-sizing: border-box;
}

.edu-item { margin-bottom: 18px; }
.edu-item:last-child { margin-bottom: 0; }

.edu-year {
  font-family: var(--font-block);
  font-size: 0.8rem;
  color: var(--yellow);
  background: var(--red);
  padding: 3px 10px;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0px var(--ink);
  display: inline-block;
  margin-bottom: 8px;
}

.edu-item h3 {
  font-family: var(--font-block);
  font-size: 1.45rem;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 4px;
}

.edu-desc {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.04em;
}

.edu-divider,
.award-row-divider {
  height: 2px;
  background: repeating-linear-gradient(to right, var(--ink) 0px, var(--ink) 6px, transparent 6px, transparent 12px);
  margin: 18px 0;
  opacity: 0.35;
}

.capabilities-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cap-tag {
  font-family: var(--font-block);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 8px 16px;
  box-shadow: 3px 3px 0px var(--red);
  transition: transform 0.2s var(--ease);
}

.cap-tag:hover {
  transform: translateY(-2px) rotate(1deg);
}

.spaza-award-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0;
}

.award-yr-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  background: var(--ink);
  padding: 4px 10px;
  border-radius: 2px;
  min-width: 52px;
  text-align: center;
}

.award-info { flex: 1; }

.award-name {
  font-family: var(--font-block);
  font-size: 1.35rem;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 2px;
}

.award-body {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 700;
}

.spaza-tier-badge {
  font-family: var(--font-block);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 4px 12px;
  box-shadow: 2px 2px 0px var(--ink);
  white-space: nowrap;
}

.spaza-tier-badge.gold {
  background: var(--yellow);
  box-shadow: 2px 2px 0px var(--red);
}

.spaza-tier-badge.silver { background: #e2e8f0; color: var(--ink); }
.spaza-tier-badge.bronze { background: #e07a5f; color: var(--white); }
.spaza-tier-badge.judge  { background: var(--red); color: var(--white); }

.contact-cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.spaza-card.contact-spaza-card {
  background: #fdfcf7;
  border: 2px solid var(--ink);
  padding: 24px 28px;
  box-shadow: 6px 6px 0px var(--ink);
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-icon-badge {
  width: 48px;
  height: 48px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0px var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  flex-shrink: 0;
}

.contact-icon-badge svg { width: 24px; height: 24px; }

.contact-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.contact-tag-lbl {
  font-family: var(--font-block);
  font-size: 0.85rem;
  color: var(--red);
  letter-spacing: 0.08em;
}

.contact-card-link,
.revealed-email-link {
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 1.8vw, 1.25rem);
  font-weight: 700;
  color: var(--ink);
  word-break: break-all;
  transition: color 0.2s;
}

.contact-card-link:hover,
.revealed-email-link:hover { color: var(--red); }

.email-reveal-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.email-placeholder {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--mid);
}

.reveal-btn-spaza {
  font-family: var(--font-block);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  background: var(--ink);
  color: var(--yellow) !important;
  border: 2px solid var(--ink);
  padding: 6px 14px;
  box-shadow: 2px 2px 0px var(--red);
  cursor: pointer !important;
  transition: transform 0.2s, background 0.2s;
}

.reveal-btn-spaza:hover {
  background: var(--red);
  color: var(--white) !important;
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════
   PROJECT CASE STUDY PAGES (Spaza Pop-Art Framework)
   ═══════════════════════════════════════════════════════════ */

.project-back-wrap {
  margin-bottom: 24px;
}

.back-btn-spaza {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-block);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  background: var(--ink);
  color: var(--yellow) !important;
  border: 2px solid var(--ink);
  padding: 8px 18px;
  box-shadow: 3px 3px 0px var(--red);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.back-btn-spaza:hover {
  background: var(--red);
  color: var(--white) !important;
  transform: translateY(-2px);
}

.back-btn-spaza svg {
  width: 18px;
  height: 18px;
}

/* Strategy Grid */
.spaza-card.project-strategy-card {
  background: #fdfcf7;
  border: 2px solid var(--ink);
  padding: 32px;
  margin-top: 20px;
  box-shadow: 6px 6px 0px var(--ink);
  width: 100%;
  box-sizing: border-box;
}

.strategy-2x2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 2px dashed rgba(14, 15, 18, 0.18);
}

.strategy-cell {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.strategy-tag {
  font-family: var(--font-block);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--yellow);
  background: var(--ink);
  padding: 4px 12px;
  display: inline-block;
  align-self: flex-start;
  box-shadow: 2px 2px 0px var(--red);
}

.strategy-tag.gold {
  background: var(--red);
  color: var(--white);
  box-shadow: 2px 2px 0px var(--ink);
}

.strategy-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #222;
  font-weight: 500;
}

.strategy-answer-box {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.answer-text {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
}

/* Video Card Embed */
.spaza-card.video-card-wrap {
  background: #fdfcf7;
  border: 2px solid var(--ink);
  padding: 20px;
  margin-top: 20px;
  box-shadow: 6px 6px 0px var(--ink);
  width: 100%;
  box-sizing: border-box;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  background: var(--ink);
  border: 2px solid var(--ink);
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder-spaza {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #18191f;
  color: var(--white);
}

.play-icon-badge {
  width: 64px;
  height: 64px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 3px 3px 0px var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.play-icon-badge svg {
  width: 28px;
  height: 28px;
  margin-left: 3px;
}

.placeholder-msg {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--yellow);
}

/* Business Results Section */
.spaza-card.results-container-card {
  background: #fdfcf7;
  border: 2px solid var(--ink);
  padding: 36px 28px;
  margin-top: 20px;
  box-shadow: 6px 6px 0px var(--ink);
  width: 100%;
  box-sizing: border-box;
}

.results-3col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.result-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-right: 2px dashed rgba(14, 15, 18, 0.2);
}

.result-box:last-child {
  border-right: none;
}

.result-number {
  font-family: var(--font-heavy);
  font-size: clamp(3rem, 6vw, 4.5rem);
  color: var(--red);
  line-height: 0.9;
  text-shadow: 3px 3px 0px var(--ink);
}

.result-caption {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--teal);
}

/* Allow interactive play controls inside the video embed */
.video-container video,
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: auto !important;
}

/* Responsive Breakpoints for Project Pages */
@media (max-width: 768px) {
  .strategy-2x2-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .results-3col-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .result-box {
    border-right: none !important;
    border-bottom: 2px dashed rgba(14, 15, 18, 0.2) !important;
    padding-bottom: 24px !important;
  }

  .result-box:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   SPAZA MEDIA CAROUSEL & LIGHTBOX MODAL
   ═══════════════════════════════════════════════════════════ */

.spaza-card.carousel-card-wrap {
  background: #fdfcf7;
  border: 2px solid var(--ink);
  padding: 24px 16px;
  margin-top: 20px;
  box-shadow: 6px 6px 0px var(--ink);
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.spaza-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
}

.spaza-carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 4px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--red) transparent;
}

.spaza-carousel-track::-webkit-scrollbar {
  height: 6px;
}
.spaza-carousel-track::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 3px;
}

.media-slide {
  flex: 0 0 260px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.25s var(--ease);
}

.media-slide:hover {
  transform: translateY(-4px);
}

.slide-thumb {
  position: relative;
  width: 100%;
  height: 160px;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0px var(--ink);
  overflow: hidden;
  background: var(--ink);
}

.slide-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s var(--ease);
}

.media-slide:hover .slide-thumb img {
  transform: scale(1.06);
}

.media-type-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-family: var(--font-block);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--yellow);
  padding: 3px 8px;
  border: 1px solid var(--ink);
  box-shadow: 2px 2px 0px var(--red);
}

.media-type-badge.video {
  background: var(--red);
  color: var(--white);
  box-shadow: 2px 2px 0px var(--ink);
}

.slide-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.carousel-nav-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0px var(--red);
  font-family: var(--font-block);
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer !important;
  transition: transform 0.2s var(--ease), background 0.2s;
}

.carousel-nav-btn:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav-btn.prev { left: -16px; }
.carousel-nav-btn.next { right: -16px; }

/* ── Lightbox Modal Engine ─────────────────────────────── */
.spaza-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(14, 15, 18, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  cursor: none !important; /* Hide native browser cursor on backdrop */
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.spaza-lightbox-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-content-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.lightbox-media-box {
  width: min(1000px, 88vw);
  height: min(600px, 70vh);
  background: #000;
  border: 3px solid var(--yellow);
  box-shadow: 8px 8px 0px var(--red);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-media-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-media-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: auto !important;
}

.lightbox-caption-text {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--yellow);
  background: var(--ink);
  padding: 6px 16px;
  border: 1px solid var(--yellow);
  letter-spacing: 0.08em;
  text-align: center;
}

.lightbox-close-btn,
.lightbox-arrow-btn {
  position: absolute;
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0px var(--red);
  font-family: var(--font-block);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer !important;
  transition: transform 0.2s, background 0.2s;
  z-index: 100000;
}

.lightbox-close-btn:hover,
.lightbox-arrow-btn:hover {
  background: var(--red);
  color: var(--white);
}

.lightbox-close-btn {
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
}

.lightbox-arrow-btn {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 2.2rem;
}

.lightbox-arrow-btn.prev { left: 28px; }
.lightbox-arrow-btn.next { right: 28px; }

@media (max-width: 768px) {
  .media-slide { flex: 0 0 200px; }
  .slide-thumb { height: 130px; }
  .carousel-nav-btn { display: none; }
  .lightbox-arrow-btn { width: 40px; height: 40px; font-size: 1.6rem; }
  .lightbox-arrow-btn.prev { left: 8px; }
  .lightbox-arrow-btn.next { right: 8px; }
}

/* Ensure carousel tracks, cards, buttons, and slide items capture user clicks */
.carousel-card-wrap,
.spaza-carousel-container,
.spaza-carousel-track,
.media-slide,
.carousel-nav-btn,
.lightbox-close-btn,
.lightbox-arrow-btn {
  pointer-events: auto !important;
}

.spaza-carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 4px 12px;
  -webkit-overflow-scrolling: touch;
}

/* ═══════════════════════════════════════════════════════════
   PROJECT DIRECTIONAL FOOTER NAVIGATION BAR
   ═══════════════════════════════════════════════════════════ */

.project-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 60px;
  margin-bottom: 20px;
  width: 100%;
}

.project-nav-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fdfcf7;
  border: 2px solid var(--ink);
  padding: 18px 24px;
  box-shadow: 4px 4px 0px var(--ink);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
  text-decoration: none !important;
  color: var(--ink) !important;
  pointer-events: auto !important;
  flex: 1;
  max-width: 48%;
}

.project-nav-btn.next {
  justify-content: flex-end;
  text-align: right;
}

.project-nav-btn:hover {
  background: var(--yellow);
  transform: translateY(-3px);
  box-shadow: 6px 6px 0px var(--red);
}

.nav-arrow {
  font-family: var(--font-block);
  font-size: 1.8rem;
  line-height: 1;
  color: var(--red);
  transition: transform 0.2s var(--ease);
}

.project-nav-btn.prev:hover .nav-arrow {
  transform: translateX(-4px);
}

.project-nav-btn.next:hover .nav-arrow {
  transform: translateX(4px);
}

.nav-btn-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-btn-kicker {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--mid);
  text-transform: uppercase;
}

.nav-btn-title {
  font-family: var(--font-block);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1.1;
}

@media (max-width: 640px) {
  .project-nav-bar {
    flex-direction: column;
    gap: 16px;
  }

  .project-nav-btn {
    max-width: 100% !important;
    width: 100% !important;
    padding: 14px 18px !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
footer {
  position: relative;
  z-index: 100 !important;
  background: var(--ink);
  border-top: 4px solid var(--red);
  padding: 32px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
}

/* ── Keyframes ───────────────────────────────────────────── */
@keyframes fadeUp { to { opacity: 1; transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes rotateSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes rock-n-roll { 0% { transform: rotate(0deg); } 25% { transform: rotate(-30deg); } 75% { transform: rotate(30deg); } 100% { transform: rotate(0deg); } }

/* ── Responsive Grid Breakpoints ─────────────────────────── */
@media (max-width: 1024px) {
  .four-cs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE & NARROW VIEWPORT (Bottom-Docked Receipt Bar)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  nav { 
    padding: 16px 20px !important; 
  }
  .nav-links { 
    display: none !important; 
  }
  .hamburger { 
    display: flex !important; 
  }

  #hero { 
    padding: 0 20px 40px !important; 
  }

  .hero-scroll-cue {
    display: none;
  }

  .hero-open-sign {
    top: 120px;
    right: 5%;
    padding: 8px 12px 6px;
    transform: rotate(-3deg) scale(0.85);
  }

  /* ── BIO SECTION SINGLE COLUMN STACK ─────────────────────── */
  #bio {
    padding: 80px 20px !important;
  }

  .bio-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 32px !important;
    max-width: 100% !important;
  }

  .bio-left {
    position: static !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
  }

  .bio-left img {
    max-width: 280px !important;
    width: 80% !important;
    margin: 16px auto 0 !important;
  }

  .bio-right {
    width: 100% !important;
    text-align: left !important;
  }

  .bio-right p {
    font-size: 1rem !important;
    line-height: 1.75 !important;
  }

  .cv-tags {
    justify-content: flex-start !important;
    gap: 8px !important;
  }

  /* ── SPAZA RECEIPT (Anchored to Bottom Edge) ─────────────── */
  .spaza-receipt-wrap {
    position: absolute !important;
    bottom: 12px !important;
    top: auto !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    margin: 0 !important;
    transform: none !important;
    z-index: 100 !important;
    filter: drop-shadow(0 10px 24px rgba(0,0,0,0.35)) !important;
  }

  /* Smooth unstick when footer comes into view */
  .spaza-receipt-wrap.unattached {
    position: absolute !important;
    bottom: 20px !important;
    top: auto !important;
    transform: none !important;
  }

  /* Compact Paper Card Container */
  .receipt-paper {
    padding: 10px 14px 12px !important;
    height: auto !important;
    max-height: 175px !important;
    overflow: hidden !important;
    border: 2px solid var(--ink) !important;
    border-radius: 4px !important;
    background: #fdfcf7 !important;
  }

  .receipt-subtitle,
  .receipt-meta,
  .receipt-footer-msg {
    display: none !important;
  }

  .receipt-shop-name {
    font-size: 0.92rem !important;
    margin-bottom: 0 !important;
  }

  .receipt-divider#mid {
    margin: 6px 0 !important;
    display: none;
  }

  /* Collapse list to 1 active row */
  .receipt-items {
    max-height: 24px !important;
    height: 24px !important;
    overflow: hidden !important;
    margin-bottom: 2px !important;
  }

  .receipt-item-row {
    display: none !important;
  }

  .receipt-item-row.active {
    display: flex !important;
    font-weight: 700 !important;
    color: var(--red) !important;
  }

  .receipt-active-brand { font-size: 1.05rem !important; }
  .receipt-active-ref, .receipt-active-desc { font-size: 0.62rem !important; }

  #receipt-cta-btn, .receipt-action-btn {
    padding: 7px 10px !important;
    margin-top: 5px !important;
    font-size: 0.75rem !important;
  }

  .receipt-total-line { font-size: 0.65rem !important; }

}

@media (max-width: 640px) {
  .inner-page {
    padding: 130px 20px 80px !important;
  }
  .four-cs-grid {
    grid-template-columns: 1fr;
  }
  .spaza-award-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}