/* ═══ FEECASH HERO — klik.family, 1:1 in structure and motion:
   loader → the photo opens from a framed card to full bleed, black serif headline with
   a lavender-textured second line, white join pill, glass footer. ═══ */
@font-face { font-family: "Instrument Serif"; src: url("/fc/fonts/instrument-serif-normal.woff2") format("woff2"); font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fc/fonts/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-display: swap; }
:root { --k-ink: #0d0d0c; --k-ink2: #4f5049; --k-ink3: #95968d; --k-lav: #8e78e8; --k-lav-deep: #4c3aa0; --k-ease: cubic-bezier(0.22, 1, 0.36, 1); --k-serif: "Instrument Serif", "Times New Roman", serif; }
html { background: #000; }
body { margin: 0; background: #000; color: #f4f4f5; font-family: "Geist", system-ui, sans-serif; font-size: 15px; letter-spacing: -.01em; -webkit-font-smoothing: antialiased; }
body.kl-loading { overflow: hidden; }
::selection { background: var(--k-lav); color: #fff; }

/* loader */
.kl-loader { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  background: linear-gradient(180deg, #d9cff8 0%, #efeaff 45%, #fbfaff 75%, #f3e6f0 100%); clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--k-ease); }
.kl-loader.done { clip-path: inset(0 0 100% 0); }
.kl-loader-mark { width: 92px; height: 92px; padding: 18px; border-radius: 24px; background: #000; animation: kl-breathe 1.6s var(--k-ease) infinite alternate; box-sizing: border-box; }
.kl-loader-mark svg { width: 100%; height: 100%; display: block; }
.kl-loader-text { margin: 0; font-size: 13px; color: var(--k-ink2); }
.kl-loader-text span { animation: kl-dot 1.2s infinite; opacity: 0; }
.kl-loader-text span:nth-child(2) { animation-delay: .15s; } .kl-loader-text span:nth-child(3) { animation-delay: .3s; } .kl-loader-text span:nth-child(4) { animation-delay: .45s; }
@keyframes kl-dot { 30%, 70% { opacity: 1; } }
@keyframes kl-breathe { from { transform: scale(.94); } to { transform: scale(1.04); } }

/* nav: one floating glass pill */
.kl-nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; pointer-events: none; }
.kl-pill { pointer-events: auto; display: flex; align-items: center; gap: 4px; padding: 5px 5px 5px 12px; border-radius: 14px;
  background: rgba(255,255,255,.5); backdrop-filter: blur(22px) saturate(1.7); -webkit-backdrop-filter: blur(22px) saturate(1.7);
  border: 1px solid rgba(255,255,255,.75); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 1px 2px rgba(13,13,12,.04), 0 12px 32px -20px rgba(13,13,12,.22); transition: background .4s; }
.kl-nav.dark .kl-pill { background: rgba(20,20,22,.72); border-color: rgba(255,255,255,.12); box-shadow: 0 12px 32px -20px rgba(0,0,0,.8); }
.kl-nav.dark .kl-brand { color: #fff; }
.kl-nav.dark .kl-btn { background: #fff; color: #000; }
.kl-brand { display: inline-flex; align-items: center; gap: 7px; margin-right: 10px; color: var(--k-ink); text-decoration: none; }
.kl-mk { width: 22px; height: 22px; border-radius: 6px; background: #000; display: grid; place-items: center; flex: none; }
.kl-mk svg { width: 15px; height: 15px; display: block; }
.kl-brand > span:last-child { font-family: var(--k-serif); font-size: 25px; line-height: 1; letter-spacing: -.03em; }
.kl-btn { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 14px; border-radius: 9px; background: var(--k-ink); color: #fff;
  font: 500 13px/1 "Geist", sans-serif; letter-spacing: -.005em; text-decoration: none; white-space: nowrap; transition: background .35s var(--k-ease), transform .35s var(--k-ease); }
.kl-btn:hover { background: var(--k-lav-deep); }
.kl-btn:active { transform: scale(.97); }
.kl-btn-sm { height: 30px; padding: 0 12px; font-size: 12.5px; }

/* stage */
.kl-stage { position: relative; height: 100svh; min-height: 560px; overflow: hidden; display: flex; flex-direction: column; align-items: center; background: #f6f2fb; }
.kl-frame { position: absolute; inset: 0; clip-path: inset(22% 34% 22% 34% round 28px); will-change: clip-path; }
.kl-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transform: scale(1.25); will-change: transform; transition: translate 1.2s var(--k-ease); display: block; }
.kl-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,.1) 48%, rgba(255,255,255,0) 70%, rgba(255,255,255,.5) 100%); }

.kl-content { position: relative; z-index: 2; text-align: center; padding: clamp(110px, 17vh, 170px) 20px 0; color: var(--k-ink); }
.kl-label { font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .25em; color: var(--k-ink); opacity: .7; margin: 0 0 22px; }
.kl-content h1 { font: 400 clamp(64px, 10.5vw, 170px)/.86 var(--k-serif); letter-spacing: -.035em; margin: 0; color: var(--k-ink); }
.kl-line { display: block; overflow: hidden; padding: 0 .06em .08em; }
.kl-tex { background: url("/fc/texture.jpg") center / 520px auto; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.kl-sub { margin: 22px 0 0; font-size: clamp(15px, 1.25vw, 18px); color: var(--k-ink); opacity: .8; }
.kl-join { display: flex !important; align-items: center; gap: 10px; max-width: 420px; margin: 30px auto 0; padding: 5px 5px 5px 16px; background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(13,13,12,.1); border-radius: 12px; }
.kl-type { flex: 1; min-width: 0; display: flex; align-items: center; font-size: 14px; color: var(--k-ink3); text-decoration: none; white-space: nowrap; overflow: hidden; text-align: left; }
.kl-type span { overflow: hidden; }
.kl-caret { width: 1px; height: 16px; background: var(--k-ink); margin-left: 2px; flex: none; animation: kl-blink 1s steps(1) infinite; }
@keyframes kl-blink { 50% { opacity: 0; } }

/* glass footer */
.kl-foot { position: absolute !important; left: 16px; right: 16px; bottom: 16px; z-index: 2; display: grid !important; grid-template-columns: auto 1fr; align-items: center; gap: 10px 30px;
  padding: 14px 20px; border-radius: 16px; background: rgba(255,255,255,.78); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.8); color: var(--k-ink); box-sizing: border-box; }
.kl-foot .kl-brand > span:last-child { font-size: 24px; }
.kl-foot nav { display: flex; gap: 24px; justify-content: flex-end; align-items: center; font-size: 13px; color: var(--k-ink2); flex-wrap: wrap; }
.kl-foot nav button { border: 0; background: none; font: inherit; color: inherit; cursor: pointer; padding: 0; }
.kl-foot nav button:hover { color: var(--k-ink); }
.kl-legal { grid-column: 1 / -1; margin: 0; padding-top: 10px; border-top: 1px solid rgba(13,13,12,.12); font-size: 11px; color: var(--k-ink3); }

/* intro reveal, after the loader */
.kl-in { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--k-ease), transform 1.2s var(--k-ease); display: inline-block; }
.kl-line .kl-in { transform: translateY(105%); }
body.kl-ready .kl-in { opacity: 1; transform: none; }
.i1 { transition-delay: .05s; } .i2 { transition-delay: .12s; } .i3 { transition-delay: .2s; } .i4 { transition-delay: .28s; } .i5 { transition-delay: .4s; } .i6 { transition-delay: .5s; }

.fc { background: #000; }

@media (max-width: 1000px) { .kl-foot { grid-template-columns: 1fr; } .kl-foot nav { justify-content: flex-start; } }
@media (max-width: 560px) {
  .kl-content { padding-top: 110px; }
  .kl-content h1 { font-size: clamp(60px, 19vw, 100px); }
  .kl-join { max-width: 100%; }
  .kl-legal { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .kl-caret, .kl-loader-mark { animation: none; } }

.kl-icon { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: var(--k-ink); transition: background .3s; }
.kl-icon:hover { background: rgba(13,13,12,.06); }
.kl-nav.dark .kl-icon { color: #fff; }
.kl-foot nav a { color: inherit; text-decoration: none; } .kl-foot nav a:hover { color: var(--k-ink); }
