/* ============================================================
   style.css — Core layout, typography, colors
   ============================================================ */

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

:root {
  /* Palette — Dark Bluish Theme */
  --bg:             #060c1a;
  --surface:        rgba(30,60,140,0.06);
  --text:           #eef2ff;
  --text-dim:       rgba(200,215,255,0.55);
  --text-muted:     rgba(160,185,255,0.28);
  --accent-blue:    #3b9eff;
  --accent-purple:  #bf5af2;
  --accent-green:   #30d158;
  --accent-orange:  #ff9f0a;

  /* Glass */
  --glass-bg:       rgba(25, 55, 140, 0.08);
  --glass-border:   rgba(70, 130, 255, 0.12);
  --glass-hover-bg: rgba(35, 75, 180, 0.13);
  --glass-hover-bd: rgba(100, 165, 255, 0.22);
  --glass-blur:     30px;

  /* Spacing */
  --nav-h: 72px;
  --page-px: clamp(20px, 4vw, 60px);

  /* Radius */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
  height: 100dvh;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* --- Skip Link --- */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  padding: 10px 20px; background: var(--accent-blue); color: #fff;
  border-radius: var(--r-sm); font-size: 13px; font-weight: 600;
  z-index: 99999; text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 8px; }

/* --- Selection --- */
::selection { background: rgba(41,151,255,0.3); color: #fff; }

/* --- Noise Overlay --- */
.noise {
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none; opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

/* --- Background Orbs --- */
.bg-orbs {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(120px); opacity: 0.12;
  will-change: transform;
}
.orb--blue   { width: 600px; height: 600px; background: var(--accent-blue);   top: -15%; left: -8%;  }
.orb--purple { width: 500px; height: 500px; background: var(--accent-purple); top: 50%;  right: -12%; }
.orb--green  { width: 350px; height: 350px; background: var(--accent-green);  bottom: 0;  left: 35%; }

/* --- Nav --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--page-px);
  background: rgba(5,5,5,0.6);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.nav__logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px; font-weight: 700; letter-spacing: -0.5px;
}
.accent-dot { color: var(--accent-blue); }
.nav__links { display: flex; gap: 36px; }
.nav__link {
  font-size: 13px; font-weight: 500; color: var(--text-dim);
  letter-spacing: 0.4px; transition: color 0.3s;
  position: relative;
}
.nav__link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px; background: var(--accent-blue);
  transition: width 0.4s var(--ease-out-expo);
}
.nav__link:hover,
.nav__link.active { color: var(--text); }
.nav__link:hover::after,
.nav__link.active::after { width: 100%; }
.nav__link:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 4px;
  border-radius: 4px;
}
.nav__logo:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav__status {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-dim);
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* --- Loader --- */
.loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
}
.loader-inner { text-align: center; }
.loader-bar {
  width: 120px; height: 2px; background: rgba(255,255,255,0.1);
  border-radius: 2px; margin: 0 auto 20px; overflow: hidden;
  position: relative;
}
.loader-bar::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  transform: scaleX(0); transform-origin: left;
  animation: loaderFill 1.6s var(--ease-out-expo) forwards;
}
@keyframes loaderFill { to { transform: scaleX(1); } }
.loader-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; font-weight: 600; letter-spacing: 4px;
  text-transform: uppercase; color: var(--text-dim);
}

/* --- Main --- */
main { position: relative; z-index: 1; overflow: hidden; }

/* --- Sections Track (horizontal scroll container) --- */
.sections-track {
  display: flex;
  width: 400vw;
  will-change: transform;
}

/* --- Per-section scrollbar --- */
.hub::-webkit-scrollbar,
.panel::-webkit-scrollbar { width: 3px; }
.hub::-webkit-scrollbar-track,
.panel::-webkit-scrollbar-track { background: transparent; }
.hub::-webkit-scrollbar-thumb,
.panel::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

/* --- Scroll progress dots --- */
.scroll-dots {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 500; display: flex; gap: 10px; align-items: center;
  padding: 10px 18px;
  background: rgba(5,5,5,0.5);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 100px;
}
.scroll-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.22);
  border: none; cursor: pointer; padding: 0;
  transition: all 0.4s var(--ease-spring);
  flex-shrink: 0;
}
.scroll-dot.active {
  width: 28px; border-radius: 3px;
  background: var(--accent-blue);
  box-shadow: 0 0 10px rgba(41,151,255,0.5);
}
.scroll-dot:hover:not(.active) { background: rgba(255,255,255,0.5); transform: scale(1.3); }
.scroll-dot:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 3px; }

/* --- Scroll arrows --- */
.scroll-arrow {
  position: fixed; top: 50%; transform: translateY(-50%);
  z-index: 500; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-dim);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.35s var(--ease-out-expo);
  backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none;
}
.scroll-arrow.visible { opacity: 0.55; pointer-events: auto; }
.scroll-arrow.visible:hover {
  opacity: 1; background: var(--accent-blue);
  border-color: var(--accent-blue); color: #fff;
  box-shadow: 0 0 20px rgba(41,151,255,0.3);
  transform: translateY(-50%) scale(1.08);
}
.scroll-arrow:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 3px; }
.scroll-arrow--prev { left: 20px; }
.scroll-arrow--next { right: 20px; }

/* Pulse hint on first load */
@keyframes arrowHint {
  0%,100% { transform: translateY(-50%) scale(1); opacity: 0.55; }
  50%      { transform: translateY(-50%) scale(1.18); opacity: 0.9;
             box-shadow: 0 0 0 8px rgba(41,151,255,0.12); }
}
.scroll-arrow--next.hint { animation: arrowHint 0.8s ease 2.5s 3; }

/* --- HUB SECTION --- */
.hub {
  width: 100vw; height: 100dvh; flex-shrink: 0;
  overflow-y: auto; overflow-x: hidden;
  min-height: unset;
  padding: calc(var(--nav-h) + 40px) var(--page-px) 60px;
  display: flex; flex-direction: column;
  justify-content: center;
}
.hub__intro {
  margin-bottom: 48px;
}
.hub__greeting {
  font-size: clamp(14px, 2vw, 18px);
  color: var(--text-dim); font-weight: 400;
  margin-bottom: 8px;
}
.hub__name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 700; letter-spacing: -3px;
  line-height: 1.1;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple), var(--accent-green));
  background-size: 200% 200%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  animation: gradShift 6s ease infinite;
}
@keyframes gradShift {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}
.hub__role {
  font-size: clamp(14px, 2vw, 20px);
  color: var(--text-dim); font-weight: 300;
  margin-top: 12px; letter-spacing: 0.3px;
}

/* --- BENTO GRID --- */
.hub__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto auto;
  gap: 16px;
  max-width: 1100px;
}

/* Card placement */
.hub__card--featured { grid-column: 1 / 3; grid-row: 1 / 3; }
.hub__card--stat:nth-child(2) { grid-column: 3; grid-row: 1; }
.hub__card--stat:nth-child(3) { grid-column: 4; grid-row: 1; }
.hub__card--about   { grid-column: 3 / 5; grid-row: 2; }
.hub__card--contact { grid-column: 1 / 3; grid-row: 3; }
.hub__card--ticker  { grid-column: 3 / 5; grid-row: 3; }

/* Card base */
.hub__card {
  position: relative; overflow: hidden;
  padding: 28px; cursor: pointer;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  min-height: 120px;
}

/* Card glow (follows mouse via JS) */
.card-glow {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none;
  background: radial-gradient(400px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(41,151,255,0.08), transparent 60%);
}
.hub__card:hover .card-glow { opacity: 1; }

.card-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 2px;
  color: var(--accent-blue); font-weight: 600; margin-bottom: 10px;
}
.hub__card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px; font-weight: 600; letter-spacing: -0.5px;
  margin-bottom: 6px;
}
.hub__card p {
  font-size: 13px; color: var(--text-dim); line-height: 1.6; font-weight: 300;
}
.card-arrow {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--text-dim);
  transition: all 0.4s var(--ease-out-expo);
}
.hub__card:hover .card-arrow {
  background: var(--accent-blue);
  color: #fff;
  transform: translate(2px, -2px);
}

/* Stat cards */
.hub__card--stat {
  align-items: center; justify-content: center; text-align: center;
}
.stat-big {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px; font-weight: 700; letter-spacing: -2px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-label {
  font-size: 12px; color: var(--text-dim); margin-top: 8px;
  letter-spacing: 0.4px;
}

/* Featured card chart */
.hub__card--featured { min-height: 300px; }
.hub__card-visual {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.4;
}
.hub__card-visual canvas { width: 100%; height: 100%; }
.hub__card-content { position: relative; z-index: 2; }

/* Ticker */
.hub__card--ticker {
  padding: 0; justify-content: center; overflow: hidden;
}
.ticker-wrap { overflow: hidden; width: 100%; padding: 20px 0; }
.ticker {
  display: flex; gap: 12px; width: max-content;
  animation: tickerScroll 25s linear infinite;
}
.ticker span {
  padding: 6px 16px; border-radius: 100px;
  font-size: 12px; font-weight: 500; white-space: nowrap;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text-dim);
}
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- PANEL SECTIONS (Works, About, Contact) --- */
.panel {
  display: flex; flex-direction: column;
  width: 100vw; height: 100dvh; flex-shrink: 0;
  overflow-y: auto; overflow-x: hidden;
  padding: calc(var(--nav-h) + 40px) var(--page-px) 80px;
}
/* Center panel inner content */
.panel__header,
.works__list,
.about__layout,
.contact__grid {
  max-width: 1100px;
  margin-left: auto; margin-right: auto;
  width: 100%;
}

.panel__header { margin-bottom: 56px; }
.panel__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700; letter-spacing: -2px;
  margin-bottom: 12px;
}
.panel__desc {
  font-size: 17px; color: var(--text-dim);
  max-width: 500px; line-height: 1.7; font-weight: 300;
}

/* .back-btn removed — navigation now handled by horizontal scroll/swipe */

/* Footer inside contact section */
.footer--inline {
  margin-top: auto; padding-top: 40px;
  max-width: 1100px; margin-left: auto; margin-right: auto; width: 100%;
}

/* --- WORKS LIST --- */
.works__list { display: flex; flex-direction: column; gap: 16px; }
.work-item {
  display: grid;
  grid-template-columns: 60px 1fr 1.2fr 44px;
  align-items: center; gap: 24px;
  padding: 32px;
}
.work-item__number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px; font-weight: 700; color: var(--text-muted);
  letter-spacing: -1px;
}
.work-item__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px; font-weight: 600; letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.work-item__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  padding: 3px 10px; border-radius: 100px; font-size: 11px;
  background: rgba(255,255,255,0.05);
  color: var(--text-dim); font-weight: 500;
}
.work-item__desc {
  font-size: 14px; color: var(--text-dim); line-height: 1.6; font-weight: 300;
}
.work-item__arrow {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--text-dim);
  transition: all 0.4s var(--ease-out-expo);
}
.work-item:hover .work-item__arrow {
  background: var(--accent-blue); color: #fff;
  transform: translate(2px, -2px);
}

/* --- ABOUT LAYOUT --- */
.about__layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.about__bio {
  padding: 40px;
}
.about__bio h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px; font-weight: 700; letter-spacing: -1px;
  margin-bottom: 20px;
}
.about__bio p {
  color: var(--text-dim); line-height: 1.8; font-size: 15px;
  font-weight: 300; margin-bottom: 14px;
}
.about__skills { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.skill { padding: 24px; }
.skill__icon { font-size: 28px; }
.skill h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.skill p { font-size: 12px; color: var(--text-dim); margin-bottom: 14px; }
.skill__bar {
  width: 100%; height: 4px; border-radius: 4px;
  background: rgba(255,255,255,0.06); overflow: hidden;
}
.skill__fill {
  height: 100%; border-radius: 4px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  width: 0; /* animated via JS */
  transition: width 1.2s var(--ease-out-expo);
}

/* --- CONTACT GRID --- */
.contact__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.contact-card {
  padding: 32px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.contact-card__label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 2px;
  color: var(--accent-blue); font-weight: 600;
}
.contact-card__value {
  font-size: 14px; color: var(--text-dim); font-weight: 400;
}

/* --- Focus visible: contact cards and hub cards --- */
.contact-card:focus-visible,
.hub__card:focus-visible,
.work-item:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}

/* --- Ticker pause on hover --- */
.hub__card--ticker:hover .ticker {
  animation-play-state: paused;
}

/* --- Skill icon SVG sizing --- */
.skill__icon {
  display: block;
  width: 28px; height: 28px;
  margin-bottom: 12px;
  color: var(--accent-blue);
}
.skill__icon svg { width: 28px; height: 28px; }

/* --- Contact card icon SVG sizing --- */
.contact-card__icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  color: var(--text-dim);
}
.contact-card__icon svg { width: 32px; height: 32px; }

/* --- Theme icon SVG sizing --- */
.theme-icon svg { width: 14px; height: 14px; display: block; }

/* --- Particle Canvas --- */
.particle-canvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* --- Theme Toggle --- */
.nav__right { display: flex; align-items: center; gap: 16px; }
.theme-toggle {
  width: 56px; height: 30px; padding: 3px;
  border-radius: 100px; border: none;
  display: flex; align-items: center;
  position: relative; cursor: pointer;
  background: var(--glass-bg);
}
.theme-icon {
  font-size: 13px; position: absolute; top: 50%;
  transform: translateY(-50%); z-index: 2;
  transition: opacity 0.3s;
}
.theme-icon--dark { left: 8px; opacity: 1; }
.theme-icon--light { right: 8px; opacity: 0.4; }
.theme-toggle.is-light .theme-icon--dark { opacity: 0.4; }
.theme-toggle.is-light .theme-icon--light { opacity: 1; }

.theme-slider {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  position: absolute; left: 4px; top: 50%;
  transform: translateY(-50%);
  transition: left 0.4s var(--ease-out-expo);
  box-shadow: 0 2px 8px rgba(41,151,255,0.3);
}
.theme-toggle.is-light .theme-slider {
  left: calc(100% - 26px);
  background: linear-gradient(135deg, var(--accent-orange), #ff6b6b);
  box-shadow: 0 2px 8px rgba(255,159,10,0.3);
}

/* --- Counter suffix --- */
.stat-suffix {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px; font-weight: 700;
  color: var(--text-dim); margin-left: -4px;
}

/* --- Modal Overlay --- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 8000;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
  opacity: 0;
}
.modal-overlay.is-active {
  display: flex;
}

/* --- Modal --- */
.modal {
  width: 100%; max-width: 780px;
  max-height: 85vh; overflow-y: auto;
  padding: 48px;
  border-radius: var(--r-xl);
  position: relative;
}
.modal::-webkit-scrollbar { width: 4px; }
.modal::-webkit-scrollbar-track { background: transparent; }
.modal::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

.modal__close {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-dim); font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}
.modal__close:hover {
  background: rgba(255,69,58,0.15);
  border-color: rgba(255,69,58,0.3);
  color: #ff453a;
}
.modal__close:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}

.modal__header {
  display: flex; align-items: flex-start; gap: 20px;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.modal__number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 56px; font-weight: 700;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1; letter-spacing: -2px;
}
.modal__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px; font-weight: 700;
  letter-spacing: -1px; margin-bottom: 12px;
}
.modal__tags { display: flex; gap: 8px; flex-wrap: wrap; }

.modal__section { margin-bottom: 28px; }
.modal__section h4 {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 2px; color: var(--accent-blue);
  font-weight: 600; margin-bottom: 10px;
}
.modal__section p {
  font-size: 15px; color: var(--text-dim);
  line-height: 1.8; font-weight: 300;
}

/* Results grid */
.modal__results {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.result-card {
  padding: 20px; text-align: center;
  border-radius: var(--r-md);
}
.result-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px; font-weight: 700;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  display: block; line-height: 1.2; letter-spacing: -1px;
}
.result-label {
  font-size: 11px; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 1px;
  margin-top: 4px; display: block;
}

/* Modal chart */
.modal__chart-area {
  margin-top: 16px; padding: 20px;
  background: rgba(255,255,255,0.02);
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.04);
}

/* --- Footer --- */
.footer {
  text-align: center; padding: 32px var(--page-px);
  font-size: 12px; color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,0.04);
  position: relative; z-index: 1;
}