/* ============================================================
   TOOLY DESIGN SYSTEM — Supanova-grade, Korean-first
   ============================================================ */

/* 1. FONTS
   Pretendard: Korean standard (NOT Inter)
   ----------------------------------------------------------- */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

/* 2. DESIGN TOKENS
   ----------------------------------------------------------- */
:root {
  /* Surfaces */
  --bg:           #fafafa;
  --bg-elevated:  #ffffff;
  --bg-sunken:    #f4f4f5;
  --sidebar-bg:   #09090b;
  --header-bg:    rgba(250,250,250,0.88);

  /* Borders */
  --border:       #e4e4e7;
  --border-strong:#d4d4d8;

  /* Text */
  --text-primary:   #09090b;
  --text-secondary: #52525b;
  --text-tertiary:  #a1a1aa;
  --text-inverse:   #fafafa;

  /* Sidebar text */
  --sidebar-text:       rgba(255,255,255,0.5);
  --sidebar-text-hover: rgba(255,255,255,0.9);
  --sidebar-active-bg:  rgba(255,255,255,0.08);

  /* Accent — ONE per layout context */
  --accent:       #18181b;
  --accent-fg:    #fafafa;

  /* Category colors (muted, <80% saturation) */
  --cat-network:  #3b82f6;
  --cat-text:     #10b981;
  --cat-image:    #8b5cf6;
  --cat-security: #f43f5e;
  --cat-seo:      #f59e0b;
  --cat-encoding: #06b6d4;
  --cat-format:   #ec4899;
  --cat-unit:     #f97316;
  --cat-url:      #14b8a6;
  --cat-fun:      #a855f7;
  --cat-pdf:      #ef4444;

  /* Spacing scale (8px base) */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  /* Layout */
  --header-h:  56px;
  --sidebar-w: 60px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows — tinted to background hue */
  --shadow-xs: 0 1px 2px rgba(9,9,11,0.05);
  --shadow-sm: 0 2px 8px rgba(9,9,11,0.06), 0 1px 2px rgba(9,9,11,0.04);
  --shadow-md: 0 8px 24px rgba(9,9,11,0.08), 0 2px 8px rgba(9,9,11,0.04);
  --shadow-lg: 0 20px 48px rgba(9,9,11,0.10), 0 8px 16px rgba(9,9,11,0.06);

  /* Transitions — spring-based */
  --spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease:   cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.15s;
  --t-base: 0.25s;
  --t-slow: 0.4s;

  /* Typography */
  --font-sans: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
}

/* 3. RESET & BASE
   ----------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1, 'liga' 1;
}

/* Korean typography rules — CRITICAL */
p, li, span, label, td, th, blockquote, figcaption {
  word-break: keep-all;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
  word-break: keep-all;
  text-wrap: balance;
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--text-primary);
}

/* 4. GRAIN TEXTURE OVERLAY
   ----------------------------------------------------------- */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  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");
}

/* 5. LAYOUT SHELL
   ----------------------------------------------------------- */
.ds-shell {
  display: block;
  background: #fafafa;
}

.ds-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 40;
  background: var(--header-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.ds-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 clamp(1rem, 4vw, 3rem);
  flex-wrap: nowrap;
  gap: 0;
}

.ds-header-spacer { flex: 1; min-width: 12px; }

/* Section tabs — inline in header */
.ds-header-tabs {
  display: flex;
  align-items: center;
  height: 100%;
  margin-left: 6px;
}

.ds-header-tab {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 12px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-tertiary);
  text-decoration: none;
  position: relative;
  transition: color 0.15s;
  white-space: nowrap;
}

.ds-header-tab:hover { color: var(--text-primary); }

.ds-header-tab.active { color: var(--text-primary); }

.ds-header-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 8px; right: 8px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px 2px 0 0;
}

.ds-content {
  margin-top: var(--header-h);
  min-height: auto;
  padding: var(--space-8) clamp(1rem, 4vw, 3rem) var(--space-4);
  background: #fafafa;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

@media (max-width: 768px) {
  .ds-header-tabs { display: none; }
  .ds-content { padding: var(--space-5) var(--space-4) var(--space-10); }
}

/* 6. HEADER COMPONENTS
   ----------------------------------------------------------- */
.ds-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}

.ds-logo svg { flex-shrink: 0; }

/* ⌘K trigger */
.ds-cmdbar {
  flex: 0 0 400px;
  max-width: 400px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0 var(--space-3);
  height: 36px;
  background: var(--bg-sunken);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  color: var(--text-tertiary);
  font-size: 0.825rem;
  font-weight: 500;
}

.ds-cmdbar:hover {
  border-color: var(--border-strong);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-xs);
}

.ds-cmdbar-text { flex: 1; text-align: left; }

.ds-cmdbar-kbd {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 6px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  white-space: nowrap;
}

.ds-header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.ds-header-link {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--t-fast) var(--ease);
  white-space: nowrap;
}

.ds-header-link:hover { color: var(--text-primary); background: var(--bg-sunken); }
.ds-header-link.active { color: var(--text-primary); font-weight: 700; }

.ds-header-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--t-base) var(--spring);
  text-decoration: none;
  white-space: nowrap;
}

.ds-header-btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
}
.ds-header-btn-ghost:hover { background: var(--bg-sunken); color: var(--text-primary); }

.ds-header-btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
}
.ds-header-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  opacity: 0.92;
}
.ds-header-btn-primary:active { transform: scale(0.98); }

/* 7. SIDEBAR COMPONENTS
   ----------------------------------------------------------- */
.ds-nav-item {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sidebar-text);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  text-decoration: none;
  border: none;
  background: transparent;
  flex-shrink: 0;
}

.ds-nav-item svg { width: 18px; height: 18px; stroke-width: 1.75; }

.ds-nav-item:hover {
  background: var(--sidebar-active-bg);
  color: var(--sidebar-text-hover);
}

.ds-nav-item.active {
  background: var(--sidebar-active-bg);
  color: #fff;
}

.ds-nav-item.active::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 20px;
  background: #fff;
  border-radius: 0 3px 3px 0;
}

/* Tooltip */
.ds-nav-item::after {
  content: attr(data-tip);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--text-primary);
  color: var(--text-inverse);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  transform: translateY(-50%) translateX(-4px);
}

.ds-nav-item:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.ds-nav-spacer {
  flex: 1;
  min-height: var(--space-4);
}

.ds-nav-divider {
  width: 28px;
  height: 1px;
  background: rgba(255,255,255,0.06);
  flex-shrink: 0;
}

/* 8. CATEGORY PILLS
   ----------------------------------------------------------- */
.ds-pills {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  overflow-x: auto;
  padding-bottom: var(--space-1);
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-bottom: var(--space-6);
}

.ds-pills::-webkit-scrollbar { display: none; }

.ds-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1.5px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--t-fast) var(--spring);
  white-space: nowrap;
  text-decoration: none;
  user-select: none;
  flex-shrink: 0;
}

.ds-pill:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
  background: var(--bg-elevated);
  transform: translateY(-1px);
}

.ds-pill.active {
  background: var(--text-primary);
  color: var(--text-inverse);
  border-color: var(--text-primary);
}

.ds-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* 9. BENTO TOOL GRID
   ----------------------------------------------------------- */
.ds-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

@media (max-width: 1280px) { .ds-bento { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .ds-bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .ds-bento { grid-template-columns: 1fr; } }

.ds-tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  cursor: pointer;
  text-decoration: none;
  color: var(--text-primary);
  transition: all var(--t-base) var(--spring);
  overflow: hidden;
}

.ds-tool-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease);
  border-radius: inherit;
}

.ds-tool-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md), 0 0 0 1.5px var(--card-accent, var(--border-strong));
  transform: translateY(-2px);
}

.ds-tool-card:hover::before { opacity: 0.03; }
.ds-tool-card:active { transform: scale(0.99) translateY(0); }

/* Featured card (span 2) */
.ds-tool-card.featured {
  grid-column: span 2;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-5);
  padding: var(--space-6);
}

@media (max-width: 900px) {
  .ds-tool-card.featured { grid-column: span 2; flex-direction: column; }
}
@media (max-width: 560px) {
  .ds-tool-card.featured { grid-column: span 1; }
}

.ds-tool-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  margin-bottom: var(--space-3);
}

.ds-tool-card.featured .ds-tool-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  margin-bottom: 0;
}

.ds-tool-icon svg { width: 20px; height: 20px; }
.ds-tool-card.featured .ds-tool-icon svg { width: 24px; height: 24px; }

.ds-tool-body { flex: 1; min-width: 0; }

.ds-tool-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ds-tool-card.featured .ds-tool-name { font-size: 1rem; white-space: normal; }

.ds-tool-desc {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  line-height: 1.5;
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ds-tool-card.featured .ds-tool-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  -webkit-line-clamp: 3;
}

.ds-tool-arrow {
  position: absolute;
  right: var(--space-4);
  bottom: var(--space-4);
  width: 20px;
  height: 20px;
  color: var(--text-tertiary);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: all var(--t-fast) var(--spring);
}

.ds-tool-card:hover .ds-tool-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.ds-tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: var(--space-2);
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Section header */
.ds-section-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.ds-section-title {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

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

/* 10. COMMAND PALETTE
   ----------------------------------------------------------- */
.cmdpal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(9,9,11,0.5);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: clamp(60px, 15vh, 140px);
  animation: cmdFadeIn var(--t-fast) var(--ease) both;
}

@keyframes cmdFadeIn { from { opacity: 0; } to { opacity: 1; } }

.cmdpal {
  width: 100%;
  max-width: 560px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.5) inset;
  overflow: hidden;
  animation: cmdSlideIn var(--t-base) var(--spring) both;
  margin: 0 var(--space-4);
}

@keyframes cmdSlideIn { from { opacity:0; transform: scale(0.96) translateY(-12px); } to { opacity:1; transform: scale(1) translateY(0); } }

.cmdpal-input-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border);
}

.cmdpal-input-wrap svg { color: var(--text-tertiary); flex-shrink: 0; width: 18px; height: 18px; }

.cmdpal-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--text-primary);
  background: transparent;
  word-break: keep-all;
}

.cmdpal-input::placeholder { color: var(--text-tertiary); }

.cmdpal-results {
  max-height: 380px;
  overflow-y: auto;
  padding: var(--space-2) 0;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.cmdpal-group-label {
  padding: var(--space-2) var(--space-5) var(--space-1);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.cmdpal-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-5);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease);
  text-decoration: none;
}

.cmdpal-item:hover,
.cmdpal-item.focused {
  background: var(--bg-sunken);
}

.cmdpal-item-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.cmdpal-item-icon svg { width: 15px; height: 15px; }

.cmdpal-item-body { flex: 1; min-width: 0; }
.cmdpal-item-name { font-size: 0.875rem; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmdpal-item-desc { font-size: 0.75rem; color: var(--text-tertiary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; word-break: keep-all; }

.cmdpal-item-arrow { color: var(--text-tertiary); opacity: 0; transition: opacity var(--t-fast); }
.cmdpal-item:hover .cmdpal-item-arrow,
.cmdpal-item.focused .cmdpal-item-arrow { opacity: 1; }

.cmdpal-empty {
  padding: var(--space-10) var(--space-5);
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.875rem;
  word-break: keep-all;
}

.cmdpal-footer {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-5);
  border-top: 1px solid var(--border);
  background: var(--bg-sunken);
}

.cmdpal-hint {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 0.7rem;
  color: var(--text-tertiary);
  font-weight: 600;
}

.cmdpal-hint kbd {
  display: inline-flex;
  align-items: center;
  padding: 1px 5px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
}

/* 11. SHARED COMPONENTS
   ----------------------------------------------------------- */
/* Button system */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 9px 18px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 700;
  font-family: var(--font-sans);
  border: none;
  cursor: pointer;
  transition: all var(--t-base) var(--spring);
  text-decoration: none;
  white-space: nowrap;
  word-break: keep-all;
  user-select: none;
}

.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: scale(0.98) translateY(0); }

.btn-primary { background: var(--text-primary); color: var(--text-inverse); }
.btn-primary:hover { box-shadow: var(--shadow-md); opacity: 0.92; }

.btn-secondary { background: var(--bg-sunken); color: var(--text-primary); border: 1.5px solid var(--border); }
.btn-secondary:hover { border-color: var(--border-strong); background: var(--bg-elevated); box-shadow: var(--shadow-sm); }

.btn-sm { padding: 6px 12px; font-size: 0.8rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: var(--radius-lg); }

/* Input system */
.ds-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-elevated);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  word-break: keep-all;
}

.ds-input:focus {
  border-color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(9,9,11,0.07);
}

.ds-input::placeholder { color: var(--text-tertiary); }

/* Card */
.ds-card {
  background: var(--bg-elevated);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-xs);
}

/* Badge */
.ds-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--bg-sunken);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

/* 12. SCROLL-REVEAL ANIMATION
   ----------------------------------------------------------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  animation: fadeInUp 0.5s var(--spring) both;
}

.reveal.visible { animation-play-state: running; }

/* Stagger children */
.stagger > * { animation: fadeInUp 0.4s var(--spring) both; }
.stagger > *:nth-child(1)  { animation-delay: 0ms; }
.stagger > *:nth-child(2)  { animation-delay: 50ms; }
.stagger > *:nth-child(3)  { animation-delay: 100ms; }
.stagger > *:nth-child(4)  { animation-delay: 150ms; }
.stagger > *:nth-child(5)  { animation-delay: 200ms; }
.stagger > *:nth-child(6)  { animation-delay: 250ms; }
.stagger > *:nth-child(n+7){ animation-delay: 300ms; }

/* 13. UTILITY
   ----------------------------------------------------------- */
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-only   { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.tabular   { font-variant-numeric: tabular-nums; }
[x-cloak]  { display: none !important; }
