/* ==========================================================================
   Evgeny Morozov — Senior Frontend Engineer Portfolio
   Warm Editorial Paper Theme · Hand-Drawn Touches · Neo-Tactile Micro-interactions
   ========================================================================== */

:root {
  /* Colors */
  --bg-page: #fbf9f4;
  --bg-card: #ffffff;
  --bg-card-subtle: #f5f2ea;
  --bg-tape: rgba(253, 224, 71, 0.7);

  --text-ink: #18181b;
  --text-body: #3f3f46;
  --text-muted: #71717a;
  --text-dim: #a1a1aa;

  --accent-yellow: #fde047;
  --accent-yellow-light: #fef08a;
  --accent-blue: #2563eb;
  --accent-blue-soft: #dbeafe;
  --accent-coral: #ff5757;
  --accent-coral-soft: #fee2e2;
  --accent-green: #10b981;
  --accent-green-soft: #d1fae5;
  --accent-purple: #8b5cf6;
  --accent-purple-soft: #ede9fe;

  --border-dark: #18181b;
  --border-subtle: #e4e0d7;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', var(--font-sans);
  --font-doodle: 'Caveat', cursive, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows & Shapes */
  --shadow-solid: 4px 4px 0px var(--border-dark);
  --shadow-solid-hover: 6px 6px 0px var(--border-dark);
  --shadow-card: 5px 5px 0px rgba(24, 24, 27, 0.08);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-page);
  color: var(--text-ink);
  -webkit-font-smoothing: antialiased;
}

body.light-paper {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-ink);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image:
    radial-gradient(#e4e0d7 1px, transparent 1px),
    linear-gradient(to right, rgba(228, 224, 215, 0.2) 1px, transparent 1px);
  background-size: 24px 24px, 120px 120px;
}

/* Confetti Canvas */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== HEADER ==================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 244, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--border-subtle);
  height: 72px;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-ink);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand-badge {
  background: var(--text-ink);
  color: #ffffff;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  letter-spacing: -0.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-body);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--accent-blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Pill Buttons */
.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-dark);
  background: #ffffff;
  color: var(--text-ink);
  cursor: pointer;
  box-shadow: 2px 2px 0px var(--border-dark);
  transition: all 0.2s var(--ease-bounce);
}

.pill-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px var(--border-dark);
}

.pill-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0px var(--border-dark);
}

.copy-pill {
  font-family: var(--font-mono);
  font-size: 0.8rem;

  @media (max-width: 1050px) {
    display: none;
  }
}

.copy-tag {
  background: var(--accent-yellow);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-family: var(--font-sans);
  font-weight: 700;
}

.sound-pill.muted {
  opacity: 0.7;
  background: #f4f4f5;
}

.sound-text {
  @media (max-width: 430px) {
    display: none;
  }
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 38px;
  height: 38px;
  padding: 8px;
  background: #ffffff;
  border: 2px solid var(--border-dark);
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 2px 2px 0px var(--border-dark);
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background: var(--border-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  background: var(--bg-page);
  border-bottom: 2px solid var(--border-dark);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease-smooth);
  z-index: 99;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.m-link {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-ink);
  text-decoration: none;
  padding: 6px 0;
}

.m-footer {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-dark);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s var(--ease-bounce);
}

.btn-primary-fun {
  background: var(--accent-yellow);
  color: var(--text-ink);
  box-shadow: var(--shadow-solid);
}

.btn-primary-fun:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-solid-hover);
  background: #facc15;
}

.btn-primary-fun:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--border-dark);
}

.btn-secondary-fun {
  background: #ffffff;
  color: var(--text-ink);
  box-shadow: var(--shadow-solid);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 18px;
}

.btn-secondary-fun:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-solid-hover);
}

.btn-secondary-fun:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--border-dark);
}

.btn-sub {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-weight: 500;
}

.btn-big-primary {
  background: var(--accent-yellow);
  color: var(--text-ink);
  box-shadow: var(--shadow-solid);
  font-size: 1.05rem;
}

.btn-big-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-solid-hover);
}

.btn-big-outline {
  background: #ffffff;
  color: var(--text-ink);
  box-shadow: var(--shadow-solid);
}

.btn-big-outline:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-solid-hover);
}

.btn-big-telegram {
  background: #24a1de;
  color: #ffffff;
  border-color: var(--border-dark);
  box-shadow: var(--shadow-solid);
}

.btn-big-telegram:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-solid-hover);
  background: #1d93cc;
}

.btn-big-linkedin {
  background: #0a66c2;
  color: #ffffff;
  border-color: var(--border-dark);
  box-shadow: var(--shadow-solid);
}

.btn-big-linkedin:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-solid-hover);
}

/* ==================== HERO SECTION ==================== */
.hero-section {
  padding-top: clamp(40px, 6vw, 70px);
  padding-bottom: clamp(50px, 8vw, 80px);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.greeting-badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  background: var(--accent-green-soft);
  border: 1.5px solid var(--accent-green);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  color: #065f46;
  margin-bottom: 20px;
}

.badge-separator {
  opacity: 0.45;
}

.badge-joke s {
  color: #4b5563;
  font-weight: 600;
  text-decoration: line-through;
  text-decoration-color: var(--accent-coral);
  text-decoration-thickness: 1.5px;
}

.wave-emoji {
  animation: wave-anim 2.5s infinite;
  display: inline-block;
  transform-origin: 70% 70%;
}

@keyframes wave-anim {

  0%,
  100% {
    transform: rotate(0deg);
  }

  20%,
  60% {
    transform: rotate(14deg);
  }

  40%,
  80% {
    transform: rotate(-10deg);
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: var(--text-ink);
}

.highlight-marker {
  position: relative;
  background: var(--accent-yellow-light);
  padding: 0 6px;
  border-radius: 4px;
  display: inline-block;
  box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.06);
}

.hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-lead strong {
  color: var(--text-ink);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.bell-icon {
  font-size: 1.25rem;
}

/* Doodle note & arrow */
.doodle-note {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-blue);
}

.doodle-arrow {
  width: 60px;
  height: 35px;
}

.handwritten-text {
  font-family: var(--font-doodle);
  font-size: 1.35rem;
  font-weight: 700;
}

/* ==================== PHOTO CARD & STICKERS ==================== */
.hero-photo-col {
  display: flex;
  justify-content: center;
}

.photo-card-wrap {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  border: 2px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 20px 20px 24px;
  box-shadow: 8px 8px 0px var(--border-dark);
  transition: transform 0.3s var(--ease-bounce);
}

@media (min-width: 400px) {
  .photo-card-wrap:hover {
    transform: rotate(-1deg);
  }
}

/* Washi Tape on Top */
.washi-tape {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 130px;
  height: 30px;
  background: var(--bg-tape);
  opacity: 0.85;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

/* Pinned sticky notes */
.sticky-note {
  position: absolute;
  padding: 8px 12px;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-sm);
  z-index: 12;
  box-shadow: 2px 2px 0px var(--border-dark);
}

.note-1 {
  top: 15px;
  left: -25px;
  background: var(--accent-yellow-light);
  transform: rotate(-8deg);
}

.note-2 {
  bottom: -41px;
  right: -40px;
  background: var(--accent-coral-soft);
  transform: rotate(6deg);

  @media (max-width: 1100px) {
    right: -5px;
  }
}

.note-pin {
  font-size: 0.85rem;
  margin-right: 2px;
}

.hidden {
  display: none !important;
}

.photo-frame {
  position: relative;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-dark);
  background: #f4f4f5;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  margin-bottom: 16px;
  overflow: visible;
  /* Allows crown to sit on top of head */
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: calc(var(--radius-md) - 2px);
  transition: transform 0.3s ease;
}

.photo-frame:hover .portrait-img {
  transform: scale(1.02);
}

/* Overlays (Sunglasses, Crown) */
.accessory-overlay {
  position: absolute;
  pointer-events: none;
  z-index: 5;
  transition: transform 0.25s var(--ease-bounce), opacity 0.2s ease;
}

.accessory-overlay.hidden {
  display: none !important;
}

.accessory-overlay.sunglasses {
  top: 27%;
  left: 52%;
  transform: translateX(-50%);
  width: 38%;
}

.sunglasses-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
  animation: drop-in 0.35s var(--ease-bounce);
}

.accessory-overlay.crown {
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 44%;
  z-index: 11;
}

.crown-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  animation: drop-in 0.35s var(--ease-bounce);
}

/* Builder Overlay */
.accessory-overlay.builder {
  inset: 0;
  width: 100%;
  height: 100%;
}

.builder-hardhat {
  position: absolute;
  top: -24px;
  left: 22%;
  width: 54%;
  z-index: 12;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
  animation: drop-in 0.35s var(--ease-bounce);
}

.hardhat-svg {
  width: 100%;
  height: auto;
  display: block;
}

.builder-vest {
  position: absolute;
  bottom: 0px;
  left: 22%;
  width: 54%;
  z-index: 10;
  filter: drop-shadow(0 -3px 8px rgba(0, 0, 0, 0.35));
  animation: slide-up 0.35s var(--ease-bounce);
}

.vest-svg {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes slide-up {
  0% {
    transform: translateY(40px) scale(0.95);
    opacity: 0;
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes drop-in {
  0% {
    transform: translateY(-30px) scale(0.7);
    opacity: 0;
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.avatar-click-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(24, 24, 27, 0.85);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
  pointer-events: none;
  z-index: 5;
}

/* Controls */
.avatar-controls {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.sticker-btn {
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-pill);
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sticker-btn:hover {
  background: var(--bg-card-subtle);
}

.sticker-btn.active {
  background: var(--accent-yellow);
  box-shadow: 2px 2px 0px var(--border-dark);
}

.location-badge {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-body);
}

.location-badge .dim {
  color: var(--text-muted);
}

/* ==================== VIRAL SERVICE BELL CARD ==================== */
.bell-section {
  padding-top: 20px;
  padding-bottom: 60px;
}

.bell-callout-card {
  background: #ffffff;
  border: 2px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: 6px 6px 0px var(--border-dark);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
}

.bell-visual-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Giant 3D Brass Bell Button */
.giant-service-bell {
  width: 130px;
  height: 120px;
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  transition: transform 0.1s ease;
}

.giant-service-bell:active {
  transform: scale(0.94);
}

.giant-service-bell.ringing {
  animation: bell-shake 0.5s ease-in-out;
}

@keyframes bell-shake {
  0% {
    transform: scale(1) rotate(0deg);
  }

  20% {
    transform: scale(1.1) rotate(-8deg);
  }

  40% {
    transform: scale(1.1) rotate(8deg);
  }

  60% {
    transform: scale(1.05) rotate(-5deg);
  }

  80% {
    transform: scale(1.05) rotate(5deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

.bell-tip {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 18px;
  background: radial-gradient(circle at 40% 30%, #fde047, #ca8a04);
  border: 2px solid var(--border-dark);
  border-radius: 50% 50% 0 0;
  z-index: 3;
}

.bell-dome {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 65px;
  background: radial-gradient(circle at 35% 25%, #fef08a 0%, #eab308 60%, #a16207 100%);
  border: 3px solid var(--border-dark);
  border-radius: 60px 60px 8px 8px;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.8), 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.bell-base {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 126px;
  height: 22px;
  background: #27272a;
  border: 2px solid var(--border-dark);
  border-radius: 8px;
  z-index: 1;
}

.bell-tap-hint {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-blue);
  background: var(--accent-blue-soft);
  border: 1px solid var(--accent-blue);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.bell-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.bell-desc {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 14px;
}

.bell-counter-box {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.bell-counter-box strong {
  color: var(--accent-coral);
  font-size: 1.1rem;
}

.bell-counter-box .fun-sub {
  color: var(--accent-blue);
  font-weight: 600;
}

/* ==================== COMMON SECTION HEADERS ==================== */
.section {
  padding-top: clamp(60px, 8vw, 90px);
  padding-bottom: clamp(60px, 8vw, 90px);
}

.section-intro {
  margin-bottom: 44px;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-blue);
  margin-bottom: 8px;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
}

.section-subheading {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ==================== 4 BIG WINS GRID ==================== */
.wins-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.win-card {
  background: #ffffff;
  border: 2px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-solid);
  display: flex;
  flex-direction: column;
  transition: all 0.25s var(--ease-bounce);
}

.win-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-solid-hover);
}

.win-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.win-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 1.5px solid var(--border-dark);
}

.bg-yellow {
  background: var(--accent-yellow-light);
}

.bg-green {
  background: var(--accent-green-soft);
}

.bg-blue {
  background: var(--accent-blue-soft);
}

.bg-purple {
  background: var(--accent-purple-soft);
}

.win-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.win-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.win-body {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.win-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge-pill {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
}

/* ==================== SIMPLE TIMELINE ==================== */
.simple-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.t-block {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  background: #ffffff;
  border: 2px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: 4px 4px 0px var(--border-dark);
  align-items: baseline;
  transition: all 0.2s ease;
}

.t-block:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--border-dark);
}

.t-year {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-blue);
  background: var(--accent-blue-soft);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: inline-block;
  text-align: center;
}

.t-role-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.t-role-header h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
}

.t-role-header .highlight {
  color: var(--accent-coral);
}

.t-time {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
}

.t-content p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* Redacted Freelance Block */
.t-block-redacted {
  background: #faf7f0;
  border-style: dashed;
  position: relative;
}

.t-year-redacted {
  color: var(--text-muted);
  background: var(--bg-card-subtle);
  border: 1px dashed var(--border-subtle);
}

.t-block-redacted s {
  text-decoration: line-through;
  text-decoration-color: var(--accent-coral);
  text-decoration-thickness: 1.5px;
  color: var(--text-muted);
}

.strikethrough-body s {
  display: block;
  line-height: 1.65;
}

.redacted-footnote {
  margin-top: 14px;
  padding: 10px 14px;
  background: var(--accent-yellow-light);
  border: 1.5px dashed var(--border-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 2px 2px 0px var(--border-dark);
}

.footnote-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--accent-coral);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.footnote-text {
  font-family: var(--font-doodle);
  font-size: 1.25rem;
  font-weight: 700;
  color: #18181b;
  line-height: 1.35;
}

@media (max-width: 640px) {
  .redacted-footnote {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ==================== STACK STICKERS ==================== */
.stack-stickers-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stack-sticker {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 10px 18px;
  background: #ffffff;
  border: 2px solid var(--border-dark);
  border-radius: var(--radius-pill);
  box-shadow: 3px 3px 0px var(--border-dark);
  transition: all 0.2s var(--ease-bounce);
  cursor: default;
}

.stack-sticker:hover {
  transform: translate(-2px, -2px) rotate(-1deg);
  box-shadow: 5px 5px 0px var(--border-dark);
}

.stack-sticker.hot {
  background: var(--accent-yellow-light);
  border-color: var(--border-dark);
}

/* ==================== CONTACT CARD ==================== */
.contact-card {
  position: relative;
  background: #ffffff;
  border: 3px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 64px);
  text-align: center;
  box-shadow: 8px 8px 0px var(--border-dark);
}

.contact-doodle-star {
  position: absolute;
  top: -20px;
  right: 40px;
  font-size: 3rem;
  color: var(--accent-yellow);
  text-shadow: 2px 2px 0px var(--border-dark);
}

.contact-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.contact-lead {
  font-size: 1.15rem;
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto 36px;
}

.contact-action-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-note {
  color: var(--accent-blue);
}

/* ==================== FOOTER ==================== */
.footer {
  border-top: 2px solid var(--border-subtle);
  padding: 32px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.footer-dim {
  color: var(--text-dim);
  font-size: 0.82rem;
}

/* ==================== TOAST NOTIFICATION ==================== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 14px 22px;
  background: var(--text-ink);
  color: #ffffff;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease-bounce);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-photo-col {
    order: -1;
  }

  .photo-card-wrap {
    max-width: 320px;
  }

  .wins-grid {
    grid-template-columns: 1fr;
  }

  .bell-callout-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bell-visual-wrap {
    margin-bottom: 12px;
  }

  .t-block {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 768px) {

  .nav,
  #nav-copy-btn {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .contact-action-row {
    flex-direction: column;
  }

  .contact-action-row .btn {
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}