
:root{--kp-paper:#f4f0e8;--kp-ink:#10243c;--kp-muted:#6d6a64;--kp-line:rgba(16,36,60,.15);--kp-space:#06101e}
.khe-project-page{background:var(--kp-paper);color:var(--kp-ink)}
.khe-project-page .site-main,.khe-project-page #main{padding:0;margin:0}
.khe-project-single{position:relative;overflow:hidden;background:linear-gradient(180deg,#06101e 0 58%,var(--kp-paper) 58% 100%);color:#fff}
.khe-project-shell{width:min(1160px,calc(100% - 44px));margin-inline:auto}
.khe-project-progress{position:fixed;left:0;right:0;top:0;height:4px;z-index:9999;background:rgba(255,255,255,.08)}
.khe-project-progress span{display:block;width:0;height:100%;background:var(--project-accent);box-shadow:0 0 18px var(--project-accent)}
.khe-project-space{position:absolute;inset:0 0 auto;height:1050px;pointer-events:none;background:radial-gradient(circle at 82% 16%,color-mix(in srgb,var(--project-accent) 22%,transparent),transparent 28%),radial-gradient(circle at 14% 28%,rgba(91,132,201,.16),transparent 25%),linear-gradient(180deg,#06101e,#081526 70%,transparent);overflow:hidden}
.khe-project-space:before,.khe-project-space:after{content:"";position:absolute;inset:0;background-image:radial-gradient(circle,rgba(255,255,255,.82) 0 1px,transparent 1.4px);background-size:78px 78px;opacity:.28}
.khe-project-space:after{background-size:137px 137px;background-position:36px 52px;opacity:.18}
.khe-project-space i{position:absolute;border:1px solid rgba(255,255,255,.12);border-radius:50%;animation:kp-orbit 18s linear infinite}
.khe-project-space i:nth-child(1){width:420px;height:420px;right:-100px;top:90px}.khe-project-space i:nth-child(2){width:630px;height:630px;right:-180px;top:-10px;animation-duration:26s}.khe-project-space i:nth-child(3){width:260px;height:260px;left:-90px;top:370px;animation-direction:reverse}.khe-project-space i:nth-child(4){width:10px;height:10px;right:21%;top:260px;background:var(--project-accent);box-shadow:0 0 28px var(--project-accent)}.khe-project-space i:nth-child(5){width:7px;height:7px;left:16%;top:180px;background:#fff;box-shadow:0 0 20px #fff}
@keyframes kp-orbit{to{transform:rotate(360deg)}}
.khe-project-hero{position:relative;padding:32px 0 92px;border-bottom:1px solid rgba(255,255,255,.1)}
.khe-project-back{display:inline-block;margin-bottom:44px;color:rgba(255,255,255,.78);font-size:.84rem;font-weight:800;text-decoration:none}
.khe-project-back:hover{color:#fff}
.khe-project-hero-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,390px);gap:72px;align-items:center}
.khe-project-eyebrow,.khe-project-section-label{font-size:.72rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase;color:var(--project-accent)}
.khe-project-heading h1{margin:10px 0 22px;font-size:clamp(3.8rem,8.5vw,7.6rem);line-height:.86;letter-spacing:-.065em;max-width:11ch;color:#fff}
.khe-project-intro{max-width:760px;color:rgba(255,255,255,.68);font-size:clamp(1.15rem,2vw,1.75rem);line-height:1.34}.khe-project-intro p{margin:0}
.khe-project-visual{position:relative;display:grid;place-items:center;min-height:390px}
.khe-project-media-frame{position:relative;width:min(100%,360px);aspect-ratio:4/3;display:grid;place-items:center;overflow:hidden;border-radius:30px;background:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.2);box-shadow:0 30px 80px rgba(0,0,0,.34),0 0 54px color-mix(in srgb,var(--project-accent) 20%,transparent);z-index:2;transition:transform .55s cubic-bezier(.16,1,.3,1)}
.khe-project-media-frame img{display:block;width:100%;height:100%;object-fit:contain;padding:22px;background:transparent}
.khe-project-visual:hover .khe-project-media-frame{transform:translateY(-8px) rotate(-1deg)}
.khe-project-orbit{position:absolute;width:410px;height:410px;border:1px solid rgba(255,255,255,.15);border-radius:50%;animation:kp-orbit 18s linear infinite}
.khe-project-orbit:before{content:"";position:absolute;width:14px;height:14px;border-radius:50%;background:var(--project-accent);top:12%;left:12%;box-shadow:0 0 24px var(--project-accent)}
.khe-project-visual>span{position:absolute;right:4px;bottom:20px;padding:9px 12px;border-radius:999px;background:rgba(4,10,18,.76);backdrop-filter:blur(12px);font-size:.65rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;z-index:3}
.khe-project-meta-grid{display:grid;grid-template-columns:1fr 1fr 1.7fr .7fr;gap:28px;margin-top:62px;padding-top:24px;border-top:1px solid rgba(255,255,255,.14)}
.khe-project-meta-grid span{display:block;margin-bottom:11px;font-size:.62rem;text-transform:uppercase;letter-spacing:.14em;color:rgba(255,255,255,.46)}
.khe-project-meta-grid strong{font-size:.9rem;line-height:1.4;color:#fff}
.khe-project-story{position:relative;padding:110px 0;background:var(--kp-paper);color:var(--kp-ink)}
.khe-project-story:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 88% 22%,color-mix(in srgb,var(--project-accent) 12%,transparent),transparent 24%);pointer-events:none}
.khe-project-story-heading{position:relative;display:grid;grid-template-columns:150px 1fr;gap:40px;align-items:start;margin-bottom:48px}.khe-project-story-heading h2{margin:0;max-width:900px;font-size:clamp(2.8rem,6vw,5.8rem);line-height:.9;letter-spacing:-.055em}
.khe-project-story-grid{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.khe-project-story-card{position:relative;min-height:360px;padding:30px;border:1px solid var(--kp-line);border-radius:26px;background:rgba(255,255,255,.54);overflow:hidden;transition:transform .35s ease,box-shadow .35s ease,background .35s ease}
.khe-project-story-card:before{content:"";position:absolute;width:170px;height:170px;right:-65px;top:-65px;border-radius:50%;background:color-mix(in srgb,var(--project-accent) 15%,transparent);filter:blur(8px)}
.khe-project-story-card:hover{transform:translateY(-9px);background:#fff;box-shadow:0 26px 60px rgba(16,36,60,.12)}
.khe-project-story-card>span{position:relative;font-size:.73rem;font-weight:900;letter-spacing:.14em}.khe-project-story-card h3{position:relative;margin:56px 0 20px;font-size:clamp(2rem,3.5vw,3.4rem);line-height:.92}.khe-project-story-card div{position:relative;color:var(--kp-muted);font-size:1rem;line-height:1.65}
.khe-project-video-section{padding:100px 0;background:#081526;color:#fff}.khe-project-section-head{display:grid;grid-template-columns:150px 1fr;gap:40px;align-items:start;margin-bottom:34px}.khe-project-section-head h2{margin:0;font-size:clamp(2.7rem,6vw,5.6rem);line-height:.9;letter-spacing:-.05em}.khe-project-video-frame{overflow:hidden;border-radius:26px;background:#02060b;box-shadow:0 30px 80px rgba(0,0,0,.32),0 0 46px color-mix(in srgb,var(--project-accent) 18%,transparent)}.khe-project-video-frame iframe,.khe-project-video-frame video,.khe-project-video-frame .wp-video{display:block;width:100%!important;aspect-ratio:16/9;height:auto}.khe-project-video-link{display:grid;place-items:center;min-height:360px;color:#fff;font-size:1.3rem;font-weight:800;text-decoration:none}.khe-project-caption{color:rgba(255,255,255,.6);font-size:.9rem}
.khe-project-content{padding:100px 0;background:var(--kp-paper);color:var(--kp-ink)}.khe-project-content-grid{display:grid;grid-template-columns:160px minmax(0,1fr);gap:54px;padding-top:54px;border-top:1px solid var(--kp-line)}.khe-project-rich-content{font-size:1.08rem;line-height:1.75}.khe-project-rich-content>*{max-width:820px}.khe-project-rich-content img,.khe-project-rich-content figure{max-width:100%;border-radius:22px}
.khe-project-next{padding:70px 0;background:#030812;color:#fff}.khe-project-next a{display:flex;justify-content:space-between;align-items:end;gap:30px;color:#fff;text-decoration:none}.khe-project-next span{font-size:.75rem;text-transform:uppercase;letter-spacing:.14em;color:rgba(255,255,255,.55)}.khe-project-next strong{font-size:clamp(2.4rem,6vw,5.6rem);line-height:.9;text-align:right}
.khe-project-reveal{opacity:0;transform:translateY(36px);transition:opacity .8s ease,transform .8s cubic-bezier(.16,1,.3,1)}.khe-project-reveal.is-visible{opacity:1;transform:none}
@media(max-width:980px){.khe-project-hero-layout{grid-template-columns:1fr}.khe-project-visual{min-height:330px}.khe-project-media-frame{width:min(100%,330px)}.khe-project-meta-grid{grid-template-columns:1fr 1fr}.khe-project-story-grid{grid-template-columns:1fr}.khe-project-story-card{min-height:0}.khe-project-story-heading,.khe-project-section-head,.khe-project-content-grid{grid-template-columns:1fr;gap:20px}}
@media(max-width:600px){.khe-project-shell{width:min(100% - 28px,1160px)}.khe-project-hero{padding-bottom:58px}.khe-project-heading h1{font-size:clamp(3rem,17vw,5.1rem)}.khe-project-meta-grid{grid-template-columns:1fr;gap:18px}.khe-project-visual{min-height:270px}.khe-project-media-frame{width:min(88vw,280px);border-radius:22px}.khe-project-orbit{width:300px;height:300px}.khe-project-story{padding:72px 0}.khe-project-next a{display:block}.khe-project-next strong{display:block;margin-top:18px;text-align:left}}
@media(prefers-reduced-motion:reduce){.khe-project-reveal{opacity:1;transform:none}.khe-project-space i,.khe-project-orbit{animation:none}}


/* v2.0.2 — project links and category tags */
.khe-project-tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px}
.khe-project-tags span{display:inline-flex;align-items:center;min-height:32px;padding:7px 12px;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:rgba(255,255,255,.07);backdrop-filter:blur(8px);color:rgba(255,255,255,.86);font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;transition:transform .25s ease,border-color .25s ease,background .25s ease}
.khe-project-tags span:hover{transform:translateY(-2px);border-color:var(--project-accent);background:color-mix(in srgb,var(--project-accent) 16%,rgba(255,255,255,.06))}
.khe-project-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.khe-project-action{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 18px;border-radius:999px;font-size:.82rem;font-weight:900;letter-spacing:.05em;text-decoration:none;transition:transform .28s ease,box-shadow .28s ease,background .28s ease,color .28s ease}
.khe-project-action:hover{transform:translateY(-4px)}
.khe-project-action--primary{background:var(--project-accent);color:#06101e;box-shadow:0 12px 30px color-mix(in srgb,var(--project-accent) 28%,transparent)}
.khe-project-action--primary:hover{box-shadow:0 18px 38px color-mix(in srgb,var(--project-accent) 42%,transparent)}
.khe-project-action--secondary{border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.06);color:#fff;backdrop-filter:blur(10px)}
.khe-project-action--secondary:hover{border-color:var(--project-accent);background:rgba(255,255,255,.11)}
@media(max-width:600px){.khe-project-actions{display:grid;grid-template-columns:1fr}.khe-project-action{width:100%}}


/* v2.1.43 — compact, long-copy-safe single project hero */
.khe-project-single{background:#06101e}
.khe-project-space{height:100%;min-height:1080px}
.khe-project-hero{padding:28px 0 54px}
.khe-project-back{margin-bottom:28px}
.khe-project-hero-layout{grid-template-columns:minmax(0,1fr) minmax(250px,340px);gap:clamp(34px,5vw,62px);align-items:start}
.khe-project-heading{min-width:0}
.khe-project-heading h1{margin:8px 0 16px;max-width:13ch;font-size:clamp(3rem,6vw,5.4rem);line-height:.92;letter-spacing:-.062em;text-wrap:balance;overflow-wrap:anywhere}
.khe-project-intro{max-width:680px;font-size:clamp(1rem,1.45vw,1.28rem);line-height:1.45;color:rgba(255,255,255,.77);overflow-wrap:anywhere}
.khe-project-tags{margin-top:18px;gap:8px}
.khe-project-tags span{min-height:29px;padding:6px 10px;font-size:.62rem}
.khe-project-actions{margin-top:18px;gap:10px}
.khe-project-action{min-height:42px;padding:10px 15px;font-size:.74rem}
.khe-project-visual{min-height:300px;padding-top:10px}
.khe-project-media-frame{width:min(100%,310px);border-radius:24px}
.khe-project-media-frame img{padding:18px}
.khe-project-orbit{width:350px;height:350px}
.khe-project-visual>span{right:0;bottom:8px;font-size:.58rem;padding:8px 10px}
.khe-project-meta-grid{position:relative;grid-template-columns:.85fr 1fr 1.65fr .62fr;gap:18px;margin-top:36px;padding:18px 20px;border:1px solid rgba(255,255,255,.13);border-radius:18px;background:linear-gradient(145deg,rgba(24,54,96,.76),rgba(7,18,36,.74));box-shadow:0 18px 44px rgba(0,0,0,.18);backdrop-filter:blur(12px)}
.khe-project-meta-grid span{margin-bottom:7px;font-size:.56rem;color:rgba(255,255,255,.58)}
.khe-project-meta-grid strong{display:block;font-size:.78rem;line-height:1.46;color:rgba(255,255,255,.95);overflow-wrap:anywhere}
@media(max-width:980px){
 .khe-project-hero{padding-bottom:46px}
 .khe-project-hero-layout{grid-template-columns:1fr;gap:24px}
 .khe-project-heading h1{max-width:15ch}
 .khe-project-visual{min-height:260px;padding-top:0}
 .khe-project-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:26px}
}
@media(max-width:600px){
 .khe-project-space{min-height:960px}
 .khe-project-hero{padding-top:22px;padding-bottom:34px}
 .khe-project-back{margin-bottom:20px}
 .khe-project-heading h1{font-size:clamp(2.55rem,13.5vw,4.25rem);line-height:.94;max-width:14ch}
 .khe-project-intro{font-size:1rem;line-height:1.48}
 .khe-project-tags{margin-top:15px}
 .khe-project-meta-grid{grid-template-columns:1fr;gap:13px;padding:16px;margin-top:22px}
 .khe-project-visual{min-height:235px}
 .khe-project-media-frame{width:min(82vw,270px)}
 .khe-project-orbit{width:290px;height:290px}
}

/* v2.1.44 — guaranteed contrast for next-case navigation across all project accents */
.khe-project-next{
  position:relative;
  isolation:isolate;
  padding:64px 0!important;
  background:linear-gradient(135deg,#07182d 0%,#0d2850 52%,#101935 100%)!important;
  border-top:1px solid rgba(220,236,255,.16)!important;
  overflow:hidden;
}
.khe-project-next::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  opacity:.42;
  background-image:
    radial-gradient(circle,rgba(255,255,255,.72) 0 1px,transparent 1.7px),
    radial-gradient(circle,color-mix(in srgb,var(--project-accent) 75%,#fff) 0 1.6px,transparent 2.2px),
    radial-gradient(circle,rgba(255,208,120,.72) 0 1.2px,transparent 1.8px);
  background-size:64px 64px,142px 142px,260px 260px;
  background-position:22px 24px,86px 50px,150px 118px;
}
.khe-project-next::after{
  content:"";
  position:absolute;
  width:600px;
  height:600px;
  right:-260px;
  top:-390px;
  z-index:-1;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.15);
  box-shadow:0 0 0 88px rgba(255,255,255,.025),0 0 0 176px rgba(255,255,255,.016);
}
.khe-project-next a{
  position:relative;
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  gap:30px!important;
  min-height:118px;
  padding:24px 28px!important;
  border-radius:24px;
  border:1px solid rgba(231,242,255,.18);
  background:linear-gradient(135deg,rgba(20,55,104,.82),rgba(7,20,42,.72))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 20px 50px rgba(0,0,0,.2);
  color:#fff!important;
  text-decoration:none!important;
  transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease,background .3s ease;
}
.khe-project-next a:hover{
  transform:translateY(-4px);
  border-color:color-mix(in srgb,var(--project-accent) 72%,#fff)!important;
  background:linear-gradient(135deg,rgba(28,68,124,.96),rgba(9,25,52,.9))!important;
  box-shadow:0 26px 58px rgba(0,0,0,.3),0 0 0 5px color-mix(in srgb,var(--project-accent) 15%,transparent);
}
.khe-project-next span{
  display:block!important;
  margin:0!important;
  color:rgba(233,244,255,.78)!important;
  font-size:.72rem!important;
  font-weight:900!important;
  line-height:1.35!important;
  letter-spacing:.16em!important;
  text-transform:uppercase!important;
}
.khe-project-next strong{
  display:block!important;
  margin:0!important;
  max-width:min(72%,920px);
  color:#fff!important;
  font-size:clamp(2rem,4.6vw,4.7rem)!important;
  font-weight:900!important;
  line-height:.92!important;
  letter-spacing:-.055em!important;
  text-align:right!important;
  text-shadow:0 2px 16px rgba(0,0,0,.22);
  overflow-wrap:anywhere;
}
@media(max-width:600px){
  .khe-project-next{padding:38px 0!important}
  .khe-project-next a{display:block!important;min-height:0;padding:22px!important}
  .khe-project-next strong{max-width:none;margin-top:16px!important;font-size:clamp(2rem,10vw,3.2rem)!important;text-align:left!important}
}
