/* ==========================================================================
   Kleon Financial Holdings — site styles
   ========================================================================== */

/* Fonts: Plus Jakarta Sans, self-hosted variable font (weights 300–700) */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(fonts/jakarta-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(fonts/jakarta-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Base
   ========================================================================== */
:root {
  --gold: #C9A96A;
  --gold2: #E4C98E;
  --mute: #A7B0C2;
  --card: #0F1728;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #070B14;
  color: #E8ECF3;
  font-family: 'Plus Jakarta Sans', Helvetica, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
h1, h2, h3, p { margin: 0; padding: 0; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold2); }
img { max-width: 100%; border: 0; }
input, textarea, button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--gold2); outline-offset: 3px; }

/* Keeps slide-in animations and the rotating globe from causing sideways scroll on phones */
.site { overflow-x: clip; }

/* Layout and typography
   ========================================================================== */
.k-wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.k-sec { padding: 120px 0; }
.k-alt { background: #0A101D; }
.k-stack { display: flex; flex-direction: column; }
.k-stack-56 { gap: 56px; }
.k-stack-64 { gap: 64px; }
.k-stack-72 { gap: 72px; }
.k-stack-80 { gap: 80px; }
.k-center { display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; }

.k-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.k-eyebrow-tight { letter-spacing: .14em; }
.k-h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.12; font-weight: 600; letter-spacing: -.02em; color: #fff; text-wrap: balance; }
.k-h2-narrow { max-width: 720px; }
.k-h2-xl { font-size: clamp(36px, 4.2vw, 56px); }
.k-body { font-size: 16px; line-height: 1.7; color: var(--mute); text-wrap: pretty; }
.k-body-lg { font-size: 17px; }
.k-body-strong { color: #fff; font-weight: 500; }
.k-intro { max-width: 780px; }

/* Buttons */
.k-btn {
  display: inline-block;
  padding: 16px 30px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: #0A0F1A;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .25s, transform .25s, box-shadow .25s, border-color .25s, color .25s;
}
.k-btn:hover { background: var(--gold2); color: #0A0F1A; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201, 169, 106, .28); }
.k-btn-ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .25); color: #fff; }
.k-btn-ghost:hover { background: transparent; border-color: var(--gold); color: var(--gold2); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.k-btns { display: flex; gap: 14px; flex-wrap: wrap; padding-top: 8px; }

/* Header
   ========================================================================== */
.k-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: background .3s, border-color .3s;
  animation: kDrop .8s var(--ease) both;
}
.k-header.is-scrolled { background: rgba(7, 11, 20, .85); border-color: rgba(255, 255, 255, .07); }
.k-header .k-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }

/* Header logo: hidden over the hero, fades in once the page is scrolled */
.k-brand { display: flex; align-items: center; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .3s, transform .3s; }
.k-brand img { height: 40px; width: auto; display: block; }
.k-header.is-scrolled .k-brand { opacity: 1; transform: none; pointer-events: auto; }

.k-nav { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.k-nav a[data-k] { color: #C3CAD8; font-size: 14px; font-weight: 500; transition: color .2s; }
.k-nav a[data-k]:hover,
.k-nav a.is-active { color: var(--gold2); }
.k-nav a[data-k]:not(.k-btn) { position: relative; padding: 4px 0; }
.k-nav a[data-k]:not(.k-btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.k-nav a[data-k]:not(.k-btn):hover::after,
.k-nav a.is-active::after { transform: scaleX(1); }
.k-nav .k-btn { padding: 11px 22px; font-size: 14px; }

/* Hero
   ========================================================================== */
.k-hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.k-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kZoom 2.4s var(--ease) both; }
.k-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 11, 20, .88) 0%, rgba(7, 11, 20, .55) 55%, rgba(7, 11, 20, .35) 100%); }
.k-hero .k-wrap { position: relative; width: 100%; padding-top: 140px; padding-bottom: 100px; display: grid; grid-template-columns: minmax(0, 760px); gap: 56px; align-items: center; }
.k-hero-copy { display: flex; flex-direction: column; gap: 28px; }
.k-hero h1 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1.05; font-weight: 600; letter-spacing: -.025em; color: #fff; text-wrap: balance; }
.k-hero-logo { height: 210px; width: auto; align-self: flex-start; }
.k-hero-lede { font-size: 19px; line-height: 1.6; max-width: 520px; }

/* Vision
   ========================================================================== */
.k-2col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.k-vision-copy { display: flex; flex-direction: column; gap: 20px; }
.k-vision-copy .k-h2 { margin-bottom: 8px; }
.k-globe-wrap { position: relative; display: flex; justify-content: center; align-items: center; overflow: hidden; }
.k-globe-wrap::before {
  content: "";
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(66, 133, 244, .28) 0%, rgba(66, 133, 244, 0) 70%);
  filter: blur(20px);
}
.k-globe { position: relative; width: 100%; max-width: 520px; height: auto; display: block; animation: kSpin 60s linear infinite; }

/* Cards */
.k-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.k-cards-pillars { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.k-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .07);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.k-card:hover { transform: translateY(-6px); border-color: rgba(201, 169, 106, .45); box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(201, 169, 106, .12); }
.k-card h3 { font-size: 22px; font-weight: 600; color: #fff; }
.k-ico { width: 56px; height: 56px; border-radius: 14px; background: rgba(201, 169, 106, .12); display: flex; align-items: center; justify-content: center; transition: background .35s, transform .35s; }
.k-ico img { width: 28px; height: 28px; }
.k-card:hover .k-ico { background: rgba(201, 169, 106, .24); transform: rotate(-6deg) scale(1.08); }

/* Approach
   ========================================================================== */
.k-pillar { padding: 40px 36px; background: linear-gradient(180deg, #111A2D 0%, #0C1322 100%); gap: 20px; }
.k-pillar h3 { font-size: 26px; }
.k-num { font-size: 56px; font-weight: 300; color: var(--gold); line-height: 1; transition: color .35s, transform .35s; transform-origin: left bottom; }
.k-card:hover .k-num { color: var(--gold2); transform: scale(1.08); }
.k-rule { height: 1px; background: rgba(255, 255, 255, .08); }
.k-list { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.k-list li { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-size: 15px; line-height: 1.5; color: #D5DBE6; }
.k-list li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--gold); }

/* Portfolio
   ========================================================================== */
.k-co { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 56px; align-items: center; }
.k-co-media { position: relative; overflow: hidden; border-radius: 24px; }
.k-co-media img { transition: transform .8s var(--ease); }
.k-co-media img:first-child { width: 100%; height: auto; display: block; }
.k-co-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 58%; height: auto; }
.k-co-media:hover img:first-child { transform: scale(1.04); }
.k-co-media:hover .k-co-logo { transform: translate(-50%, -50%) scale(1.06); }
.k-co-copy { display: flex; flex-direction: column; gap: 22px; }
.k-co-copy h3 { font-size: 36px; font-weight: 600; letter-spacing: -.015em; color: #fff; }
.k-feats { display: flex; flex-direction: column; gap: 16px; padding-top: 6px; }
.k-feat { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.6; color: var(--mute); transition: transform .3s, color .3s; }
.k-feat:hover { transform: translateX(6px); color: #D5DBE6; }
.k-feat::before { content: ""; flex: none; width: 8px; height: 8px; margin: 7px 7px 0; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 7px #0A101D, 0 0 0 8px var(--gold); }
.k-feat strong,
.k-hl strong { color: #fff; font-weight: 600; }

/* Leadership
   ========================================================================== */
.k-founder { display: grid; grid-template-columns: minmax(260px, 420px) minmax(0, 1fr); gap: 64px; align-items: start; }
.k-photo { position: sticky; top: 110px; border-radius: 24px; overflow: hidden; background: var(--card); aspect-ratio: 4 / 5; }
.k-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .9s var(--ease); }
.k-photo:hover img { transform: scale(1.05); }
.k-founder-copy { display: flex; flex-direction: column; gap: 20px; }
.k-founder h3 { font-size: 34px; font-weight: 600; letter-spacing: -.015em; color: #fff; line-height: 1.2; }
.k-founder h3 .k-sep { color: #6E7891; font-weight: 300; }
.k-founder h3 .k-role { font-weight: 400; color: #D5DBE6; }
.k-hl { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.k-hl li { display: flex; gap: 14px; margin: 0; font-size: 15px; line-height: 1.7; color: var(--mute); }
.k-hl li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 10px; border-radius: 50%; background: var(--gold); }

/* Contact
   ========================================================================== */
.k-contact { background: radial-gradient(900px 500px at 20% 50%, #16233D 0%, #0A101D 70%); }
.k-contact .k-co { gap: 64px; }
.k-contact-intro { display: flex; flex-direction: column; gap: 24px; }
.k-contact-art { width: 100%; max-width: 460px; height: auto; }
.k-form-card { padding: 40px; border-radius: 24px; background: var(--card); border: 1px solid rgba(255, 255, 255, .08); }
.k-form { display: flex; flex-direction: column; gap: 18px; }
.k-form label { display: flex; flex-direction: column; gap: 8px; margin: 0; font-size: 13px; font-weight: 500; color: var(--mute); }
.k-form input,
.k-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  background: #0A101D;
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  outline: none;
}
.k-form input:focus,
.k-form textarea:focus { border-color: var(--gold); }
.k-form input[name=botcheck] { display: none; }
.k-form .k-btn { margin-top: 6px; }
.k-form button:disabled { opacity: .6; cursor: wait; }
.k-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.k-err { display: none; font-size: 14px; color: #FF8A80; }
.k-fine { font-size: 12px; line-height: 1.5; color: #6E7891; }
.k-thanks { display: none; flex-direction: column; gap: 12px; padding: 40px 0; text-align: center; }
.k-thanks h3 { font-size: 26px; font-weight: 600; color: #fff; }

/* Footer
   ========================================================================== */
.k-footer { background: #05080F; border-top: 1px solid rgba(255, 255, 255, .06); padding: 56px 0; }
.k-footer .k-wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.k-footer-brand { display: flex; flex-direction: column; gap: 14px; }
.k-footer-brand img { height: 40px; width: auto; align-self: flex-start; }
.k-footer-brand p { font-size: 14px; color: #8993A8; }
.k-footer nav { display: flex; gap: 28px; flex-wrap: wrap; }
.k-footer nav a { color: var(--mute); font-size: 14px; transition: color .25s; }
.k-footer nav a:hover { color: #fff; }
.k-meta { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.k-meta p { font-size: 13px; color: #6E7891; }
.k-legal { display: flex; gap: 20px; }
.k-legal a { font-size: 13px; color: #8993A8; transition: color .25s; }
.k-legal a:hover { color: #fff; }

/* Back-to-top button */
.k-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1000;
  width: 54px;
  height: 54px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .25);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s, background .2s;
}
.k-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.k-top:hover { background: rgba(255, 255, 255, .16); }

/* Legal and 404 pages
   ========================================================================== */
.k-doc { padding: 160px 0 110px; }
.k-doc .k-wrap { max-width: 844px; }
.k-doc h1 { font-size: clamp(36px, 4.6vw, 52px); line-height: 1.1; font-weight: 600; letter-spacing: -.02em; color: #fff; margin: 14px 0 10px; }
.k-doc .k-updated { font-size: 14px; color: #8993A8; margin-bottom: 40px; }
.k-doc h2 { font-size: 22px; font-weight: 600; color: #fff; margin: 40px 0 12px; }
.k-doc p,
.k-doc li { font-size: 16px; line-height: 1.75; color: var(--mute); }
.k-doc p + p { margin-top: 14px; }
.k-doc ul { padding-left: 20px; margin: 12px 0 0; }
.k-doc li + li { margin-top: 8px; }
.k-doc strong { color: #D5DBE6; font-weight: 600; }
.k-doc .k-btns { padding-top: 24px; }

/* Scroll-reveal animations (enabled by site.js)
   ========================================================================== */
.k-anim .k-rv { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.k-anim .k-rv.k-rv-l { transform: translateX(-40px); }
.k-anim .k-rv.k-rv-r { transform: translateX(40px); }
.k-anim .k-rv.k-rv-s { transform: scale(.94); }
.k-anim .k-rv.is-in { opacity: 1; transform: none; }

@keyframes kDrop { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }
@keyframes kZoom { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1); } }
@keyframes kSpin { to { transform: rotate(360deg); } }

/* Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .k-wrap { padding: 0 20px; }
  .k-sec { padding: 80px 0; }
  .k-nav a[data-k] { display: none; }
  .k-hero .k-wrap,
  .k-2col,
  .k-founder,
  .k-co { grid-template-columns: minmax(0, 1fr); }
  .k-hero-logo { height: auto; width: min(100%, 360px); }
  .k-photo { position: relative; top: 0; max-width: 420px; }
  .k-meta { align-items: flex-start; }
  .k-doc { padding: 120px 0 80px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .k-anim .k-rv { opacity: 1; transform: none; }
}
