/* Hackosam Universe — complete stylesheet.
   Every section is scoped to its own ID, so one file loads everywhere
   and nothing can ever render unstyled. */


/* ============================================================
   BASE.CSS
============================================================ */
#khn-navwrap{
  --bg:#f4f4f2; --ink:#131312; --sub:#3f3f3c;
  --line:rgba(20,20,18,0.16); --pill-bg:#111111; --pill-fg:#ffffff;
  --nav-scroll-bg:rgba(244,244,242,0.90);
  position:sticky; top:0; z-index:2147483000; pointer-events:auto;
  background:var(--bg); color:var(--ink);
  padding:0 clamp(16px,5vw,72px);
  font-family:'Bricolage Grotesque',sans-serif;
  overflow-x:clip; -webkit-font-smoothing:antialiased;
  transition:background .35s ease,box-shadow .35s ease;
}
html,body{overflow-x:clip;}
body.khp-dark #khn-navwrap{
  --bg:#0f0f0e; --ink:#f2f2ef; --sub:#c9c9c2;
  --line:rgba(242,242,239,0.16); --pill-bg:#f2f2ef; --pill-fg:#0f0f0e;
  --nav-scroll-bg:rgba(15,15,14,0.88);
}
body{transition:background .45s ease;}
body.khp-dark{background:#0f0f0e !important;}
#khn-navwrap *,#khn-navwrap *::before,#khn-navwrap *::after{box-sizing:border-box;}
#khn-navwrap a{text-decoration:none; color:inherit; -webkit-tap-highlight-color:rgba(0,0,0,0.06);}
#khn-navwrap button{-webkit-tap-highlight-color:rgba(0,0,0,0.06);}
#khn-navwrap, #khn-navwrap *{pointer-events:auto;}
#khn-navwrap .khn-burger{touch-action:manipulation;}
#khn-navwrap .khn-toggle{touch-action:manipulation;}
#khn-navwrap.scrolled{background:var(--nav-scroll-bg); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); box-shadow:0 12px 32px -20px rgba(0,0,0,0.45);}
#khn-navwrap .khn-nav{max-width:1240px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:24px 0 16px; border-bottom:1px solid var(--line); transition:padding .35s ease,border-color .45s ease;}
#khn-navwrap.scrolled .khn-nav{padding-top:14px;}
#khn-navwrap .khn-brand{display:flex; align-items:center; gap:10px; font-weight:800; font-size:clamp(15px,4.2vw,21px); letter-spacing:.04em; color:var(--ink); white-space:nowrap; transition:color .45s ease; min-width:0; flex:0 1 auto;}
#khn-navwrap .khn-brand img{height:clamp(26px,6.5vw,36px); width:auto; max-width:46vw; display:block; object-fit:contain;}
/* two-logo sun/moon swap: dark logo by day, white logo by night */
#khn-navwrap .khn-logo-night{display:none;}
body.khp-dark #khn-navwrap .khn-logo-day{display:none;}
body.khp-dark #khn-navwrap .khn-logo-night{display:block;}
#khn-navwrap .khn-brand.day-missing .khn-logo-day{display:none !important;}
#khn-navwrap .khn-brand.night-missing .khn-logo-night{display:none !important;}
#khn-navwrap .khn-brandtext{display:none;}
#khn-navwrap .khn-brand.day-missing .khn-brandtext{display:inline;}
body.khp-dark #khn-navwrap .khn-brandtext{display:none;}
body.khp-dark #khn-navwrap .khn-brand.night-missing .khn-brandtext{display:inline;}
#khn-navwrap .khn-links{display:flex; align-items:center; gap:clamp(18px,2.4vw,40px);}
#khn-navwrap .khn-links a{font-weight:500; font-size:13.5px; letter-spacing:.09em; text-transform:uppercase; color:var(--sub); display:inline-block; padding:7px 12px; margin:-7px -4px; border-radius:8px; background-image:linear-gradient(var(--pill-bg),var(--pill-bg)); background-repeat:no-repeat; background-position:left bottom; background-size:0% 100%; transition:color .25s ease,background-size .3s cubic-bezier(.4,0,.2,1),transform .25s ease;}
#khn-navwrap .khn-links a:hover{color:var(--pill-fg); background-size:100% 100%; transform:translateY(-2px);}
#khn-navwrap .khn-navright{display:flex; align-items:center; gap:14px; flex:none;}
#khn-navwrap .khn-subscribe{font-weight:700; font-size:13.5px; letter-spacing:.09em; text-transform:uppercase; color:var(--pill-fg); background:var(--pill-bg); padding:10px 18px; border-radius:999px; transition:background .45s ease,color .45s ease,transform .15s ease; white-space:nowrap;}
#khn-navwrap .khn-subscribe:hover{transform:translateY(-1px);}
#khn-navwrap .khn-toggle{width:38px; height:38px; border-radius:50%; border:1px solid var(--line); background:transparent; color:var(--ink); cursor:pointer; display:flex; align-items:center; justify-content:center; padding:0; flex:none; transition:border-color .2s ease,transform .15s ease,color .45s ease;}
#khn-navwrap .khn-toggle:hover{border-color:var(--ink); transform:rotate(20deg);}
#khn-navwrap .khn-toggle .khn-moon{display:none;}
body.khp-dark #khn-navwrap .khn-toggle .khn-sun{display:none;}
body.khp-dark #khn-navwrap .khn-toggle .khn-moon{display:block;}
#khn-navwrap .khn-burger{display:none; flex-direction:column; gap:5px; width:40px; height:40px; align-items:center; justify-content:center; background:transparent; border:1px solid var(--line); border-radius:10px; cursor:pointer; flex:none;}
#khn-navwrap .khn-burger span{display:block; width:20px; height:2px; background:var(--ink); border-radius:2px; transition:transform .3s,opacity .2s,background .45s ease;}
#khn-navwrap .khn-burger.open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
#khn-navwrap .khn-burger.open span:nth-child(2){opacity:0;}
#khn-navwrap .khn-burger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
@keyframes khnDrawerIn{from{opacity:0;transform:translateY(-14px);}to{opacity:1;transform:translateY(0);}}
#khn-navwrap .khn-drawer{display:none; flex-direction:column; gap:2px; padding:6px 0 18px;}
#khn-navwrap .khn-drawer.open{display:flex; animation:khnDrawerIn .3s ease both; max-height:calc(100vh - 96px); max-height:calc(100dvh - 96px); overflow-y:auto; -webkit-overflow-scrolling:touch; overscroll-behavior:contain;}
#khn-navwrap .khn-drawer a{font-weight:600; font-size:15px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink); padding:11px 4px; border-bottom:1px solid var(--line);}

@media (max-width:980px){
  #khn-navwrap .khn-links{display:none;}
  #khn-navwrap .khn-burger{display:flex;}
  #khn-navwrap .khn-nav{gap:10px;}
  #khn-navwrap .khn-navright{gap:10px;}
}
@media (max-width:640px){
  #khn-navwrap .khn-subscribe{padding:9px 13px; font-size:12px;}
  #khn-navwrap .khn-brand img{height:28px; max-width:42vw;}
  #khn-navwrap .khn-toggle{width:35px; height:35px;}
  #khn-navwrap .khn-drawer a{font-size:14px;}
}
@media (max-width:400px){
  #khn-navwrap .khn-nav{gap:8px; padding-top:18px;}
  #khn-navwrap .khn-navright{gap:8px;}
  #khn-navwrap .khn-brand img{height:24px; max-width:38vw;}
  #khn-navwrap .khn-subscribe{padding:8px 11px; font-size:11px; letter-spacing:.06em;}
  #khn-navwrap .khn-burger{width:36px; height:36px;}
  #khn-navwrap .khn-toggle{width:33px; height:33px;}
}


/* INVERTED: dark surface while the site is in light (sun) mode */
#khsf-footer{
  --bg:#111111; --ink:#f2f2ef; --mut:#8f8f88;
  --line:rgba(242,242,239,0.14);
  background:var(--bg); color:var(--ink);
  font-family:'Newsreader',Georgia,serif;
  padding:clamp(34px,5vh,52px) clamp(16px,5vw,72px);
  overflow-x:clip; -webkit-font-smoothing:antialiased;
  transition:background .45s ease,color .45s ease;
}
html,body{overflow-x:clip;}
/* INVERTED: light surface while the site is in dark (moon) mode */
body.khp-dark #khsf-footer{
  --bg:#f2f2ef; --ink:#131312; --mut:#757570;
  --line:rgba(20,20,18,0.14);
}
#khsf-footer *,#khsf-footer *::before,#khsf-footer *::after{box-sizing:border-box;}
#khsf-footer p{margin:0;}
#khsf-footer a{text-decoration:none; color:inherit;}

#khsf-footer .khsf-inner{max-width:1240px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap;}
#khsf-footer .khsf-brand{display:flex; align-items:center; gap:10px; font-family:'Bricolage Grotesque',sans-serif; font-weight:800; font-size:19px; letter-spacing:.04em; color:var(--ink); white-space:nowrap; transition:color .45s ease; min-width:0;}
#khsf-footer .khsf-brand img{height:clamp(26px,5.5vw,34px); width:auto; max-width:46vw; display:block; object-fit:contain;}
/* two-logo swap, INVERTED like the footer itself:
   footer is DARK in sun mode → WHITE logo; LIGHT in moon mode → DARK logo */
#khsf-footer .khsf-logo-dark{display:none;}
body.khp-dark #khsf-footer .khsf-logo-white{display:none;}
body.khp-dark #khsf-footer .khsf-logo-dark{display:block;}
#khsf-footer .khsf-brand.white-missing .khsf-logo-white{display:none !important;}
#khsf-footer .khsf-brand.dark-missing .khsf-logo-dark{display:none !important;}
#khsf-footer .khsf-brandtext{display:none;}
#khsf-footer .khsf-brand.white-missing .khsf-brandtext{display:inline;}
body.khp-dark #khsf-footer .khsf-brandtext{display:none;}
body.khp-dark #khsf-footer .khsf-brand.dark-missing .khsf-brandtext{display:inline;}
#khsf-footer .khsf-rights{font-family:'Bricolage Grotesque',sans-serif; font-weight:600; font-size:12.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--mut); text-align:right; transition:color .45s ease;}
#khsf-footer .khsf-rights b{color:var(--ink); font-weight:700; transition:color .45s ease;}

@media (max-width:640px){
  #khsf-footer .khsf-inner{flex-direction:column; justify-content:center; gap:14px; text-align:center;}
  #khsf-footer .khsf-rights{text-align:center; font-size:11.5px; letter-spacing:.1em;}
}

/* ---------- theme shims: WordPress markup inside the approved design ---------- */
#khn-navwrap .khn-brand img{display:block;}
#khn-navwrap .khn-links a,#khn-navwrap .khn-drawer a{text-decoration:none;}
#khsf-footer .khsf-brand img{display:block;}


/* ============================================================
   HOME.CSS
============================================================ */
/* ============================================================
   KING HACKOSAM · HOMEPAGE HERO (no built-in menu bar)
   The menu now comes from the site-wide WPCODE-1 NAVBAR
   snippet, which shows on every page including this one.
   Its sun/moon toggle switches this hero automatically.
============================================================ */
#kh-hero{
  --bg:#f4f4f2; --ink:#131312; --sub:#3f3f3c; --mut:#757570;
  --line:rgba(20,20,18,0.16); --pill-bg:#111111; --pill-fg:#ffffff;
  --field-bg:#ffffff; --field-border:rgba(20,20,18,0.14);
  --reel-mut:#b3b3ad;
  background:var(--bg); color:var(--ink);
  font-family:'Newsreader',Georgia,serif;
  padding:0 clamp(16px,5vw,72px);
  min-height:100vh; line-height:1.5;
  overflow-x:clip;
  -webkit-font-smoothing:antialiased;
  transition:background .45s ease,color .45s ease;
}
#kh-hero.kh-dark{
  --bg:#0f0f0e; --ink:#f2f2ef; --sub:#c9c9c2; --mut:#8f8f88;
  --line:rgba(242,242,239,0.16); --pill-bg:#f2f2ef; --pill-fg:#0f0f0e;
  --field-bg:#1c1c1a; --field-border:rgba(242,242,239,0.20);
  --reel-mut:#62625c;
}
#kh-hero *,#kh-hero *::before,#kh-hero *::after{box-sizing:border-box;}
#kh-hero ::selection{background:#8b5a2b; color:#fdf9f3;}
#kh-hero ::-moz-selection{background:#8b5a2b; color:#fdf9f3;}
#kh-hero h1,#kh-hero h2,#kh-hero h3,#kh-hero p{margin:0;}
#kh-hero a{text-decoration:none; color:inherit;}
#kh-hero input::placeholder{color:#9a9a94;}

@keyframes khPulseDot{0%,100%{opacity:1;}50%{opacity:.32;}}
@keyframes khDrawCircle{from{stroke-dashoffset:760;}to{stroke-dashoffset:0;}}
@keyframes khLeafFlip{0%{transform:rotateY(0);}38%{transform:rotateY(0);}50%{transform:rotateY(180deg);}90%{transform:rotateY(180deg);}100%{transform:rotateY(0);}}
@keyframes khReel{0%,18%{transform:translateY(0);}28%,46%{transform:translateY(-1.25em);}56%,100%{transform:translateY(-2.5em);}}

/* ---------- HEADLINE ---------- */
#kh-hero .kh-head{max-width:1160px; margin:0 auto; text-align:center; padding:clamp(44px,7vh,92px) 0 0;}
#kh-hero .kh-eyebrow{font-family:'Bricolage Grotesque',sans-serif; font-weight:600; font-size:14px; letter-spacing:.16em; text-transform:uppercase; color:var(--ink); margin-bottom:26px;}
#kh-hero .kh-h1{font-family:'Poppins',sans-serif; font-weight:800; font-size:clamp(52px,8vw,116px); line-height:.98; letter-spacing:-.02em; color:var(--ink); transition:color .45s ease;}
#kh-hero .kh-h1 .kh-dots{color:var(--ink); display:inline-block; animation:khPulseDot 1.8s ease-in-out infinite;}
#kh-hero .kh-reelrow{margin-top:clamp(14px,2.2vh,26px); display:flex; justify-content:center; align-items:flex-start; font-weight:800; font-size:clamp(30px,4.6vw,62px); line-height:1.25; letter-spacing:-.015em;}
#kh-hero .kh-reelmask{display:inline-flex; height:1.25em; overflow:hidden;}
#kh-hero .kh-reel{display:flex; flex-direction:column; animation:khReel 8.5s cubic-bezier(.72,0,.2,1) infinite;}
#kh-hero .kh-reel span{height:1.25em; font-family:'Caveat',cursive; color:var(--reel-mut);}
#kh-hero .kh-reel span:last-child{color:var(--ink);}

/* ---------- CHART-FLOW ARROWS ---------- */
#kh-hero .kh-arrows{max-width:1240px; margin:0 auto; height:clamp(120px,16vh,185px); position:relative; pointer-events:none;}
#kh-hero .kh-arrows svg{position:absolute; inset:0; width:100%; height:100%; overflow:visible;}
#kh-hero .kh-arrows path{stroke:var(--ink); stroke-width:3.4; fill:none; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:1; stroke-dashoffset:1;}
#kh-hero .kh-arrows polyline{stroke:var(--ink); stroke-width:3.4; fill:none; stroke-linecap:round; stroke-linejoin:round; opacity:0; transition:opacity .25s ease;}

/* ---------- TWO COLUMN ---------- */
#kh-hero .kh-cols{max-width:1240px; margin:0 auto; display:flex; flex-wrap:wrap; gap:clamp(40px,6vw,96px); align-items:center; padding-bottom:clamp(60px,10vh,120px);}
#kh-hero .kh-colleft{flex:1.05 1 420px; position:relative; display:flex; justify-content:center; align-items:center; min-height:540px;}
#kh-hero .kh-colright{flex:1 1 380px; min-width:0;}
#kh-hero .kh-spot{position:absolute; width:460px; height:460px; max-width:100%; border-radius:50%; background:radial-gradient(circle at 50% 45%,rgba(17,17,17,0.07),rgba(17,17,17,0.03) 60%,transparent 72%);}
#kh-hero .kh-backcard{position:absolute; width:320px; transform:rotate(5deg) translate(46px,18px); background:#fcfcfa; border:1px solid rgba(20,20,18,0.08); border-radius:14px; box-shadow:0 26px 50px -28px rgba(20,20,18,0.45); padding:30px 28px; opacity:.96;}
#kh-hero .kh-flip{position:relative; width:332px; max-width:100%; perspective:1700px; transform:rotate(-3deg);}
#kh-hero .kh-flipinner{position:relative; width:100%; transform-style:preserve-3d; animation:khLeafFlip 9s ease-in-out infinite;}
#kh-hero .kh-leaf{width:100%; backface-visibility:hidden; -webkit-backface-visibility:hidden; background:#ffffff; border:1px solid rgba(20,20,18,0.07); border-radius:16px; box-shadow:0 34px 64px -30px rgba(20,20,18,0.55); padding:34px 32px;}
#kh-hero .kh-leaf.front{position:relative;}
#kh-hero .kh-leaf.back{position:absolute; inset:0; overflow:hidden; transform:rotateY(180deg);}
#kh-hero .kh-kicker{font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:11px; letter-spacing:.13em; text-transform:uppercase; color:#8b8b85; margin-bottom:14px;}
#kh-hero .kh-kicker.dark{color:#131312;}
#kh-hero .kh-leaf h3{font-family:'Bricolage Grotesque',sans-serif; font-weight:800; font-size:26px; line-height:1.04; letter-spacing:-.01em; margin-bottom:6px; color:#161614;}
#kh-hero .kh-byline{font-family:'Bricolage Grotesque',sans-serif; font-weight:600; font-size:10px; letter-spacing:.16em; text-transform:uppercase; color:#9a9a94; margin-bottom:18px;}
#kh-hero .kh-quote{font-style:italic; font-size:15px; line-height:1.5; color:#2a2a26; margin-bottom:18px;}
#kh-hero .kh-body{font-size:14.5px; line-height:1.6; color:#464641; margin-bottom:16px;}
#kh-hero .kh-rule{font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:11px; letter-spacing:.13em; text-transform:uppercase; color:#8b8b85; border-top:1px solid rgba(20,20,18,0.10); padding-top:14px;}
#kh-hero .kh-attrib{display:block; margin-top:8px; font-style:italic; color:#8b8b85;}

/* ---------- CONVERSION ---------- */
#kh-hero .kh-h2{font-family:'Poppins',sans-serif; font-weight:800; font-size:clamp(24px,2.5vw,36px); line-height:1.34; letter-spacing:-.005em; color:var(--ink); margin-bottom:26px; transition:color .45s ease;}
#kh-hero .kh-circlewrap{position:relative; white-space:nowrap; display:inline-block; color:var(--ink); background:rgba(139,90,43,0.16); padding:.04em .2em; border-radius:4px; margin:.16em 0;}
#kh-hero .kh-circlewrap svg{position:absolute; left:-5%; top:-30%; width:110%; height:162%; overflow:visible; pointer-events:none;}
#kh-hero .kh-circlewrap ellipse{fill:none; stroke:var(--ink); stroke-width:2.4; stroke-linecap:round; stroke-dasharray:760; animation:khDrawCircle 1.1s ease-out .3s both;}
#kh-hero .kh-lead{font-size:clamp(18px,1.4vw,21px); line-height:1.55; color:var(--sub); margin-bottom:32px; max-width:30em; transition:color .45s ease;}
#kh-hero .kh-form{display:flex; align-items:center; background:var(--field-bg); border:1px solid var(--field-border); border-radius:999px; padding:6px 6px 6px 26px; max-width:520px; box-shadow:0 14px 30px -22px rgba(20,20,18,0.5); transition:background .45s ease;}
#kh-hero .kh-form input{flex:1; min-width:0; border:none; outline:none; background:transparent; font-family:'Newsreader',serif; font-size:18px; color:var(--ink); padding:12px 0;}
#kh-hero .kh-form button{font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:14px; letter-spacing:.1em; text-transform:uppercase; color:var(--pill-fg); background:var(--pill-bg); border:none; border-radius:999px; padding:15px 30px; cursor:pointer; white-space:nowrap; transition:transform .15s ease;}
#kh-hero .kh-form button:hover{transform:scale(1.03);}
#kh-hero .kh-success{display:none; align-items:center; gap:14px; background:var(--field-bg); border:1px solid var(--field-border); border-radius:999px; padding:16px 28px; max-width:520px; font-family:'Bricolage Grotesque',sans-serif; font-weight:600; font-size:16px; color:var(--ink);}
#kh-hero .kh-privacy{font-style:italic; font-size:15px; line-height:1.5; color:var(--mut); margin-top:22px; max-width:32em; transition:color .45s ease;}
#kh-hero .kh-privacy a{color:var(--mut); text-decoration:underline;}

/* ---------- RESPONSIVE ---------- */
@media (max-width:980px){
  #kh-hero .kh-arrows{display:none;}
  #kh-hero .kh-cols{padding-top:40px;}
}
@media (max-width:640px){
  #kh-hero .kh-colleft{min-height:480px;}
  #kh-hero .kh-backcard,#kh-hero .kh-flip{width:290px;}
  #kh-hero .kh-form{padding-left:18px;}
  #kh-hero .kh-form button{padding:13px 20px; font-size:13px;}
}
@media (max-width:400px){
  #kh-hero .kh-h1{font-size:clamp(42px,13vw,52px);}
  #kh-hero .kh-backcard{width:270px; transform:rotate(5deg) translate(28px,14px);}
  #kh-hero .kh-flip{width:272px;}
  #kh-hero .kh-leaf{padding:28px 24px;}
}


#kh-about{
  --bg:#f4f4f2; --ink:#131312; --sub:#3f3f3c; --mut:#757570;
  --line:rgba(20,20,18,0.16); --pill-bg:#111111; --pill-fg:#ffffff;
  --spot:rgba(17,17,17,0.07); --spot2:rgba(17,17,17,0.03);
  background:var(--bg); color:var(--ink);
  font-family:'Newsreader',Georgia,serif;
  padding:clamp(64px,10vh,120px) clamp(16px,5vw,72px);
  line-height:1.5; overflow-x:clip;
  -webkit-font-smoothing:antialiased;
  transition:background .45s ease,color .45s ease;
}
#kh-about.kh-dark{
  --bg:#0f0f0e; --ink:#f2f2ef; --sub:#c9c9c2; --mut:#8f8f88;
  --line:rgba(242,242,239,0.16); --pill-bg:#f2f2ef; --pill-fg:#0f0f0e;
  --spot:rgba(242,242,239,0.08); --spot2:rgba(242,242,239,0.03);
}
#kh-about *,#kh-about *::before,#kh-about *::after{box-sizing:border-box;}
#kh-about ::selection{background:#8b5a2b; color:#fdf9f3;}
#kh-about h2,#kh-about h3,#kh-about p{margin:0;}
#kh-about a{text-decoration:none; color:inherit;}

@keyframes khaDrawCircle{from{stroke-dashoffset:760;}to{stroke-dashoffset:0;}}
@keyframes khaFadeUp{from{opacity:0; transform:translateY(18px);}to{opacity:1; transform:translateY(0);}}

#kh-about .kha-inner{max-width:1160px; margin:0 auto;}

/* ---------- HEADING ---------- */
#kh-about .kha-eyebrow{font-family:'Bricolage Grotesque',sans-serif; font-weight:600; font-size:14px; letter-spacing:.16em; text-transform:uppercase; color:var(--ink); text-align:center; margin-bottom:22px; transition:color .45s ease;}
#kh-about .kha-h2{font-family:'Poppins',sans-serif; font-weight:800; font-size:clamp(38px,5.6vw,72px); line-height:1.04; letter-spacing:-.02em; color:var(--ink); text-align:center; transition:color .45s ease;}
#kh-about .kha-circlewrap{position:relative; white-space:nowrap; display:inline-block; color:var(--ink); background:rgba(139,90,43,0.16); padding:.04em .18em; border-radius:4px;}
#kh-about .kha-circlewrap svg{position:absolute; left:-5%; top:-30%; width:110%; height:162%; overflow:visible; pointer-events:none;}
#kh-about .kha-circlewrap ellipse{fill:none; stroke:var(--ink); stroke-width:2.4; stroke-linecap:round; stroke-dasharray:760; animation:khaDrawCircle 1.1s ease-out .3s both;}
#kh-about .kha-tag{font-family:'Caveat',cursive; font-weight:600; font-size:clamp(21px,2.4vw,28px); color:var(--mut); text-align:center; margin-top:14px; transition:color .45s ease;}

/* ---------- TWO COLUMN ---------- */
#kh-about .kha-cols{display:flex; flex-wrap:wrap; align-items:center; gap:clamp(40px,6vw,88px); padding-top:clamp(44px,7vh,80px);}
#kh-about .kha-photocol{flex:0.9 1 340px; position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center;}
#kh-about .kha-biocol{flex:1.1 1 420px; min-width:0;}

/* photo */
#kh-about .kha-spot{position:absolute; top:44%; left:50%; transform:translate(-50%,-50%); width:min(480px,105%); aspect-ratio:1; border-radius:50%; background:radial-gradient(circle at 50% 45%,var(--spot),var(--spot2) 60%,transparent 72%); pointer-events:none;}
#kh-about .kha-photo{position:relative; width:min(380px,86vw);}
#kh-about .kha-photo img{width:100%; height:auto; display:block; border-radius:50%; box-shadow:0 34px 64px -30px rgba(20,20,18,0.55);}
#kh-about .kha-scribble{position:absolute; right:-6px; bottom:-4px; font-family:'Caveat',cursive; font-weight:700; font-size:clamp(19px,2vw,24px); color:var(--ink); transform:rotate(-6deg); white-space:nowrap; transition:color .45s ease;}
#kh-about .kha-scribble svg{display:block; margin:2px auto 0; width:54px; height:26px; overflow:visible;}
#kh-about .kha-scribble path{fill:none; stroke:var(--ink); stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round;}

/* socials */
#kh-about .kha-socials{display:flex; justify-content:center; align-items:center; gap:14px; margin-top:34px; position:relative; z-index:1;}
#kh-about .kha-socials a{width:42px; height:42px; border-radius:50%; border:1px solid var(--line); color:var(--ink); display:flex; align-items:center; justify-content:center; transition:border-color .25s ease,background .25s ease,color .25s ease,transform .15s ease;}
#kh-about .kha-socials a:hover{background:var(--pill-bg); color:var(--pill-fg); border-color:var(--pill-bg); transform:translateY(-3px);}
#kh-about .kha-socials svg{width:18px; height:18px; display:block;}

/* bio */
#kh-about .kha-hey{font-family:'Bricolage Grotesque',sans-serif; font-weight:800; font-size:clamp(25px,2.6vw,34px); letter-spacing:-.01em; color:var(--ink); margin-bottom:18px; transition:color .45s ease;}
#kh-about .kha-body{font-size:clamp(17px,1.35vw,20px); line-height:1.62; color:var(--sub); margin-bottom:20px; max-width:34em; transition:color .45s ease;}
#kh-about .kha-body b{color:var(--ink); font-weight:600;}
#kh-about .kha-callout{font-family:'Bricolage Grotesque',sans-serif; font-weight:600; font-size:clamp(16px,1.25vw,18.5px); line-height:1.55; color:var(--ink); border-left:3px solid var(--ink); padding:4px 0 4px 18px; margin:26px 0 30px; max-width:32em; transition:color .45s ease,border-color .45s ease;}

/* CTAs */
#kh-about .kha-ctas{display:flex; flex-wrap:wrap; align-items:center; gap:14px;}
#kh-about .kha-btn{font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:14px; letter-spacing:.09em; text-transform:uppercase; color:var(--pill-fg); background:var(--pill-bg); padding:15px 28px; border-radius:999px; white-space:nowrap; transition:background .45s ease,color .45s ease,transform .15s ease; display:inline-block;}
#kh-about .kha-btn:hover{transform:translateY(-2px);}
#kh-about .kha-ghost{font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:14px; letter-spacing:.09em; text-transform:uppercase; color:var(--ink); background:transparent; border:1px solid var(--line); padding:14px 26px; border-radius:999px; white-space:nowrap; transition:border-color .25s ease,transform .15s ease,color .45s ease; display:inline-block;}
#kh-about .kha-ghost:hover{border-color:var(--ink); transform:translateY(-2px);}

/* reveal on scroll */
#kh-about .kha-reveal{opacity:0;}
#kh-about .kha-reveal.in{animation:khaFadeUp .7s ease both;}

/* ---------- RESPONSIVE ---------- */
@media (max-width:900px){
  #kh-about .kha-cols{gap:44px;}
  #kh-about .kha-photocol{flex:1 1 100%;}
  #kh-about .kha-biocol{flex:1 1 100%;}
  #kh-about .kha-hey{text-align:center;}
  #kh-about .kha-body{margin-left:auto; margin-right:auto; text-align:center;}
  #kh-about .kha-callout{margin-left:auto; margin-right:auto; border-left:none; border-top:3px solid var(--ink); padding:16px 0 0; text-align:center;}
  #kh-about .kha-ctas{justify-content:center;}
}
@media (max-width:640px){
  #kh-about{padding-top:56px; padding-bottom:64px;}
  #kh-about .kha-photo{width:min(300px,80vw);}
  #kh-about .kha-scribble{right:2px; bottom:-10px; font-size:18px;}
  #kh-about .kha-btn,#kh-about .kha-ghost{font-size:13px; padding:13px 22px;}
  #kh-about .kha-socials{gap:11px; margin-top:30px;}
  #kh-about .kha-socials a{width:40px; height:40px;}
}
@media (max-width:400px){
  #kh-about .kha-photo{width:min(260px,84vw);}
  #kh-about .kha-h2{font-size:clamp(32px,10vw,38px);}
  #kh-about .kha-ctas{flex-direction:column; width:100%;}
  #kh-about .kha-btn,#kh-about .kha-ghost{width:100%; text-align:center;}
}


#kh-blog{
  --bg:#f4f4f2; --ink:#131312; --sub:#3f3f3c; --mut:#757570;
  --line:rgba(20,20,18,0.16); --pill-bg:#111111; --pill-fg:#ffffff;
  --card-bg:#ffffff; --card-border:rgba(20,20,18,0.07);
  --card-shadow:0 26px 50px -30px rgba(20,20,18,0.45);
  --ph-a:#e9e9e5; --ph-b:#dcdcd6;
  background:var(--bg); color:var(--ink);
  font-family:'Newsreader',Georgia,serif;
  padding:clamp(64px,10vh,120px) clamp(16px,5vw,72px);
  line-height:1.5; overflow-x:clip;
  -webkit-font-smoothing:antialiased;
  transition:background .45s ease,color .45s ease;
}
#kh-blog.kh-dark{
  --bg:#0f0f0e; --ink:#f2f2ef; --sub:#c9c9c2; --mut:#8f8f88;
  --line:rgba(242,242,239,0.16); --pill-bg:#f2f2ef; --pill-fg:#0f0f0e;
  --card-bg:#1a1a18; --card-border:rgba(242,242,239,0.10);
  --card-shadow:0 26px 50px -30px rgba(0,0,0,0.8);
  --ph-a:#242422; --ph-b:#1c1c1a;
}
#kh-blog *,#kh-blog *::before,#kh-blog *::after{box-sizing:border-box;}
#kh-blog ::selection{background:#8b5a2b; color:#fdf9f3;}
#kh-blog h2,#kh-blog h3,#kh-blog p{margin:0;}
#kh-blog a{text-decoration:none; color:inherit;}

@keyframes khbDrawCircle{from{stroke-dashoffset:760;}to{stroke-dashoffset:0;}}
@keyframes khbFadeUp{from{opacity:0; transform:translateY(18px);}to{opacity:1; transform:translateY(0);}}

#kh-blog .khb-inner{max-width:1240px; margin:0 auto;}

/* ---------- HEADING ---------- */
#kh-blog .khb-eyebrow{font-family:'Bricolage Grotesque',sans-serif; font-weight:600; font-size:14px; letter-spacing:.16em; text-transform:uppercase; color:var(--ink); text-align:center; margin-bottom:22px; transition:color .45s ease;}
#kh-blog .khb-h2{font-family:'Poppins',sans-serif; font-weight:800; font-size:clamp(38px,5.6vw,72px); line-height:1.04; letter-spacing:-.02em; color:var(--ink); text-align:center; transition:color .45s ease;}
#kh-blog .khb-circlewrap{position:relative; white-space:nowrap; display:inline-block; color:var(--ink); background:rgba(139,90,43,0.16); padding:.04em .18em; border-radius:4px;}
#kh-blog .khb-circlewrap svg{position:absolute; left:-5%; top:-30%; width:110%; height:162%; overflow:visible; pointer-events:none;}
#kh-blog .khb-circlewrap ellipse{fill:none; stroke:var(--ink); stroke-width:2.4; stroke-linecap:round; stroke-dasharray:760; animation:khbDrawCircle 1.1s ease-out .3s both;}
#kh-blog .khb-tag{font-size:clamp(17px,1.5vw,21px); color:var(--sub); text-align:center; margin-top:16px; transition:color .45s ease;}

/* ---------- GRID ---------- */
#kh-blog .khb-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(24px,3vw,44px) clamp(22px,2.6vw,38px); padding-top:clamp(44px,7vh,76px);}

/* ---------- CARD ---------- */
#kh-blog .khb-card{display:flex; flex-direction:column; min-width:0;}
#kh-blog .khb-thumb{position:relative; display:block; border-radius:14px; overflow:hidden; border:1px solid var(--card-border); background:var(--card-bg); box-shadow:var(--card-shadow); aspect-ratio:16/10; transition:transform .3s ease,box-shadow .3s ease,background .45s ease;}
#kh-blog .khb-thumb img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s ease;}
#kh-blog .khb-card:hover .khb-thumb{transform:translateY(-6px);}
#kh-blog .khb-card:hover .khb-thumb img{transform:scale(1.045);}
/* styled fallback when no featured image is set yet */
#kh-blog .khb-ph{position:absolute; inset:0; display:flex; align-items:center; justify-content:center; background:radial-gradient(circle at 30% 20%,var(--ph-a),var(--ph-b));}
#kh-blog .khb-ph span{font-family:'Poppins',sans-serif; font-weight:800; font-size:64px; letter-spacing:-.03em; color:var(--mut); opacity:.55;}
#kh-blog .khb-ph i{position:absolute; right:14px; bottom:10px; font-family:'Caveat',cursive; font-style:normal; font-weight:600; font-size:17px; color:var(--mut);}

#kh-blog .khb-cat{font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:11px; letter-spacing:.13em; text-transform:uppercase; color:var(--mut); margin:20px 0 8px; transition:color .45s ease;}
#kh-blog .khb-title{font-family:'Bricolage Grotesque',sans-serif; font-weight:800; font-size:clamp(19px,1.6vw,23px); line-height:1.18; letter-spacing:-.01em; color:var(--ink); transition:color .45s ease;}
#kh-blog .khb-title a{background-image:linear-gradient(var(--ink),var(--ink)); background-repeat:no-repeat; background-position:left bottom; background-size:0% 2px; transition:background-size .3s cubic-bezier(.4,0,.2,1);}
#kh-blog .khb-card:hover .khb-title a{background-size:100% 2px;}
#kh-blog .khb-excerpt{font-size:16px; line-height:1.58; color:var(--sub); margin-top:10px; transition:color .45s ease;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;}
#kh-blog .khb-read{font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:13px; letter-spacing:.1em; text-transform:uppercase; color:var(--ink); margin-top:14px; display:inline-flex; align-items:center; gap:7px; transition:color .45s ease;}
#kh-blog .khb-read span{transition:transform .25s ease; display:inline-block;}
#kh-blog .khb-card:hover .khb-read span{transform:translateX(5px);}

/* ---------- FOOTER CTA ---------- */
#kh-blog .khb-more{display:flex; justify-content:center; padding-top:clamp(44px,7vh,64px);}
#kh-blog .khb-btn{font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:14px; letter-spacing:.09em; text-transform:uppercase; color:var(--pill-fg); background:var(--pill-bg); padding:16px 34px; border-radius:999px; white-space:nowrap; transition:background .45s ease,color .45s ease,transform .15s ease; display:inline-block;}
#kh-blog .khb-btn:hover{transform:translateY(-2px);}

/* while the live feed is loading */
@keyframes khbShimmer{0%{opacity:.45;}50%{opacity:1;}100%{opacity:.45;}}
#kh-blog.khb-loading .khb-grid{animation:khbShimmer 1.2s ease-in-out infinite;}
#kh-blog.khb-loading .khb-grid a{pointer-events:none;}

/* reveal on scroll */
#kh-blog .khb-reveal{opacity:0;}
#kh-blog .khb-reveal.in{animation:khbFadeUp .7s ease both;}

/* ---------- RESPONSIVE ---------- */
@media (max-width:1024px){
  #kh-blog .khb-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:640px){
  #kh-blog{padding-top:56px; padding-bottom:64px;}
  #kh-blog .khb-grid{grid-template-columns:1fr; gap:36px;}
  #kh-blog .khb-title{font-size:20px;}
  #kh-blog .khb-btn{width:100%; text-align:center;}
}


#kh-cta{
  --bg:#f4f4f2; --ink:#131312; --sub:#3f3f3c; --mut:#757570;
  --line:rgba(20,20,18,0.16); --pill-bg:#111111; --pill-fg:#ffffff;
  --field-bg:#ffffff; --field-border:rgba(20,20,18,0.14);
  --spot:rgba(17,17,17,0.07); --spot2:rgba(17,17,17,0.03);
  background:var(--bg); color:var(--ink);
  font-family:'Newsreader',Georgia,serif;
  padding:clamp(72px,11vh,130px) clamp(16px,5vw,72px);
  line-height:1.5; overflow-x:clip;
  -webkit-font-smoothing:antialiased;
  transition:background .45s ease,color .45s ease;
}
#kh-cta.kh-dark{
  --bg:#0f0f0e; --ink:#f2f2ef; --sub:#c9c9c2; --mut:#8f8f88;
  --line:rgba(242,242,239,0.16); --pill-bg:#f2f2ef; --pill-fg:#0f0f0e;
  --field-bg:#1c1c1a; --field-border:rgba(242,242,239,0.20);
  --spot:rgba(242,242,239,0.08); --spot2:rgba(242,242,239,0.03);
}
#kh-cta *,#kh-cta *::before,#kh-cta *::after{box-sizing:border-box;}
#kh-cta ::selection{background:#8b5a2b; color:#fdf9f3;}
#kh-cta h2,#kh-cta h3,#kh-cta p{margin:0;}
#kh-cta a{text-decoration:none; color:inherit;}
#kh-cta input::placeholder{color:#9a9a94;}

@keyframes khcDrawCircle{from{stroke-dashoffset:760;}to{stroke-dashoffset:0;}}
@keyframes khcFadeUp{from{opacity:0; transform:translateY(18px);}to{opacity:1; transform:translateY(0);}}
@keyframes khcPulseDot{0%,100%{opacity:1;}50%{opacity:.32;}}
@keyframes khcFloat{0%,100%{transform:rotate(6deg) translateY(0);}50%{transform:rotate(6deg) translateY(-12px);}}
@keyframes khcLetterScroll{0%,16%{transform:translateY(0);}46%,62%{transform:translateY(calc(-100% + 560px));}92%,100%{transform:translateY(0);}}

#kh-cta .khc-inner{max-width:1240px; margin:0 auto;}
#kh-cta .khc-cols{display:flex; flex-wrap:wrap; align-items:center; gap:clamp(44px,6vw,96px);}
#kh-cta .khc-copycol{flex:1.15 1 440px; min-width:0;}
#kh-cta .khc-phonecol{flex:0.85 1 320px; position:relative; display:flex; justify-content:center;}

/* ---------- COPY ---------- */
#kh-cta .khc-eyebrow{font-family:'Bricolage Grotesque',sans-serif; font-weight:600; font-size:14px; letter-spacing:.16em; text-transform:uppercase; color:var(--ink); margin-bottom:24px; transition:color .45s ease;}
#kh-cta .khc-h2{font-family:'Poppins',sans-serif; font-weight:800; font-size:clamp(36px,4.6vw,60px); line-height:1.08; letter-spacing:-.02em; color:var(--ink); transition:color .45s ease;}
#kh-cta .khc-h2 .khc-dots{display:inline-block; animation:khcPulseDot 1.8s ease-in-out infinite;}
#kh-cta .khc-circlewrap{position:relative; white-space:nowrap; display:inline-block; color:var(--ink); background:rgba(139,90,43,0.16); padding:.04em .18em; border-radius:4px;}
#kh-cta .khc-circlewrap svg{position:absolute; left:-5%; top:-30%; width:110%; height:162%; overflow:visible; pointer-events:none;}
#kh-cta .khc-circlewrap ellipse{fill:none; stroke:var(--ink); stroke-width:2.4; stroke-linecap:round; stroke-dasharray:760; stroke-dashoffset:760;}
#kh-cta .in .khc-circlewrap ellipse{animation:khcDrawCircle 1.1s ease-out .45s both;}
#kh-cta .khc-lead{font-size:clamp(17px,1.4vw,20px); line-height:1.6; color:var(--sub); margin:22px 0 0; max-width:30em; transition:color .45s ease;}
#kh-cta .khc-lead b{color:var(--ink); font-weight:600;}

/* ---------- FORM ---------- */
#kh-cta .khc-formwrap{position:relative; max-width:520px; margin:36px 0 0;}
#kh-cta .khc-form{display:flex; align-items:center; background:var(--field-bg); border:1px solid var(--field-border); border-radius:999px; padding:6px 6px 6px 26px; box-shadow:0 14px 30px -22px rgba(20,20,18,0.5); transition:background .45s ease;}
#kh-cta .khc-form input{flex:1; min-width:0; border:none; outline:none; background:transparent; font-family:'Newsreader',serif; font-size:18px; color:var(--ink); padding:12px 0;}
#kh-cta .khc-form button{font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:14px; letter-spacing:.1em; text-transform:uppercase; color:var(--pill-fg); background:var(--pill-bg); border:none; border-radius:999px; padding:15px 30px; cursor:pointer; white-space:nowrap; transition:transform .15s ease,background .45s ease,color .45s ease;}
#kh-cta .khc-form button:hover{transform:scale(1.03);}
#kh-cta .khc-success{display:none; align-items:center; gap:14px; background:var(--field-bg); border:1px solid var(--field-border); border-radius:999px; padding:16px 28px; font-family:'Bricolage Grotesque',sans-serif; font-weight:600; font-size:16px; color:var(--ink);}
#kh-cta .khc-scribble{position:absolute; right:-8px; top:-46px; font-family:'Caveat',cursive; font-weight:700; font-size:clamp(19px,2vw,23px); color:var(--ink); transform:rotate(4deg); white-space:nowrap; transition:color .45s ease;}
#kh-cta .khc-scribble svg{display:block; margin:2px auto 0; width:44px; height:30px; overflow:visible;}
#kh-cta .khc-scribble path{fill:none; stroke:var(--ink); stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round;}
#kh-cta .khc-note{font-style:italic; font-size:14.5px; color:var(--mut); margin-top:18px; transition:color .45s ease;}

/* ---------- iPHONE 15 PRO MAX MOCKUP (pure CSS) ---------- */
#kh-cta .khc-spot{position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:min(520px,115%); aspect-ratio:1; border-radius:50%; background:radial-gradient(circle at 50% 45%,var(--spot),var(--spot2) 60%,transparent 72%); pointer-events:none;}
#kh-cta .khc-phonewrap{position:relative; animation:khcFloat 7s ease-in-out infinite; will-change:transform;}
#kh-cta .khc-phone{
  position:relative; width:min(302px,80vw); aspect-ratio:1290/2796;
  background:linear-gradient(145deg,#4a4a4e,#232326 40%,#39393d 70%,#1d1d20);
  border-radius:52px; padding:11px;
  box-shadow:0 44px 80px -34px rgba(20,20,18,0.65), inset 0 0 3px rgba(255,255,255,0.35);
}
/* titanium side buttons */
#kh-cta .khc-phone i{position:absolute; background:linear-gradient(90deg,#5a5a5e,#2c2c30); border-radius:3px;}
#kh-cta .khc-btn-action{left:-2.5px; top:19%; width:3.5px; height:26px;}
#kh-cta .khc-btn-volup{left:-2.5px; top:28%; width:3.5px; height:44px;}
#kh-cta .khc-btn-voldn{left:-2.5px; top:36.5%; width:3.5px; height:44px;}
#kh-cta .khc-btn-power{right:-2.5px; top:30%; width:3.5px; height:66px; background:linear-gradient(270deg,#5a5a5e,#2c2c30);}
/* screen */
#kh-cta .khc-screen{position:relative; width:100%; height:100%; background:#fdfdfb; border-radius:42px; overflow:hidden;}
#kh-cta .khc-island{position:absolute; top:11px; left:50%; transform:translateX(-50%); width:88px; height:25px; background:#0a0a0a; border-radius:14px; z-index:3;}
#kh-cta .khc-statusbar{position:absolute; top:14px; left:0; right:0; display:flex; justify-content:space-between; padding:0 26px; z-index:2; font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:12px; color:#131312;}
#kh-cta .khc-statusbar svg{width:34px; height:11px; display:block;}
/* app header inside the screen */
#kh-cta .khc-apphead{position:absolute; top:44px; left:0; right:0; z-index:2; text-align:center; padding:8px 0 10px; background:linear-gradient(#fdfdfb 74%,rgba(253,253,251,0)); font-family:'Bricolage Grotesque',sans-serif;}
#kh-cta .khc-apphead b{display:block; font-weight:800; font-size:12.5px; letter-spacing:.05em; color:#131312;}
#kh-cta .khc-apphead span{display:block; font-weight:600; font-size:9px; letter-spacing:.14em; text-transform:uppercase; color:#9a9a94; margin-top:2px;}
/* the letter, slowly scrolling like it's being read */
#kh-cta .khc-lettermask{position:absolute; inset:0; padding:92px 0 0; overflow:hidden;}
#kh-cta .khc-letter{padding:6px 24px 26px; animation:khcLetterScroll 16s ease-in-out infinite;}
#kh-cta .khc-kicker{font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:9.5px; letter-spacing:.13em; text-transform:uppercase; color:#8b8b85; margin-bottom:10px;}
#kh-cta .khc-kicker.dark{color:#131312;}
#kh-cta .khc-letter h3{font-family:'Bricolage Grotesque',sans-serif; font-weight:800; font-size:21px; line-height:1.05; letter-spacing:-.01em; color:#161614; margin-bottom:5px;}
#kh-cta .khc-byline{font-family:'Bricolage Grotesque',sans-serif; font-weight:600; font-size:8.5px; letter-spacing:.16em; text-transform:uppercase; color:#9a9a94; margin-bottom:14px;}
#kh-cta .khc-quote{font-style:italic; font-size:13px; line-height:1.5; color:#2a2a26; margin-bottom:14px;}
#kh-cta .khc-mini{position:relative; white-space:nowrap; display:inline-block; background:rgba(139,90,43,0.16); padding:0 .14em; border-radius:3px; font-style:italic;}
#kh-cta .khc-body{font-size:12px; line-height:1.6; color:#464641; margin-bottom:13px;}
#kh-cta .khc-rule{font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:9.5px; letter-spacing:.13em; text-transform:uppercase; color:#8b8b85; border-top:1px solid rgba(20,20,18,0.10); padding-top:11px; margin-bottom:13px;}
#kh-cta .khc-sig{font-family:'Caveat',cursive; font-weight:700; font-size:21px; color:#131312; transform:rotate(-3deg); display:inline-block; margin-top:2px;}
/* home indicator */
#kh-cta .khc-homebar{position:absolute; bottom:8px; left:50%; transform:translateX(-50%); width:104px; height:4px; border-radius:4px; background:#131312; opacity:.85; z-index:3;}
/* floating caveat note next to the phone */
#kh-cta .khc-phonenote{position:absolute; left:-44px; bottom:52px; font-family:'Caveat',cursive; font-weight:700; font-size:clamp(18px,1.9vw,22px); color:var(--ink); transform:rotate(-7deg); white-space:nowrap; transition:color .45s ease;}
#kh-cta .khc-phonenote svg{display:block; margin:2px 0 0 26px; width:46px; height:24px; overflow:visible;}
#kh-cta .khc-phonenote path{fill:none; stroke:var(--ink); stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round;}

/* reveal on scroll */
#kh-cta .khc-reveal{opacity:0;}
#kh-cta .khc-reveal.in{animation:khcFadeUp .7s ease both;}

@media (prefers-reduced-motion: reduce){
  #kh-cta .khc-phonewrap,#kh-cta .khc-letter,#kh-cta .khc-dots{animation:none;}
}

/* ---------- RESPONSIVE ---------- */
@media (max-width:980px){
  #kh-cta .khc-copycol{text-align:center;}
  #kh-cta .khc-lead{margin-left:auto; margin-right:auto;}
  #kh-cta .khc-formwrap{margin-left:auto; margin-right:auto;}
  #kh-cta .khc-phonecol{order:2;}
}
@media (max-width:640px){
  #kh-cta{padding-top:60px; padding-bottom:68px;}
  #kh-cta .khc-form{padding-left:18px;}
  #kh-cta .khc-form input{font-size:16px;}
  #kh-cta .khc-form button{padding:13px 20px; font-size:13px;}
  #kh-cta .khc-scribble{right:2px; top:-42px; font-size:17px;}
  #kh-cta .khc-phone{width:min(268px,76vw);}
  #kh-cta .khc-phonenote{left:-10px; bottom:34px; font-size:17px;}
}
@media (max-width:400px){
  #kh-cta .khc-h2{font-size:clamp(30px,9.4vw,36px);}
  #kh-cta .khc-form{flex-direction:column; gap:10px; border-radius:26px; padding:14px;}
  #kh-cta .khc-form input{width:100%; text-align:center; padding:8px 0;}
  #kh-cta .khc-form button{width:100%;}
  #kh-cta .khc-success{border-radius:26px; justify-content:center;}
  #kh-cta .khc-phone{width:min(244px,82vw);}
  #kh-cta .khc-phonenote{display:none;}
}

/* ---------- EVEN CARDS (homepage letters grid) ---------- */
#kh-blog .khb-grid{align-items:stretch;}
#kh-blog .khb-card{height:100%; display:flex; flex-direction:column;}
#kh-blog .khb-thumb{flex:none;}
#kh-blog .khb-title{
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical;
  overflow:hidden;
}
#kh-blog .khb-excerpt{
  flex:1 1 auto;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
}
#kh-blog .khb-read{margin-top:auto; padding-top:14px; align-self:flex-start;}


/* ============================================================
   SINGLE.CSS
============================================================ */
/* ============ PAGE-LEVEL THEME ============ */
body{transition:background .45s ease;}
body.khp-dark{background:#0f0f0e !important;}

#khp-hero,#khp-main, .khp-article{
  --bg:#f4f4f2; --ink:#131312; --sub:#3f3f3c; --mut:#757570;
  --line:rgba(20,20,18,0.16); --pill-bg:#111111; --pill-fg:#ffffff;
  --field-bg:#ffffff; --field-border:rgba(20,20,18,0.14);
  --card-bg:#ffffff; --card-border:rgba(20,20,18,0.07);
  --card-shadow:0 26px 50px -30px rgba(20,20,18,0.45);
  --nav-scroll-bg:rgba(244,244,242,0.90); --accent:#8b5a2b;
}
body.khp-dark #khp-hero, body.khp-dark #khp-main, body.khp-dark .khp-article{
  --bg:#0f0f0e; --ink:#f2f2ef; --sub:#c9c9c2; --mut:#8f8f88;
  --line:rgba(242,242,239,0.16); --pill-bg:#f2f2ef; --pill-fg:#0f0f0e;
  --field-bg:#1c1c1a; --field-border:rgba(242,242,239,0.20);
  --card-bg:#1a1a18; --card-border:rgba(242,242,239,0.10);
  --card-shadow:0 26px 50px -30px rgba(0,0,0,0.8);
  --nav-scroll-bg:rgba(15,15,14,0.88);
}
#khp-hero *,#khp-main *{box-sizing:border-box;}
#khp-hero ::selection,#khp-main ::selection,.khp-article ::selection{background:#8b5a2b; color:#fdf9f3;}
html,body{overflow-x:clip;}
#khp-hero,#khp-main{
}

/* ============ 1. PROGRESS BAR ============ */
#khp-progress{position:fixed; top:0; left:0; right:0; height:4px; z-index:99999; pointer-events:none;}
#khp-progress span{display:block; height:100%; width:0%; background:linear-gradient(90deg,#8b5a2b,#131312); border-radius:0 3px 3px 0; transition:width .08s linear;}
body.khp-dark #khp-progress span{background:linear-gradient(90deg,#8b5a2b,#f2f2ef);}

/* ============ 3+4+5+6. HERO CTA + TITLE + FEATURED IMAGE + DIVIDER ============ */
#khp-hero{background:var(--bg); color:var(--ink); font-family:'Newsreader',Georgia,serif; line-height:1.5; padding:clamp(30px,4.5vh,52px) clamp(16px,5vw,72px) 0; overflow-x:clip; -webkit-font-smoothing:antialiased; transition:background .45s ease,color .45s ease;}
#khp-hero h1,#khp-hero p{margin:0;}
#khp-hero input::placeholder{color:#9a9a94;}
#khp-hero .khp-inner{max-width:860px; margin:0 auto; text-align:center;}
#khp-hero .khp-eyebrow{font-family:'Bricolage Grotesque',sans-serif; font-weight:600; font-size:12.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--ink); margin-bottom:14px; transition:color .45s ease;}
#khp-hero .khp-lead{font-size:clamp(15.5px,1.2vw,17.5px); line-height:1.55; color:var(--sub); max-width:36em; margin:0 auto; transition:color .45s ease;}
#khp-hero .khp-lead b{color:var(--ink); font-weight:600;}
#khp-hero .khp-formwrap{max-width:460px; margin:20px auto 0;}
#khp-hero .khp-form{display:flex; align-items:center; background:var(--field-bg); border:1px solid var(--field-border); border-radius:999px; padding:5px 5px 5px 22px; box-shadow:0 12px 26px -20px rgba(20,20,18,0.5); transition:background .45s ease;}
#khp-hero .khp-form input{flex:1; min-width:0; border:none; outline:none; background:transparent; font-family:'Newsreader',serif; font-size:16.5px; color:var(--ink); padding:10px 0;}
#khp-hero .khp-form button{font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:13px; letter-spacing:.1em; text-transform:uppercase; color:var(--pill-fg); background:var(--pill-bg); border:none; border-radius:999px; padding:12px 24px; cursor:pointer; white-space:nowrap; transition:transform .15s ease,background .45s ease,color .45s ease;}
#khp-hero .khp-form button:hover{transform:scale(1.03);}
#khp-hero .khp-success{display:none; align-items:center; justify-content:center; gap:12px; background:var(--field-bg); border:1px solid var(--field-border); border-radius:999px; padding:13px 24px; font-family:'Bricolage Grotesque',sans-serif; font-weight:600; font-size:15px; color:var(--ink);}

#khp-hero .khp-meta{font-family:'Bricolage Grotesque',sans-serif; font-weight:600; font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--mut); margin:clamp(28px,4.5vh,44px) 0 16px; transition:color .45s ease;}
#khp-hero .khp-meta b{color:var(--accent); font-weight:700;}
#khp-hero .khp-title{font-family:'Poppins',sans-serif; font-weight:800; font-size:clamp(30px,4.4vw,54px); line-height:1.12; letter-spacing:-.02em; color:var(--ink); transition:color .45s ease;}
#khp-hero .khp-featured{display:none; margin:clamp(24px,4vh,38px) auto 0; max-width:860px;}
#khp-hero .khp-featured img{width:100%; height:auto; display:block; border-radius:16px; box-shadow:var(--card-shadow); aspect-ratio:16/9; object-fit:cover;}
#khp-hero .khp-divider{height:1px; background:var(--line); max-width:860px; margin:clamp(28px,4.5vh,44px) auto; transition:background .45s ease;}

/* ============ 7. CENTERED BODY + AD SIDEBARS ============ */
#khp-main{background:var(--bg); padding:0 clamp(16px,3vw,40px) clamp(40px,6vh,72px); transition:background .45s ease; overflow-x:clip;}
#khp-main .khp-layout{max-width:1400px; margin:0 auto; display:grid; grid-template-columns:minmax(170px,300px) minmax(0,760px) minmax(170px,300px); gap:clamp(24px,3vw,52px); justify-content:center; align-items:start;}
#khp-main .khp-ad{position:sticky; top:96px;}
#khp-main .khp-adbox{border:1.5px dashed var(--line); border-radius:14px; min-height:600px; display:flex; align-items:center; justify-content:center; padding:16px; transition:border-color .45s ease;}
#khp-main .khp-adlabel{font-family:'Bricolage Grotesque',sans-serif; font-weight:600; font-size:10px; letter-spacing:.18em; text-transform:uppercase; color:var(--mut); text-align:center; margin:0 0 10px; transition:color .45s ease;}
#khp-main .khp-adbox p{font-family:'Bricolage Grotesque',sans-serif; font-size:12px; color:var(--mut); text-align:center; margin:0;}

/* author bio card (right rail) */
#khp-main .khp-bio{position:sticky; top:96px;}
#khp-main .khp-biocard{background:var(--card-bg); border:1px solid var(--card-border); border-radius:18px; box-shadow:var(--card-shadow); padding:30px 24px 26px; text-align:center; font-family:'Newsreader',Georgia,serif; transition:background .45s ease;}
#khp-main .khp-bionote{font-family:'Caveat',cursive; font-weight:700; font-size:19px; color:var(--mut); transform:rotate(-2deg); display:block; margin-bottom:14px; transition:color .45s ease;}
#khp-main .khp-biophoto{position:relative; width:132px; margin:0 auto 16px;}
#khp-main .khp-biophoto::before{content:''; position:absolute; inset:-20px; border-radius:50%; background:radial-gradient(circle,rgba(139,90,43,0.16),transparent 70%);}
#khp-main .khp-biophoto img{position:relative; width:100%; height:auto; border-radius:50%; display:block; box-shadow:0 18px 36px -18px rgba(20,20,18,0.5);}
#khp-main .khp-bioheading{font-family:'Bricolage Grotesque',sans-serif; font-weight:800; font-size:19px; letter-spacing:-.01em; color:var(--ink); margin:0 0 10px; transition:color .45s ease;}
#khp-main .khp-biotext{font-size:14.5px; line-height:1.62; color:var(--sub); margin:0 0 18px; transition:color .45s ease;}
#khp-main .khp-biotext b{color:var(--ink); font-weight:600;}
#khp-main .khp-biokicker{font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:10.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--mut); border-top:1px solid var(--line); padding-top:16px; margin:0 0 12px; transition:color .45s ease,border-color .45s ease;}
#khp-main .khp-biobtn{display:block; font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:12.5px; letter-spacing:.09em; text-transform:uppercase; color:var(--pill-fg); background:var(--pill-bg); padding:13px 20px; border-radius:999px; transition:background .45s ease,color .45s ease,transform .15s ease;}
#khp-main .khp-biobtn:hover{transform:translateY(-2px);}
#khp-main .khp-bioghost{display:block; font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:12px; letter-spacing:.09em; text-transform:uppercase; color:var(--ink); border:1px solid var(--line); padding:11px 20px; border-radius:999px; margin-top:9px; transition:border-color .25s ease,transform .15s ease,color .45s ease;}
#khp-main .khp-bioghost:hover{border-color:var(--ink); transform:translateY(-2px);}
#khp-main .khp-biosocials{display:flex; justify-content:center; align-items:center; gap:9px; margin-top:18px;}
#khp-main .khp-biosocials a{width:34px; height:34px; border-radius:50%; border:1px solid var(--line); color:var(--ink); display:flex; align-items:center; justify-content:center; transition:border-color .25s ease,background .25s ease,color .25s ease,transform .15s ease;}
#khp-main .khp-biosocials a:hover{background:var(--pill-bg); color:var(--pill-fg); border-color:var(--pill-bg); transform:translateY(-2px);}
#khp-main .khp-biosocials svg{width:15px; height:15px; display:block;}
#khp-main .khp-biosig{font-family:'Caveat',cursive; font-weight:700; font-size:24px; color:var(--ink); transform:rotate(-3deg); display:inline-block; margin-top:16px; transition:color .45s ease;}

/* previous / next letter navigation */
#khp-main .khp-prevnext{display:none; max-width:760px; margin:clamp(36px,6vh,56px) auto 0; padding-top:clamp(22px,3.5vh,32px); border-top:1px solid var(--line); justify-content:space-between; gap:20px; transition:border-color .45s ease;}
#khp-main .khp-pn{display:none; flex-direction:column; gap:7px; max-width:47%; min-width:0; text-decoration:none; color:inherit;}
#khp-main .khp-pn.show{display:flex;}
#khp-main .khp-pn.khp-next{margin-left:auto; text-align:right; align-items:flex-end;}
#khp-main .khp-pnlabel{font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:11.5px; letter-spacing:.13em; text-transform:uppercase; color:var(--mut); transition:color .25s ease;}
#khp-main .khp-pntitle{font-family:'Bricolage Grotesque',sans-serif; font-weight:800; font-size:clamp(15.5px,1.35vw,18px); line-height:1.25; letter-spacing:-.01em; color:var(--ink); transition:color .45s ease; background-image:linear-gradient(var(--ink),var(--ink)); background-repeat:no-repeat; background-position:left bottom; background-size:0% 2px; transition:background-size .3s cubic-bezier(.4,0,.2,1),color .45s ease;}
#khp-main .khp-pn:hover .khp-pnlabel{color:var(--accent);}
#khp-main .khp-pn:hover .khp-pntitle{background-size:100% 2px;}
@media (max-width:640px){
  #khp-main .khp-prevnext{flex-direction:column; gap:22px;}
  #khp-main .khp-pn{max-width:100%;}
  #khp-main .khp-pn.khp-next{margin-left:0;}
}

/* article typography (applied to the post content automatically) */
.khp-article{font-family:'Newsreader',Georgia,serif !important; font-size:clamp(17.5px,1.35vw,19.5px); line-height:1.75; color:var(--sub); min-width:0; transition:color .45s ease;}
.khp-article p{margin:0 0 1.35em;}
.khp-article > p:first-of-type::first-letter,.khp-article > div > p:first-of-type::first-letter{font-family:'Poppins',sans-serif; font-weight:800; float:left; font-size:3.2em; line-height:.86; padding:.04em .12em 0 0; color:var(--ink);}
.khp-article h2,.khp-article h3,.khp-article h4{font-family:'Bricolage Grotesque',sans-serif; font-weight:800; letter-spacing:-.01em; color:var(--ink); line-height:1.2; margin:1.7em 0 .6em; transition:color .45s ease;}
.khp-article h2{font-size:1.55em;}
.khp-article h3{font-size:1.28em;}
.khp-article h4{font-size:1.1em;}
.khp-article a{color:var(--ink); text-decoration:underline; text-decoration-color:var(--accent); text-decoration-thickness:2px; text-underline-offset:3px; transition:color .25s ease;}
.khp-article a:hover{color:var(--accent);}
.khp-article strong,.khp-article b{color:var(--ink); font-weight:600;}
.khp-article blockquote{font-style:italic; font-size:1.12em; line-height:1.6; color:var(--ink); border-left:3px solid var(--accent); background:rgba(139,90,43,0.07); margin:1.8em 0; padding:18px 24px; border-radius:0 12px 12px 0;}
.khp-article blockquote p:last-child{margin-bottom:0;}
.khp-article img{max-width:100%; height:auto; border-radius:14px; box-shadow:var(--card-shadow); margin:1.6em 0;}
.khp-article ul,.khp-article ol{margin:0 0 1.35em; padding-left:1.3em;}
.khp-article li{margin-bottom:.5em;}
.khp-article li::marker{color:var(--accent);}
.khp-article hr{border:none; height:1px; background:var(--line); margin:2.2em auto; max-width:200px;}
.khp-article figure{margin:1.6em 0;}
.khp-article figcaption{font-family:'Bricolage Grotesque',sans-serif; font-size:12.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--mut); text-align:center; margin-top:-0.8em;}

/* ============ RESPONSIVE ============ */
@media (max-width:1200px){
  #khp-main .khp-layout{grid-template-columns:minmax(0,760px);}
  #khp-main .khp-ad{display:none;}
  #khp-main .khp-bio{position:static; width:100%; max-width:400px; margin:48px auto 0;}
}
@media (max-width:640px){
  #khp-hero .khp-form{padding-left:16px;}
  #khp-hero .khp-form input{font-size:15.5px;}
  #khp-hero .khp-form button{padding:11px 18px; font-size:12px;}
}
@media (max-width:400px){
  #khp-hero .khp-form{flex-direction:column; gap:9px; border-radius:22px; padding:12px;}
  #khp-hero .khp-form input{width:100%; text-align:center; padding:7px 0;}
  #khp-hero .khp-form button{width:100%;}
  #khp-hero .khp-title{font-size:clamp(26px,8.4vw,30px);}
}


/* ============================================================
   LETTERS.CSS
============================================================ */
body{transition:background .45s ease;}
body.khp-dark{background:#0f0f0e !important;}

#khar-archive{
  --bg:#f4f4f2; --ink:#131312; --sub:#3f3f3c; --mut:#757570;
  --line:rgba(20,20,18,0.16); --pill-bg:#111111; --pill-fg:#ffffff;
  --card-bg:#ffffff; --card-border:rgba(20,20,18,0.07);
  --card-shadow:0 26px 50px -30px rgba(20,20,18,0.45);
  --field-bg:#ffffff; --field-border:rgba(20,20,18,0.14);
  --ph-a:#e9e9e5; --ph-b:#dcdcd6; --accent:#8b5a2b;
  background:var(--bg); color:var(--ink);
  font-family:'Newsreader',Georgia,serif;
  padding:clamp(48px,7vh,84px) clamp(16px,5vw,72px) clamp(64px,10vh,110px);
  line-height:1.5; overflow-x:clip;
  -webkit-font-smoothing:antialiased;
  transition:background .45s ease,color .45s ease;
}
html,body{overflow-x:clip;}
body.khp-dark #khar-archive{
  --bg:#0f0f0e; --ink:#f2f2ef; --sub:#c9c9c2; --mut:#8f8f88;
  --line:rgba(242,242,239,0.16); --pill-bg:#f2f2ef; --pill-fg:#0f0f0e;
  --card-bg:#1a1a18; --card-border:rgba(242,242,239,0.10);
  --card-shadow:0 26px 50px -30px rgba(0,0,0,0.8);
  --field-bg:#1c1c1a; --field-border:rgba(242,242,239,0.20);
  --ph-a:#242422; --ph-b:#1c1c1a;
}
#khar-archive *,#khar-archive *::before,#khar-archive *::after{box-sizing:border-box;}
#khar-archive ::selection{background:#8b5a2b; color:#fdf9f3;}
#khar-archive h1,#khar-archive h3,#khar-archive p{margin:0;}
#khar-archive a{text-decoration:none; color:inherit;}
/* hide the theme's duplicate page title */

@keyframes kharDrawCircle{from{stroke-dashoffset:760;}to{stroke-dashoffset:0;}}
@keyframes kharFadeUp{from{opacity:0; transform:translateY(18px);}to{opacity:1; transform:translateY(0);}}
@keyframes kharShimmer{0%{opacity:.45;}50%{opacity:1;}100%{opacity:.45;}}

#khar-archive .khar-inner{max-width:1240px; margin:0 auto;}

/* ---------- TOP CTA ---------- */
#khar-archive input::placeholder{color:#9a9a94;}
#khar-archive .khar-cta{max-width:760px; margin:0 auto; text-align:center;}
#khar-archive .khar-ctaeyebrow{font-family:'Bricolage Grotesque',sans-serif; font-weight:600; font-size:12.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--ink); margin-bottom:14px; transition:color .45s ease;}
#khar-archive .khar-ctalead{font-size:clamp(15.5px,1.2vw,17.5px); line-height:1.55; color:var(--sub); max-width:36em; margin:0 auto; transition:color .45s ease;}
#khar-archive .khar-ctalead b{color:var(--ink); font-weight:600;}
#khar-archive .khar-formwrap{max-width:460px; margin:20px auto 0;}
#khar-archive .khar-form{display:flex; align-items:center; background:var(--field-bg); border:1px solid var(--field-border); border-radius:999px; padding:5px 5px 5px 22px; box-shadow:0 12px 26px -20px rgba(20,20,18,0.5); transition:background .45s ease;}
#khar-archive .khar-form input{flex:1; min-width:0; border:none; outline:none; background:transparent; font-family:'Newsreader',serif; font-size:16.5px; color:var(--ink); padding:10px 0;}
#khar-archive .khar-form button{font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:13px; letter-spacing:.1em; text-transform:uppercase; color:var(--pill-fg); background:var(--pill-bg); border:none; border-radius:999px; padding:12px 24px; cursor:pointer; white-space:nowrap; transition:transform .15s ease,background .45s ease,color .45s ease;}
#khar-archive .khar-form button:hover{transform:scale(1.03);}
#khar-archive .khar-success{display:none; align-items:center; justify-content:center; gap:12px; background:var(--field-bg); border:1px solid var(--field-border); border-radius:999px; padding:13px 24px; font-family:'Bricolage Grotesque',sans-serif; font-weight:600; font-size:15px; color:var(--ink);}
#khar-archive .khar-ctadivider{height:1px; background:var(--line); max-width:760px; margin:clamp(28px,4.5vh,44px) auto; transition:background .45s ease;}

/* ---------- HEADING ---------- */
#khar-archive .khar-eyebrow{font-family:'Bricolage Grotesque',sans-serif; font-weight:600; font-size:14px; letter-spacing:.16em; text-transform:uppercase; color:var(--ink); text-align:center; margin-bottom:22px; transition:color .45s ease;}
#khar-archive .khar-h1{font-family:'Poppins',sans-serif; font-weight:800; font-size:clamp(38px,5.6vw,72px); line-height:1.04; letter-spacing:-.02em; color:var(--ink); text-align:center; transition:color .45s ease;}
#khar-archive .khar-circlewrap{position:relative; white-space:nowrap; display:inline-block; color:var(--ink); background:rgba(139,90,43,0.16); padding:.04em .18em; border-radius:4px;}
#khar-archive .khar-circlewrap svg{position:absolute; left:-5%; top:-30%; width:110%; height:162%; overflow:visible; pointer-events:none;}
#khar-archive .khar-circlewrap ellipse{fill:none; stroke:var(--ink); stroke-width:2.4; stroke-linecap:round; stroke-dasharray:760; animation:kharDrawCircle 1.1s ease-out .3s both;}
#khar-archive .khar-tag{font-size:clamp(17px,1.5vw,21px); color:var(--sub); text-align:center; margin-top:16px; transition:color .45s ease;}
#khar-archive .khar-count{font-family:'Caveat',cursive; font-weight:600; font-size:clamp(19px,2vw,24px); color:var(--mut); text-align:center; margin-top:10px; transform:rotate(-1.5deg); transition:color .45s ease;}

/* ---------- GRID ---------- */
#khar-archive .khar-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(24px,3vw,44px) clamp(22px,2.6vw,38px); padding-top:clamp(40px,6vh,64px);}
#khar-archive.khar-loading .khar-grid{animation:kharShimmer 1.2s ease-in-out infinite;}

/* ---------- CARD ---------- */
#khar-archive .khar-card{display:flex; flex-direction:column; min-width:0;}
#khar-archive .khar-thumb{position:relative; display:block; border-radius:14px; overflow:hidden; border:1px solid var(--card-border); background:var(--card-bg); box-shadow:var(--card-shadow); aspect-ratio:16/10; transition:transform .3s ease,background .45s ease;}
#khar-archive .khar-thumb img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s ease;}
#khar-archive .khar-card:hover .khar-thumb{transform:translateY(-6px);}
#khar-archive .khar-card:hover .khar-thumb img{transform:scale(1.045);}
#khar-archive .khar-ph{position:absolute; inset:0; display:flex; align-items:center; justify-content:center; background:radial-gradient(circle at 30% 20%,var(--ph-a),var(--ph-b));}
#khar-archive .khar-ph span{font-family:'Caveat',cursive; font-weight:700; font-size:24px; color:var(--mut);}
#khar-archive .khar-date{font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:11px; letter-spacing:.13em; text-transform:uppercase; color:var(--mut); margin:20px 0 8px; transition:color .45s ease;}
#khar-archive .khar-date b{color:var(--accent); font-weight:700;}
#khar-archive .khar-title{font-family:'Bricolage Grotesque',sans-serif; font-weight:800; font-size:clamp(19px,1.6vw,23px); line-height:1.18; letter-spacing:-.01em; color:var(--ink); transition:color .45s ease;}
#khar-archive .khar-title a{background-image:linear-gradient(var(--ink),var(--ink)); background-repeat:no-repeat; background-position:left bottom; background-size:0% 2px; transition:background-size .3s cubic-bezier(.4,0,.2,1);}
#khar-archive .khar-card:hover .khar-title a{background-size:100% 2px;}
#khar-archive .khar-excerpt{font-size:16px; line-height:1.58; color:var(--sub); margin-top:10px; transition:color .45s ease; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;}
#khar-archive .khar-read{font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:13px; letter-spacing:.1em; text-transform:uppercase; color:var(--ink); margin-top:14px; display:inline-flex; align-items:center; gap:7px; transition:color .45s ease;}
#khar-archive .khar-read span{transition:transform .25s ease; display:inline-block;}
#khar-archive .khar-card:hover .khar-read span{transform:translateX(5px);}

/* ---------- LOAD MORE ---------- */
#khar-archive .khar-more{display:flex; justify-content:center; padding-top:clamp(40px,6vh,60px);}
#khar-archive .khar-btn{font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:14px; letter-spacing:.09em; text-transform:uppercase; color:var(--pill-fg); background:var(--pill-bg); border:none; cursor:pointer; padding:16px 34px; border-radius:999px; white-space:nowrap; transition:background .45s ease,color .45s ease,transform .15s ease;}
#khar-archive .khar-btn:hover{transform:translateY(-2px);}
#khar-archive .khar-btn[disabled]{opacity:.6; cursor:wait; transform:none;}
#khar-archive .khar-empty{font-style:italic; text-align:center; color:var(--mut); padding-top:40px;}

/* reveal */
#khar-archive .khar-reveal{opacity:0;}
#khar-archive .khar-reveal.in{animation:kharFadeUp .7s ease both;}

/* ---------- RESPONSIVE ---------- */
@media (max-width:1024px){
  #khar-archive .khar-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:640px){
  #khar-archive{padding-top:40px;}
  #khar-archive .khar-form{padding-left:16px;}
  #khar-archive .khar-form input{font-size:15.5px;}
  #khar-archive .khar-form button{padding:11px 18px; font-size:12px;}
  #khar-archive .khar-grid{grid-template-columns:1fr; gap:36px;}
  #khar-archive .khar-title{font-size:20px;}
  #khar-archive .khar-btn{width:100%;}
}
@media (max-width:400px){
  #khar-archive .khar-form{flex-direction:column; gap:9px; border-radius:22px; padding:12px;}
  #khar-archive .khar-form input{width:100%; text-align:center; padding:7px 0;}
  #khar-archive .khar-form button{width:100%;}
}

/* newer/older paging pair, and the ghost variant for "Newer Letters" */
#khar-archive .khar-more{gap:12px; flex-wrap:wrap;}
#khar-archive .khar-btn-ghost{background:transparent; color:var(--ink); border:1px solid var(--line);}
#khar-archive .khar-btn-ghost:hover{border-color:var(--ink);}
/* search pill on the results page */
#khar-archive .khar-searchwrap{max-width:520px; margin:26px auto 0;}
#khar-archive .khar-searchform{display:flex; align-items:center; background:var(--field-bg); border:1px solid var(--field-border); border-radius:999px; padding:5px 5px 5px 22px; box-shadow:0 14px 30px -22px rgba(20,20,18,0.5); transition:background .45s ease;}
#khar-archive .khar-searchform input{flex:1; min-width:0; border:none; outline:none; background:transparent; font-family:'Newsreader',serif; font-size:17px; color:var(--ink); padding:11px 0;}
#khar-archive .khar-searchform button{display:flex; align-items:center; gap:8px; font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:13px; letter-spacing:.1em; text-transform:uppercase; color:var(--pill-fg); background:var(--pill-bg); border:none; border-radius:999px; padding:13px 24px; cursor:pointer; white-space:nowrap; transition:transform .15s ease,background .45s ease,color .45s ease;}
#khar-archive .khar-searchform button:hover{transform:scale(1.03);}
#khar-archive .khar-searchform svg{width:15px; height:15px;}
@media (max-width:400px){
  #khar-archive .khar-searchform{flex-direction:column; gap:9px; border-radius:22px; padding:12px;}
  #khar-archive .khar-searchform input{width:100%; text-align:center;}
  #khar-archive .khar-searchform button{width:100%; justify-content:center;}
}

/* ---------- EVEN CARDS ----------
   With titles running from three words to fourteen, cards must share
   a rhythm: equal heights, titles capped at three lines, excerpt taking
   the slack, and every "Read Full Post" sitting on the same baseline. */
#khar-archive .khar-grid{align-items:stretch;}
#khar-archive .khar-card{height:100%;}
#khar-archive .khar-thumb{flex:none;}
#khar-archive .khar-title{
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical;
  overflow:hidden; min-height:calc(1.18em * 2);
}
#khar-archive .khar-excerpt{flex:1 1 auto;}
#khar-archive .khar-read{margin-top:auto; padding-top:14px; align-self:flex-start;}


/* ============================================================
   ABOUT.CSS
============================================================ */
body{transition:background .45s ease;}
body.khp-dark{background:#0f0f0e !important;}

#khab{
  --bg:#f4f4f2; --ink:#131312; --sub:#3f3f3c; --mut:#757570;
  --line:rgba(20,20,18,0.16); --pill-bg:#111111; --pill-fg:#ffffff;
  --field-bg:#ffffff; --field-border:rgba(20,20,18,0.14);
  --card-bg:#ffffff; --card-border:rgba(20,20,18,0.07);
  --card-shadow:0 26px 50px -30px rgba(20,20,18,0.45);
  --accent:#8b5a2b;
  background:var(--bg); color:var(--ink);
  font-family:'Newsreader',Georgia,serif; line-height:1.5;
  padding:clamp(44px,6vh,72px) clamp(16px,5vw,72px) clamp(64px,10vh,110px);
  overflow-x:clip; -webkit-font-smoothing:antialiased;
  transition:background .45s ease,color .45s ease;
  position:relative;
}
html,body{overflow-x:clip;}
body.khp-dark #khab{
  --bg:#0f0f0e; --ink:#f2f2ef; --sub:#c9c9c2; --mut:#8f8f88;
  --line:rgba(242,242,239,0.16); --pill-bg:#f2f2ef; --pill-fg:#0f0f0e;
  --field-bg:#1c1c1a; --field-border:rgba(242,242,239,0.20);
  --card-bg:#1a1a18; --card-border:rgba(242,242,239,0.10);
  --card-shadow:0 26px 50px -30px rgba(0,0,0,0.8);
}
#khab *,#khab *::before,#khab *::after{box-sizing:border-box;}
#khab ::selection{background:#8b5a2b; color:#fdf9f3;}
#khab h1,#khab h2,#khab h3,#khab p{margin:0;}
#khab a{text-decoration:none; color:inherit;}
#khab input::placeholder{color:#9a9a94;}

@keyframes khabDrawCircle{from{stroke-dashoffset:760;}to{stroke-dashoffset:0;}}
@keyframes khabFadeUp{from{opacity:0; transform:translateY(20px);}to{opacity:1; transform:translateY(0);}}
@keyframes khabFloat{0%,100%{transform:translateY(0) rotate(var(--rot,0deg));}50%{transform:translateY(-7px) rotate(var(--rot,0deg));}}

/* ghost watermark */
#khab .khab-ghost{position:absolute; top:2px; left:50%; transform:translateX(-50%); font-family:'Poppins',sans-serif; font-weight:800; font-size:clamp(110px,17vw,250px); line-height:1; letter-spacing:-.03em; color:var(--ink); opacity:.04; pointer-events:none; user-select:none; white-space:nowrap;}

#khab .khab-inner{max-width:980px; margin:0 auto; position:relative;}

/* ---------- HERO ---------- */
#khab .khab-hero{text-align:center;}
#khab .khab-eyebrow{font-family:'Bricolage Grotesque',sans-serif; font-weight:600; font-size:13px; letter-spacing:.16em; text-transform:uppercase; color:var(--ink); margin-bottom:20px; transition:color .45s ease;}
#khab .khab-h1{font-family:'Poppins',sans-serif; font-weight:800; font-size:clamp(40px,6vw,84px); line-height:1.04; letter-spacing:-.02em; color:var(--ink); transition:color .45s ease;}
#khab .khab-circlewrap{position:relative; white-space:nowrap; display:inline-block; color:var(--ink); background:rgba(139,90,43,0.16); padding:.04em .18em; border-radius:4px;}
#khab .khab-circlewrap svg{position:absolute; left:-5%; top:-30%; width:110%; height:162%; overflow:visible; pointer-events:none;}
#khab .khab-circlewrap ellipse{fill:none; stroke:var(--ink); stroke-width:2.4; stroke-linecap:round; stroke-dasharray:760; stroke-dashoffset:760;}
#khab .in .khab-circlewrap ellipse{animation:khabDrawCircle 1.1s ease-out .4s both;}
#khab .khab-heroscribble{font-family:'Caveat',cursive; font-weight:700; font-size:clamp(20px,2.2vw,26px); color:var(--mut); margin-top:14px; transform:rotate(-2deg); display:inline-block; transition:color .45s ease;}

/* ---------- PORTRAIT ---------- */
#khab .khab-portraitwrap{position:relative; width:min(340px,72vw); margin:clamp(40px,6vh,64px) auto 0;}
#khab .khab-portrait{position:relative;}
#khab .khab-portrait::before{content:''; position:absolute; inset:-11%; border-radius:50%; background:radial-gradient(circle,rgba(139,90,43,0.20),transparent 70%);}
#khab .khab-portrait img{position:relative; width:100%; height:auto; border-radius:50%; display:block; box-shadow:0 40px 80px -36px rgba(20,20,18,0.6);}
#khab .khab-tag{position:absolute; font-family:'Caveat',cursive; font-weight:700; font-size:clamp(17px,1.9vw,22px); color:var(--ink); white-space:nowrap; animation:khabFloat 5s ease-in-out infinite; transition:color .45s ease;}
#khab .khab-tag svg{display:block; width:34px; height:26px; overflow:visible; margin:2px auto 0;}
#khab .khab-tag path{fill:none; stroke:var(--ink); stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round;}
#khab .khab-tag.t1{left:-24%; top:8%; --rot:-6deg;}
#khab .khab-tag.t2{right:-27%; top:20%; --rot:5deg; animation-delay:.8s;}
#khab .khab-tag.t3{left:-30%; bottom:14%; --rot:-4deg; animation-delay:1.6s;}
#khab .khab-namecard{text-align:center; margin-top:22px;}
#khab .khab-name{font-family:'Bricolage Grotesque',sans-serif; font-weight:800; font-size:clamp(21px,2vw,26px); letter-spacing:.02em; color:var(--ink); transition:color .45s ease;}
#khab .khab-role{font-family:'Bricolage Grotesque',sans-serif; font-weight:600; font-size:12px; letter-spacing:.16em; text-transform:uppercase; color:var(--accent); margin-top:6px;}

/* ---------- STORY ---------- */
#khab .khab-story{max-width:680px; margin:clamp(48px,8vh,80px) auto 0; font-size:clamp(17.5px,1.35vw,20px); line-height:1.75; color:var(--sub); transition:color .45s ease;}
#khab .khab-story p{margin:0 0 1.4em;}
#khab .khab-story p:last-child{margin-bottom:0;}
#khab .khab-story b{color:var(--ink); font-weight:600;}
#khab .khab-story .khab-first::first-letter{font-family:'Poppins',sans-serif; font-weight:800; font-size:3.1em; line-height:.8; float:left; padding:.08em .12em 0 0; color:var(--ink);}
#khab .khab-quote{border-left:3px solid var(--accent); background:rgba(139,90,43,0.07); border-radius:0 12px 12px 0; padding:22px 26px; margin:2em 0; font-style:italic; font-size:1.06em; color:var(--ink); transition:color .45s ease;}

/* ---------- PILLARS ---------- */
#khab .khab-pillars{display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(16px,2vw,26px); margin-top:clamp(52px,8vh,84px);}
#khab .khab-pillar{background:var(--card-bg); border:1px solid var(--card-border); border-radius:16px; box-shadow:var(--card-shadow); padding:26px 24px; transition:background .45s ease,transform .3s ease;}
#khab .khab-pillar:hover{transform:translateY(-6px);}
#khab .khab-pillar .khab-pnum{font-family:'Caveat',cursive; font-weight:700; font-size:22px; color:var(--accent); display:block; margin-bottom:8px;}
#khab .khab-pillar h3{font-family:'Bricolage Grotesque',sans-serif; font-weight:800; font-size:18.5px; letter-spacing:-.01em; color:var(--ink); margin-bottom:8px; transition:color .45s ease;}
#khab .khab-pillar p{font-size:14.5px; line-height:1.6; color:var(--sub); transition:color .45s ease;}

/* ---------- MANIFESTO ---------- */
#khab .khab-manif{max-width:680px; margin:clamp(52px,8vh,84px) auto 0;}
#khab .khab-h2{font-family:'Poppins',sans-serif; font-weight:800; font-size:clamp(26px,3vw,40px); letter-spacing:-.015em; color:var(--ink); text-align:center; margin-bottom:clamp(24px,4vh,36px); transition:color .45s ease;}
#khab .khab-creed{list-style:none; margin:0; padding:0;}
#khab .khab-creed li{display:flex; gap:16px; align-items:baseline; font-size:clamp(17px,1.3vw,19.5px); line-height:1.6; color:var(--sub); padding:16px 4px; border-bottom:1px solid var(--line); transition:color .45s ease,border-color .45s ease;}
#khab .khab-creed li:last-child{border-bottom:none;}
#khab .khab-creed b{color:var(--ink); font-weight:600;}
#khab .khab-creed .khab-mark{font-family:'Bricolage Grotesque',sans-serif; font-weight:800; color:var(--accent); flex:none;}

/* ---------- CTA ---------- */
#khab .khab-cta{max-width:640px; margin:clamp(56px,9vh,92px) auto 0; text-align:center;}
#khab .khab-ctalead{font-size:clamp(16px,1.25vw,18px); line-height:1.6; color:var(--sub); max-width:34em; margin:14px auto 0; transition:color .45s ease;}
#khab .khab-ctalead b{color:var(--ink); font-weight:600;}
#khab .khab-formwrap{max-width:460px; margin:24px auto 0;}
#khab .khab-form{display:flex; align-items:center; background:var(--field-bg); border:1px solid var(--field-border); border-radius:999px; padding:5px 5px 5px 22px; box-shadow:0 12px 26px -20px rgba(20,20,18,0.5); transition:background .45s ease;}
#khab .khab-form input{flex:1; min-width:0; border:none; outline:none; background:transparent; font-family:'Newsreader',serif; font-size:16.5px; color:var(--ink); padding:10px 0;}
#khab .khab-form button{font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:13px; letter-spacing:.1em; text-transform:uppercase; color:var(--pill-fg); background:var(--pill-bg); border:none; border-radius:999px; padding:12px 24px; cursor:pointer; white-space:nowrap; transition:transform .15s ease,background .45s ease,color .45s ease;}
#khab .khab-form button:hover{transform:scale(1.03);}
#khab .khab-btnrow{display:flex; justify-content:center; gap:12px; flex-wrap:wrap; margin-top:22px;}
#khab .khab-btn{font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:13px; letter-spacing:.09em; text-transform:uppercase; color:var(--pill-fg); background:var(--pill-bg); padding:14px 26px; border-radius:999px; transition:background .45s ease,color .45s ease,transform .15s ease;}
#khab .khab-btn:hover{transform:translateY(-2px);}
#khab .khab-ghostbtn{font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:13px; letter-spacing:.09em; text-transform:uppercase; color:var(--ink); border:1px solid var(--line); padding:13px 26px; border-radius:999px; transition:border-color .25s ease,transform .15s ease,color .45s ease;}
#khab .khab-ghostbtn:hover{border-color:var(--ink); transform:translateY(-2px);}
#khab .khab-socials{display:flex; justify-content:center; align-items:center; gap:10px; margin-top:26px;}
#khab .khab-socials a{width:38px; height:38px; border-radius:50%; border:1px solid var(--line); color:var(--ink); display:flex; align-items:center; justify-content:center; transition:border-color .25s ease,background .25s ease,color .25s ease,transform .15s ease;}
#khab .khab-socials a:hover{background:var(--pill-bg); color:var(--pill-fg); border-color:var(--pill-bg); transform:translateY(-2px);}
#khab .khab-socials svg{width:16px; height:16px; display:block;}
#khab .khab-sig{font-family:'Caveat',cursive; font-weight:700; font-size:clamp(28px,3vw,36px); color:var(--ink); transform:rotate(-3deg); display:inline-block; margin-top:26px; transition:color .45s ease;}

/* reveal */
#khab .khab-reveal{opacity:0;}
#khab .khab-reveal.in{animation:khabFadeUp .75s ease both;}

/* ---------- RESPONSIVE ---------- */
@media (max-width:900px){
  #khab .khab-pillars{grid-template-columns:1fr; max-width:480px; margin-left:auto; margin-right:auto;}
}
@media (max-width:720px){
  #khab .khab-tag.t1{left:-6%; top:-11%;}
  #khab .khab-tag.t2{right:-4%; top:-14%;}
  #khab .khab-tag.t3{left:-2%; bottom:-9%;}
  #khab .khab-tag{font-size:16px;}
  #khab .khab-tag svg{width:26px; height:20px;}
}
@media (max-width:640px){
  #khab .khab-form{padding-left:16px;}
  #khab .khab-form input{font-size:15.5px;}
  #khab .khab-form button{padding:11px 18px; font-size:12px;}
}
@media (max-width:400px){
  #khab .khab-form{flex-direction:column; gap:9px; border-radius:22px; padding:12px;}
  #khab .khab-form input{width:100%; text-align:center; padding:7px 0;}
  #khab .khab-form button{width:100%;}
  #khab .khab-btnrow{flex-direction:column;}
}


/* ============================================================
   NOTFOUND.CSS
============================================================ */
body{transition:background .45s ease;}
body.khp-dark{background:#0f0f0e !important;}
/* hide the theme's own 404 content — this page replaces it */

body.error404 #kh404{display:block;}

#kh404{
  --bg:#f4f4f2; --ink:#131312; --sub:#3f3f3c; --mut:#757570;
  --line:rgba(20,20,18,0.16); --pill-bg:#111111; --pill-fg:#ffffff;
  --field-bg:#ffffff; --field-border:rgba(20,20,18,0.14);
  --card-bg:#ffffff; --card-border:rgba(20,20,18,0.07);
  --card-shadow:0 26px 50px -30px rgba(20,20,18,0.45);
  --accent:#8b5a2b;
  background:var(--bg); color:var(--ink);
  font-family:'Newsreader',Georgia,serif; line-height:1.5;
  padding:clamp(40px,6vh,64px) clamp(16px,5vw,72px) clamp(64px,10vh,110px);
  overflow-x:clip; -webkit-font-smoothing:antialiased;
  transition:background .45s ease,color .45s ease;
  position:relative;
}
html,body{overflow-x:clip;}
body.khp-dark #kh404{
  --bg:#0f0f0e; --ink:#f2f2ef; --sub:#c9c9c2; --mut:#8f8f88;
  --line:rgba(242,242,239,0.16); --pill-bg:#f2f2ef; --pill-fg:#0f0f0e;
  --field-bg:#1c1c1a; --field-border:rgba(242,242,239,0.20);
  --card-bg:#1a1a18; --card-border:rgba(242,242,239,0.10);
  --card-shadow:0 26px 50px -30px rgba(0,0,0,0.8);
}
#kh404 *,#kh404 *::before,#kh404 *::after{box-sizing:border-box;}
#kh404 ::selection{background:#8b5a2b; color:#fdf9f3;}
#kh404 h1,#kh404 h3,#kh404 p{margin:0;}
#kh404 a{text-decoration:none; color:inherit;}
#kh404 input::placeholder{color:#9a9a94;}

@keyframes kh404DrawCircle{from{stroke-dashoffset:760;}to{stroke-dashoffset:0;}}
@keyframes kh404FadeUp{from{opacity:0; transform:translateY(18px);}to{opacity:1; transform:translateY(0);}}
@keyframes kh404PulseDot{0%,100%{opacity:1;}50%{opacity:.32;}}

/* giant ghost 404 watermark */
#kh404 .kh404-ghost{position:absolute; top:6px; left:50%; transform:translateX(-50%); font-family:'Poppins',sans-serif; font-weight:800; font-size:clamp(160px,26vw,380px); line-height:1; letter-spacing:-.04em; color:var(--ink); opacity:.045; pointer-events:none; user-select:none; white-space:nowrap;}

#kh404 .kh404-inner{max-width:860px; margin:0 auto; text-align:center; position:relative;}

/* ---------- 1. CTA HERO ---------- */
#kh404 .kh404-eyebrow{font-family:'Bricolage Grotesque',sans-serif; font-weight:600; font-size:12.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--ink); margin-bottom:14px; transition:color .45s ease;}
#kh404 .kh404-lead{font-size:clamp(15.5px,1.2vw,17.5px); line-height:1.55; color:var(--sub); max-width:36em; margin:0 auto; transition:color .45s ease;}
#kh404 .kh404-lead b{color:var(--ink); font-weight:600;}
#kh404 .kh404-formwrap{max-width:460px; margin:20px auto 0;}
#kh404 .kh404-form{display:flex; align-items:center; background:var(--field-bg); border:1px solid var(--field-border); border-radius:999px; padding:5px 5px 5px 22px; box-shadow:0 12px 26px -20px rgba(20,20,18,0.5); transition:background .45s ease;}
#kh404 .kh404-form input{flex:1; min-width:0; border:none; outline:none; background:transparent; font-family:'Newsreader',serif; font-size:16.5px; color:var(--ink); padding:10px 0;}
#kh404 .kh404-form button{font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:13px; letter-spacing:.1em; text-transform:uppercase; color:var(--pill-fg); background:var(--pill-bg); border:none; border-radius:999px; padding:12px 24px; cursor:pointer; white-space:nowrap; transition:transform .15s ease,background .45s ease,color .45s ease;}
#kh404 .kh404-form button:hover{transform:scale(1.03);}
#kh404 .kh404-success{display:none; align-items:center; justify-content:center; gap:12px; background:var(--field-bg); border:1px solid var(--field-border); border-radius:999px; padding:13px 24px; font-family:'Bricolage Grotesque',sans-serif; font-weight:600; font-size:15px; color:var(--ink);}

/* ---------- 2. HEADLINE ---------- */
#kh404 .kh404-h1{font-family:'Poppins',sans-serif; font-weight:800; font-size:clamp(38px,5.6vw,72px); line-height:1.06; letter-spacing:-.02em; color:var(--ink); margin-top:clamp(36px,6vh,60px); transition:color .45s ease;}
#kh404 .kh404-h1 .kh404-dots{display:inline-block; animation:kh404PulseDot 1.8s ease-in-out infinite;}
#kh404 .kh404-circlewrap{position:relative; white-space:nowrap; display:inline-block; color:var(--ink); background:rgba(139,90,43,0.16); padding:.04em .18em; border-radius:4px;}
#kh404 .kh404-circlewrap svg{position:absolute; left:-5%; top:-30%; width:110%; height:162%; overflow:visible; pointer-events:none;}
#kh404 .kh404-circlewrap ellipse{fill:none; stroke:var(--ink); stroke-width:2.4; stroke-linecap:round; stroke-dasharray:760; stroke-dashoffset:760;}
#kh404 .in .kh404-circlewrap ellipse{animation:kh404DrawCircle 1.1s ease-out .4s both;}
#kh404 .kh404-sub{font-size:clamp(16px,1.35vw,19px); color:var(--sub); margin-top:16px; transition:color .45s ease;}
#kh404 .kh404-scribble{font-family:'Caveat',cursive; font-weight:700; font-size:clamp(19px,2vw,24px); color:var(--mut); margin-top:10px; transform:rotate(-2deg); display:inline-block; transition:color .45s ease;}

/* ---------- 3. SEARCH ---------- */
#kh404 .kh404-searchwrap{max-width:520px; margin:clamp(26px,4vh,38px) auto 0; position:relative;}
#kh404 .kh404-searchnote{font-family:'Caveat',cursive; font-weight:700; font-size:clamp(18px,1.9vw,22px); color:var(--ink); position:absolute; left:-16px; top:-38px; transform:rotate(-5deg); white-space:nowrap; transition:color .45s ease;}
#kh404 .kh404-searchnote svg{display:inline-block; vertical-align:middle; margin-left:6px; width:38px; height:26px; overflow:visible;}
#kh404 .kh404-searchnote path{fill:none; stroke:var(--ink); stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round;}
#kh404 .kh404-search{display:flex; align-items:center; background:var(--field-bg); border:1px solid var(--field-border); border-radius:999px; padding:5px 5px 5px 22px; box-shadow:0 14px 30px -22px rgba(20,20,18,0.5); transition:background .45s ease;}
#kh404 .kh404-search input{flex:1; min-width:0; border:none; outline:none; background:transparent; font-family:'Newsreader',serif; font-size:17px; color:var(--ink); padding:11px 0;}
#kh404 .kh404-search button{display:flex; align-items:center; gap:8px; font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:13px; letter-spacing:.1em; text-transform:uppercase; color:var(--pill-fg); background:var(--pill-bg); border:none; border-radius:999px; padding:13px 24px; cursor:pointer; white-space:nowrap; transition:transform .15s ease,background .45s ease,color .45s ease;}
#kh404 .kh404-search button:hover{transform:scale(1.03);}
#kh404 .kh404-search svg{width:15px; height:15px;}

/* ---------- 4. BIO CARD (center stage) ---------- */
#kh404 .kh404-bio{max-width:420px; margin:clamp(44px,7vh,70px) auto 0;}
#kh404 .kh404-biocard{background:var(--card-bg); border:1px solid var(--card-border); border-radius:18px; box-shadow:var(--card-shadow); padding:30px 26px 26px; transition:background .45s ease;}
#kh404 .kh404-bionote{font-family:'Caveat',cursive; font-weight:700; font-size:19px; color:var(--mut); transform:rotate(-2deg); display:block; margin-bottom:14px; transition:color .45s ease;}
#kh404 .kh404-biophoto{position:relative; width:132px; margin:0 auto 16px;}
#kh404 .kh404-biophoto::before{content:''; position:absolute; inset:-20px; border-radius:50%; background:radial-gradient(circle,rgba(139,90,43,0.16),transparent 70%);}
#kh404 .kh404-biophoto img{position:relative; width:100%; height:auto; border-radius:50%; display:block; box-shadow:0 18px 36px -18px rgba(20,20,18,0.5);}
#kh404 .kh404-bioheading{font-family:'Bricolage Grotesque',sans-serif; font-weight:800; font-size:19px; letter-spacing:-.01em; color:var(--ink); margin:0 0 10px; transition:color .45s ease;}
#kh404 .kh404-biotext{font-size:14.5px; line-height:1.62; color:var(--sub); margin:0 0 18px; transition:color .45s ease;}
#kh404 .kh404-biotext b{color:var(--ink); font-weight:600;}
#kh404 .kh404-biokicker{font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:10.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--mut); border-top:1px solid var(--line); padding-top:16px; margin:0 0 12px; transition:color .45s ease,border-color .45s ease;}
#kh404 .kh404-biobtn{display:block; font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:12.5px; letter-spacing:.09em; text-transform:uppercase; color:var(--pill-fg); background:var(--pill-bg); padding:13px 20px; border-radius:999px; transition:background .45s ease,color .45s ease,transform .15s ease;}
#kh404 .kh404-biobtn:hover{transform:translateY(-2px);}
#kh404 .kh404-bioghost{display:block; font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:12px; letter-spacing:.09em; text-transform:uppercase; color:var(--ink); border:1px solid var(--line); padding:11px 20px; border-radius:999px; margin-top:9px; transition:border-color .25s ease,transform .15s ease,color .45s ease;}
#kh404 .kh404-bioghost:hover{border-color:var(--ink); transform:translateY(-2px);}
#kh404 .kh404-biosocials{display:flex; justify-content:center; align-items:center; gap:9px; margin-top:18px;}
#kh404 .kh404-biosocials a{width:34px; height:34px; border-radius:50%; border:1px solid var(--line); color:var(--ink); display:flex; align-items:center; justify-content:center; transition:border-color .25s ease,background .25s ease,color .25s ease,transform .15s ease;}
#kh404 .kh404-biosocials a:hover{background:var(--pill-bg); color:var(--pill-fg); border-color:var(--pill-bg); transform:translateY(-2px);}
#kh404 .kh404-biosocials svg{width:15px; height:15px; display:block;}
#kh404 .kh404-biosig{font-family:'Caveat',cursive; font-weight:700; font-size:24px; color:var(--ink); transform:rotate(-3deg); display:inline-block; margin-top:16px; transition:color .45s ease;}

/* ---------- 5. LATEST LETTERS ---------- */
#kh404 .kh404-latest{display:block; max-width:520px; margin:clamp(40px,6vh,60px) auto 0; text-align:left;}
#kh404 .kh404-latesthead{font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:11.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--mut); text-align:center; margin:0 0 14px; transition:color .45s ease;}
#kh404 .kh404-latest a{display:flex; align-items:baseline; gap:10px; font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:15.5px; line-height:1.3; color:var(--ink); padding:12px 4px; border-bottom:1px solid var(--line); transition:color .45s ease,border-color .45s ease;}
#kh404 .kh404-latest a span{color:var(--accent); flex:none; transition:transform .25s ease; display:inline-block;}
#kh404 .kh404-latest a:hover span{transform:translateX(5px);}

/* reveal */
#kh404 .kh404-reveal{opacity:0;}
#kh404 .kh404-reveal.in{animation:kh404FadeUp .7s ease both;}

@media (prefers-reduced-motion: reduce){
  #kh404 .kh404-dots{animation:none;}
}

/* ---------- RESPONSIVE ---------- */
@media (max-width:640px){
  #kh404 .kh404-form,#kh404 .kh404-search{padding-left:16px;}
  #kh404 .kh404-form input,#kh404 .kh404-search input{font-size:15.5px;}
  #kh404 .kh404-form button,#kh404 .kh404-search button{padding:11px 18px; font-size:12px;}
  #kh404 .kh404-searchnote{left:2px; top:-36px; font-size:17px;}
}
@media (max-width:400px){
  #kh404 .kh404-h1{font-size:clamp(30px,9.4vw,38px);}
  #kh404 .kh404-form,#kh404 .kh404-search{flex-direction:column; gap:9px; border-radius:22px; padding:12px;}
  #kh404 .kh404-form input,#kh404 .kh404-search input{width:100%; text-align:center; padding:7px 0;}
  #kh404 .kh404-form button,#kh404 .kh404-search button{width:100%; justify-content:center;}
}
