/* Kastriot Tafolli, tafolli.net */
body { margin: 0; background: #0C0B0A; font-family: 'IBM Plex Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
  * { box-sizing: border-box; }
  a { color: inherit; text-decoration: none; }
  p { text-wrap: pretty; }

  .kt-d { font-family: 'Bodoni Moda', 'Didot', Georgia, serif; font-weight: 400; }
  .kt-m { font-family: 'JetBrains Mono', ui-monospace, monospace; font-variant-numeric: tabular-nums; }

  /* blueprint ground */
  .kt-bp { position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background-image: linear-gradient(rgba(247,243,234,.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(247,243,234,.05) 1px, transparent 1px);
    background-size: 76px 76px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 20%, transparent 78%);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 20%, transparent 78%); }
  .kt-bp-p { background-image: linear-gradient(rgba(20,18,15,.06) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(20,18,15,.06) 1px, transparent 1px); }
  .kt-glow { position: absolute; border-radius: 999px; filter: blur(120px); pointer-events: none; z-index: 0; }

  /* registration ticks, the technical-drawing detail */
  .kt-frame { position: relative; }
  .kt-frame::before, .kt-frame::after { content: ''; position: absolute; width: 9px; height: 9px; pointer-events: none; }
  .kt-frame::before { top: -1px; left: -1px; border-top: 1px solid var(--acc); border-left: 1px solid var(--acc); }
  .kt-frame::after { bottom: -1px; right: -1px; border-bottom: 1px solid var(--acc); border-right: 1px solid var(--acc); }

  /* progress bar */
  .kt-prog { position: fixed; top: 0; left: 0; height: 2px; width: 0%; background: var(--acc); z-index: 90; transition: width .1s linear; }

  /* nav */
  .kt-navbar { transition: background .4s ease, border-color .4s ease; }
  .kt-navbar.kt-shrink { background: rgba(12,11,10,.96); }
  .kt-navbar.kt-shrink .kt-nav-inner { padding-top: 12px; padding-bottom: 12px; }
  .kt-nav-inner { transition: padding .4s cubic-bezier(.16,1,.3,1); }
  .kt-nav a { color: #CFC8BA; transition: color .2s ease; position: relative; }
  .kt-nav a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: var(--acc); transition: width .3s cubic-bezier(.16,1,.3,1); }
  .kt-nav a:hover { color: #F7F3EA; }
  .kt-nav a:hover::after { width: 100%; }
  .kt-nav a.kt-on { color: #F7F3EA; }
  .kt-nav a.kt-on::after { width: 100%; }
  .kt-logo { transition: opacity .3s ease; }
  .kt-logo:hover { opacity: .8; }

  /* buttons */
  .kt-btn { display: inline-block; transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s cubic-bezier(.16,1,.3,1), background .3s ease, border-color .3s ease, color .3s ease; }
  .kt-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(0,0,0,.7); filter: brightness(1.08); }
  .kt-btn-ghost:hover { border-color: var(--acc); color: #F7F3EA; transform: translateY(-2px); }
  .kt-btn-dark:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(20,18,15,.4); }

  /* cards */
  .kt-card { transition: border-color .45s cubic-bezier(.16,1,.3,1), transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s cubic-bezier(.16,1,.3,1), background .45s ease; }
  .kt-card:hover { border-color: rgba(247,243,234,.3); transform: translateY(-5px); box-shadow: 0 34px 70px -34px rgba(0,0,0,.8); background: #171412; }
  .kt-card-p:hover { border-color: rgba(20,18,15,.3); transform: translateY(-5px); box-shadow: 0 30px 60px -30px rgba(20,18,15,.28); }
  .kt-cell { transition: background .35s ease, color .35s ease; }
  .kt-cell:hover { background: #171412; color: #F7F3EA; }

  /* reveal */
  .kt-reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1); }
  .kt-reveal.kt-visible { opacity: 1; transform: translateY(0); }
  .kt-a1 { opacity: 0; animation: kt-rise 1.1s cubic-bezier(.16,1,.3,1) .05s forwards; }
  .kt-a2 { opacity: 0; animation: kt-rise 1.1s cubic-bezier(.16,1,.3,1) .22s forwards; }
  .kt-a3 { opacity: 0; animation: kt-rise 1.1s cubic-bezier(.16,1,.3,1) .4s forwards; }
  .kt-a4 { opacity: 0; animation: kt-rise 1.3s cubic-bezier(.16,1,.3,1) .3s forwards; }
  @keyframes kt-rise { from { transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

  /* terminal */
  .kt-term { font-family: 'JetBrains Mono', monospace; font-size: 13px; line-height: 1.85; }
  .kt-cursor { display: inline-block; width: 7px; height: 15px; background: var(--acc); vertical-align: -2px; animation: kt-blink 1.1s steps(2, start) infinite; }
  @keyframes kt-blink { to { visibility: hidden; } }
  .kt-dot { display: inline-block; width: 7px; height: 7px; border-radius: 999px; background: #7FD3B4; box-shadow: 0 0 0 0 rgba(127,211,180,.6); animation: kt-pulse 2.4s infinite; }
  @keyframes kt-pulse { 70% { box-shadow: 0 0 0 9px rgba(127,211,180,0); } 100% { box-shadow: 0 0 0 0 rgba(127,211,180,0); } }

  /* marquee */
  .kt-marquee { display: flex; overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .kt-mtrack { display: flex; align-items: center; flex-shrink: 0; min-width: 100%; animation: kt-scroll 58s linear infinite; }
  .kt-marquee:hover .kt-mtrack { animation-play-state: paused; }
  @keyframes kt-scroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }

  /* sliders */
  .kt-range { -webkit-appearance: none; appearance: none; width: 100%; height: 2px; background: rgba(247,243,234,.2); outline: none; margin: 0; cursor: pointer; }
  .kt-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 999px; background: var(--acc); border: 3px solid #0C0B0A; box-shadow: 0 0 0 1px var(--acc); cursor: pointer; transition: transform .2s ease; }
  .kt-range::-webkit-slider-thumb:hover { transform: scale(1.18); }
  .kt-range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 999px; background: var(--acc); border: 3px solid #0C0B0A; box-shadow: 0 0 0 1px var(--acc); cursor: pointer; }
  .kt-range:focus-visible { outline: 2px solid var(--acc); outline-offset: 6px; }

  /* faq */
  .kt-faq { border-top: 1px solid rgba(247,243,234,.1); }
  .kt-faq summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; font-size: 17px; color: #F7F3EA; transition: color .25s ease; }
  .kt-faq summary::-webkit-details-marker { display: none; }
  .kt-faq summary:hover { color: #fff; }
  .kt-faq .kt-plus { flex-shrink: 0; width: 18px; height: 18px; position: relative; margin-top: 5px; transition: transform .35s cubic-bezier(.16,1,.3,1); }
  .kt-faq[open] .kt-plus { transform: rotate(45deg); }
  .kt-faq p { margin: 0 0 24px 0; font-size: 15.5px; line-height: 1.8; color: #B5AEA1; max-width: 780px; }

  .kt-ar { display: inline-block; transition: transform .35s cubic-bezier(.16,1,.3,1); }
  .kt-link:hover .kt-ar { transform: translateX(6px); }
  .kt-tl { transition: background .35s ease; }
  .kt-tl:hover { background: rgba(247,243,234,.022); }

  @media (max-width: 1080px) { .kt-nav-links { display: none !important; } }
  @media (max-width: 900px) {
    .kt-hero { grid-template-columns: 1fr !important; }
    .kt-2col, .kt-3col, .kt-split { grid-template-columns: 1fr !important; }
    .kt-4col, .kt-stats { grid-template-columns: repeat(2, 1fr) !important; }
    .kt-wall { grid-template-columns: repeat(3, minmax(0,1fr)) !important; }
    .kt-row { grid-template-columns: 1fr !important; gap: 6px !important; }
    .kt-footgrid { grid-template-columns: 1fr 1fr !important; gap: 34px !important; }
    .kt-calc { grid-template-columns: 1fr !important; }
  }
  @media (max-width: 560px) {
    .kt-4col, .kt-stats { grid-template-columns: 1fr !important; }
    .kt-wall { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
    .kt-footgrid { grid-template-columns: 1fr !important; }
  }
  @media (prefers-reduced-motion: reduce) {
    .kt-reveal, .kt-a1, .kt-a2, .kt-a3, .kt-a4 { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
    .kt-mtrack, .kt-cursor, .kt-dot { animation: none !important; }
  }
