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

:root {
  --black: #0A0A0A;
  --cream: #F4EFE4;
  --yellow: #FFE500;
  --pink: #FF2D78;
  --blue: #00C2FF;
  --lime: #7CFF6B;
  --orange: #FF6B2D;
  --purple: #C77DFF;
  --border: 3px solid var(--black);
  --border-thick: 4px solid var(--black);
  --shadow: 6px 6px 0px 0px var(--black);
  --shadow-lg: 8px 8px 0px 0px var(--black);
  --shadow-sm: 4px 4px 0px 0px var(--black);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--cream);
  color: var(--black);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* ─── CUSTOM CURSOR ─────────────────────────────────────────── */
#cursor-dot {
  width: 12px;
  height: 12px;
  background: var(--black);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s, background 0.2s;
}

#cursor-ring {
  width: 36px;
  height: 36px;
  border: 2px solid var(--black);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.12s ease;
}

body:hover #cursor-dot {
  background: var(--black);
}

/* ─── SCROLLBAR ─────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
  border-left: 2px solid var(--black);
}

::-webkit-scrollbar-thumb {
  background: var(--black);
}

/* ─── NOISE TEXTURE OVERLAY ─────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ─── TYPOGRAPHY ────────────────────────────────────────────── */
.font-display {
  font-family: 'Bebas Neue', sans-serif;
}

.font-mono {
  font-family: 'Space Mono', monospace;
}

/* ─── NAVBAR ────────────────────────────────────────────────── */
#navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: var(--border-thick);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  background: var(--yellow);
  padding: 2px 14px;
  border: var(--border);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--black);
  letter-spacing: 1px;
  transition: transform 0.1s, box-shadow 0.1s;
  display: inline-block;
}

.nav-logo:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0px 0px var(--black);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--black);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--yellow);
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--black);
  transition: all 0.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 */
#mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

#mobile-menu.open {
  display: flex;
}

#mobile-menu a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4rem;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 2px;
  transition: color 0.2s;
}

#mobile-menu a:hover {
  color: var(--yellow);
}

#mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2.5rem;
  color: var(--cream);
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  line-height: 1;
}

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 14px 28px;
  border: var(--border);
  box-shadow: var(--shadow);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
  position: relative;
  background: var(--yellow);
  color: var(--black);
  font-family: 'DM Sans', sans-serif;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0px 0px var(--black);
}

.btn:active {
  transform: translate(6px, 6px);
  box-shadow: 0px 0px 0px 0px var(--black);
}

.btn-outline {
  background: transparent;
  color: var(--black);
}

.btn-pink {
  background: var(--pink);
  color: #fff;
}

.btn-lime {
  background: var(--lime);
  color: var(--black);
}

.btn-blue {
  background: var(--blue);
  color: var(--black);
}

.btn-dark {
  background: var(--black);
  color: var(--cream);
}

.btn-dark:hover {
  box-shadow: 8px 8px 0px 0px var(--yellow);
}

/* ─── SECTIONS ──────────────────────────────────────────────── */
section {
  position: relative;
  z-index: 1;
}

/* ─── HERO ──────────────────────────────────────────────────── */
#hero {
  min-height: calc(100vh - 70px);
  padding: 5rem 2rem 4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: var(--border);
  padding: 6px 14px;
  background: white;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse 2s infinite;
}

@keyframes pulse {

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

  50% {
    transform: scale(1.4);
    opacity: 0.7;
  }
}

.hero-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 12vw, 10rem);
  line-height: 0.9;
  letter-spacing: -2px;
  color: var(--black);
  margin-bottom: 1.5rem;
}

.hero-headline .highlight {
  display: inline;
  background: var(--yellow);
  padding: 0 8px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2.5rem;
  color: #333;
}

.hero-sub strong {
  color: var(--black);
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero card */
.hero-card {
  background: var(--black);
  border: var(--border);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.hero-card-inner {
  width: 100%;
  aspect-ratio: 1;
  background: var(--yellow);
  border: var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-initials {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 9rem;
  line-height: 1;
  color: var(--black);
  z-index: 1;
  position: relative;
}

.hero-card-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black);
  margin-top: 0.5rem;
  z-index: 1;
  position: relative;
}

/* Decorative stripes in hero card */
.hero-card-inner::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: repeating-linear-gradient(45deg, var(--black) 0, var(--black) 3px, transparent 3px, transparent 14px);
  opacity: 0.15;
}

.hero-card-inner::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 100px;
  height: 100px;
  background: repeating-linear-gradient(-45deg, var(--black) 0, var(--black) 3px, transparent 3px, transparent 14px);
  opacity: 0.15;
}

.hero-card-badge {
  position: absolute;
  bottom: -1.5rem;
  left: 2rem;
  background: var(--pink);
  color: white;
  border: var(--border);
  padding: 8px 16px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow-sm);
  z-index: 10;
}

/* Hero decorative elements */
.hero-deco {
  position: absolute;
  pointer-events: none;
}

.deco-square {
  width: 60px;
  height: 60px;
  border: 3px solid var(--black);
}

/* ─── SECTION HEADER ────────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.section-number {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 2px;
  background: var(--black);
  color: var(--cream);
  padding: 4px 10px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: 1px;
  line-height: 1;
}

.section-line {
  flex: 1;
  height: 3px;
  background: var(--black);
}

.section-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 5rem 2rem;
}

/* ─── ABOUT ─────────────────────────────────────────────────── */
#about {
  background: var(--black);
}

#about .section-title {
  color: var(--cream);
}

#about .section-number {
  background: var(--yellow);
  color: var(--black);
}

#about .section-line {
  background: #333;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.about-card {
  background: var(--cream);
  border: var(--border);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
}

.about-card p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.about-card p:last-child {
  margin-bottom: 0;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat-card {
  border: var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.stat-card:nth-child(1) {
  background: var(--yellow);
}

.stat-card:nth-child(2) {
  background: var(--pink);
  color: white;
}

.stat-card:nth-child(3) {
  background: var(--lime);
}

.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.stat-label {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ─── SKILLS ────────────────────────────────────────────────── */
#skills {
  background: var(--cream);
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: var(--border);
  padding: 12px 22px;
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: default;
  transition: transform 0.15s, box-shadow 0.15s;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Space Mono', monospace;
}

.skill-tag:hover {
  transform: translate(-3px, -3px) rotate(-1deg);
  box-shadow: 9px 9px 0 0 var(--black);
}

.skill-tag .skill-icon {
  font-size: 1.2rem;
}

.tag-yellow {
  background: var(--yellow);
}

.tag-pink {
  background: var(--pink);
  color: white;
}

.tag-blue {
  background: var(--blue);
}

.tag-lime {
  background: var(--lime);
}

.tag-orange {
  background: var(--orange);
  color: white;
}

.tag-purple {
  background: var(--purple);
}

.tag-white {
  background: white;
}

.skills-categories {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.skill-category {
  border: var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.skill-cat-header {
  background: var(--black);
  color: var(--cream);
  padding: 12px 20px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: 'Space Mono', monospace;
  display: flex;
  align-items: center;
  gap: 8px;
}

.skill-cat-header .cat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.skill-cat-body {
  padding: 1.25rem;
  background: white;
}

.skill-bar-item {
  margin-bottom: 12px;
}

.skill-bar-item:last-child {
  margin-bottom: 0;
}

.skill-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.skill-bar-track {
  height: 12px;
  background: var(--cream);
  border: 2px solid var(--black);
  position: relative;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: var(--black);
  width: 0;
  transition: width 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
}



/* ─── PROJECTS ──────────────────────────────────────────────── */
#projects {
  background: var(--yellow);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--cream);
  border: var(--border);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
  overflow: hidden;
}

.project-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0px 0px var(--black);
}

.project-img {
  width: 100%;
  aspect-ratio: 16/9;
  border-bottom: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
}

.project-img-1 {
  background: var(--pink);
  color: white;
}

.project-img-2 {
  background: var(--blue);
  color: var(--black);
}

.project-img-3 {
  background: var(--lime);
  color: var(--black);
}

.project-img-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--black) 1px, transparent 1px),
    linear-gradient(90deg, var(--black) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.08;
}

.project-img-icon {
  font-size: 4rem;
  position: relative;
  z-index: 1;
}

.project-img-label {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--black);
  color: var(--cream);
  padding: 4px 12px;
  font-size: 0.7rem;
  font-family: 'Space Mono', monospace;
  letter-spacing: 1px;
}

.project-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--yellow);
  color: var(--black);
  border: 2px solid var(--black);
  padding: 3px 10px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Space Mono', monospace;
}

.project-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 5rem;
  line-height: 1;
  color: rgba(0, 0, 0, 0.06);
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
  pointer-events: none;
}

.project-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.project-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #444;
  flex: 1;
  margin-bottom: 1.25rem;
}

.project-techs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.5rem;
}

.project-tech {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  padding: 3px 10px;
  border: 2px solid var(--black);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ─── CONTACT ───────────────────────────────────────────────── */
#contact {
  background: var(--black);
}

#contact .section-title {
  color: var(--cream);
}

#contact .section-number {
  background: var(--lime);
  color: var(--black);
}

#contact .section-line {
  background: #333;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
}

.contact-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.95;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.contact-headline span {
  color: var(--yellow);
}

.contact-sub {
  color: #aaa;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 460px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 2px solid #333;
  padding: 1.25rem 1.5rem;
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.15s;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}

.contact-link:hover {
  border-color: var(--yellow);
  color: var(--black);
  background: var(--yellow);
}

.contact-link-icon {
  width: 42px;
  height: 42px;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-link-info {
  flex: 1;
}

.contact-link-label {
  font-size: 0.7rem;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: 'Space Mono', monospace;
  display: block;
  margin-bottom: 2px;
}

.contact-link-value {
  font-size: 1rem;
  font-weight: 700;
}

.contact-link-arrow {
  font-size: 1.2rem;
  opacity: 0.5;
}

.contact-link:hover .contact-link-arrow {
  opacity: 1;
}

.contact-card {
  background: var(--yellow);
  border: var(--border);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
}

.contact-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--black);
}

.contact-card p {
  font-size: 0.9rem;
  color: #1a1a1a;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ─── FOOTER ────────────────────────────────────────────────── */
footer {
  background: var(--black);
  border-top: 4px solid #222;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-copy span {
  color: var(--yellow);
}

.footer-top-btn {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
}

.footer-top-btn:hover {
  color: var(--yellow);
}

/* ─── ANIMATIONS ────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

.stagger-4 {
  transition-delay: 0.4s;
}

/* ─── MARQUEE STRIP ─────────────────────────────────────────── */
.marquee-strip {
  background: var(--black);
  border-top: var(--border);
  border-bottom: var(--border);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-inner {
  display: inline-flex;
  gap: 0;
  animation: marquee 20s linear infinite;
}

.marquee-inner:hover {
  animation-play-state: paused;
}

.marquee-item {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 3px;
  color: var(--cream);
  padding: 0 2rem;
}

.marquee-sep {
  color: var(--yellow);
  padding: 0 0.5rem;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-card {
    display: none;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-card {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 640px) {
  .section-wrapper {
    padding: 3.5rem 1.25rem;
  }

  #navbar {
    padding: 0 1.25rem;
  }

  #hero {
    padding: 3rem 1.25rem;
  }

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

  .btn {
    justify-content: center;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─── TOOLTIP ───────────────────────────────────────────────── */
[data-tooltip] {
  position: relative;
}

[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--black);
  color: var(--cream);
  font-size: 0.7rem;
  padding: 4px 10px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  border: 2px solid var(--cream);
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.5px;
}

[data-tooltip]:hover::before {
  opacity: 1;
}

/* ─── SELECTION ─────────────────────────────────────────────── */
::selection {
  background: var(--yellow);
  color: var(--black);
}